Template:Numbered block/testcases

From Wikipedia, the free encyclopedia


Quadratic with <math>
{{Numbered block|:||45}}

{{Numbered block}}

(45)

{{Numbered block/sandbox}}

(45)
Showing the line
{{Numbered block|:||Eq. 7 |LnSty=3px dotted Gainsboro}}

{{Numbered block}}

(Eq. 7)

{{Numbered block/sandbox}}

(Eq. 7)
Showing the border
{{Numbered block|:||Eq. 7 |Border=1}}

{{Numbered block}}

(Eq. 7)

{{Numbered block/sandbox}}

(Eq. 7)
Deeply indented with chem2
{{Numbered block|::::|Eq. 24 |2=<span class="chemf nowrap">6 H<sub class="template-chem2-sub">2</sub>O + 6 CO<sub class="template-chem2-sub">2</sub>  →  C<sub class="template-chem2-sub">6</sub>H<sub class="template-chem2-sub">12</sub>O<sub class="template-chem2-sub">6</sub> + 6 O<sub class="template-chem2-sub">2</sub></span> |RawN=y}}

{{Numbered block}}

6 H2O + 6 CO2 → C6H12O6 + 6 O2 Eq. 24

{{Numbered block/sandbox}}

6 H2O + 6 CO2 → C6H12O6 + 6 O2

Eq. 24
Add a note
{{Numbered block|:|Eq. 24 |2=<span class="chemf nowrap">6 H<sub class="template-chem2-sub">2</sub>O + 6 CO<sub class="template-chem2-sub">2</sub>  →  C<sub class="template-chem2-sub">6</sub>H<sub class="template-chem2-sub">12</sub>O<sub class="template-chem2-sub">6</sub> + 6 O<sub class="template-chem2-sub">2</sub></span> |RawN=y |note=Photosynthesis}}

{{Numbered block}}

6 H2O + 6 CO2 → C6H12O6 + 6 O2 Eq. 24

{{Numbered block/sandbox}}

6 H2O + 6 CO2 → C6H12O6 + 6 O2

Eq. 24

List formatting[edit]

Test case 1[edit]

{{bulleted list
|1=<div style="line-height: 0.8; display: block; border: 1px solid Lime;">{{Numbered block|Border=.||<math>f(x) = a x + b</math>|77}}</div>
|2=<div style="line-height: 0.8; display: inline-table; border: 1px solid Lime;">{{Numbered block|Border=.||<math>f(x) = a x + b</math>|37}}</div>
}}

{{Numbered block}}[edit]

  • (77)
  • (37)

{{Numbered block/sandbox}}[edit]

  • (77)
  • (37)

Test case 2[edit]

{{bulleted list
|1=<div style="line-height: 0.8; display: block; border: 1px solid Lime;">{{Numbered block|Border=.|:|<math>f(x) = a x + b</math>|77}}</div>
|2=<div style="line-height: 0.8; display: inline-table; border: 1px solid Lime;">{{Numbered block|Border=.|:|<math>f(x) = a x + b</math>|37}}</div>
}}

{{Numbered block}}[edit]

  • (77)
  • (37)

{{Numbered block/sandbox}}[edit]

  • (77)
  • (37)

Test case 3[edit]

[[File:Westminstpalace.jpg|thumb|50px|left|Figure 1]]
{{bulleted list
|1=<div style="overflow: hidden;"><div style="display: inline-block; vertical-align: middle; width: 100%;">{{Numbered block||<math>7x+2y-9z=10</math>|A}}</div></div>
|2=<div style="overflow: hidden;"><div style="display: inline-block; vertical-align: middle; width: 100%;">{{Numbered block||<math>3x+3y+5z=-6</math>|B}}</div></div>
}}
[[File:Westminstpalace.jpg|thumb|50px|right|Figure 2]]
{{bulleted list
|1=<div style="overflow: hidden;"><div style="display: inline-block; vertical-align: middle; width: 100%;">{{Numbered block||<math>x+4y+5z=7</math>|C}}</div></div>
|2=<div style="overflow: hidden;"><div style="display: inline-block; vertical-align: middle; width: 100%;">{{Numbered block||<math>2x+5y+6z=-8</math>|D}}</div></div>
|3=<div style="overflow: hidden;"><div style="display: inline-block; vertical-align: middle; width: 100%;">{{Numbered block||<math>3x+6y+5z=-6</math>|E}}</div></div>
|4=<div style="overflow: hidden;"><div style="display: inline-block; vertical-align: middle; width: 100%;">{{Numbered block||<math>4x+7y+5z=-6</math>|F}}</div></div>
}}
[[File:Westminstpalace.jpg|thumb|50px|left|Figure 3]]
[[File:Westminstpalace.jpg|thumb|50px|right|Figure 4]]
{{bulleted list
|1=<div style="overflow: hidden;"><div style="display: inline-block; vertical-align: middle; width: 100%;">{{Numbered block||<math>5x+8y+5z=-6</math>|G}}</div></div>
|2=<div style="overflow: hidden;"><div style="display: inline-block; vertical-align: middle; width: 100%;">{{Numbered block||<math>6x+9y+5z=-6</math>|H}}</div></div>
}}

{{Numbered block}}[edit]

Figure 1
  • (A)
  • (B)
Figure 2
  • (C)
  • (D)
  • (E)
  • (F)
Figure 3
Figure 4
  • (G)
  • (H)

{{Numbered block/sandbox}}[edit]

Figure 1
  • (A)
  • (B)
Figure 2
  • (C)
  • (D)
  • (E)
  • (F)
Figure 3
Figure 4
  • (G)
  • (H)