Template:Infobox: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Chris Day
No edit summary
imported>Chris Day
No edit summary
Line 60: Line 60:
{{Infobox
{{Infobox
| title  = This is the title
| title  = This is the title
| 1_label = This is a Header
| 1_label = 1 A Header
| 1_data  = ---
| 1_data  = ---
| 2_label = This is a Label
| 2_label = 2 A Label
| 2_data  = This is some Data
| 2_data  = 2 Some Data
| 3_label = This is another Label
| 3_label = 3 Another Label
| 3_data  = This is some more Data
| 3_data  = 3 Some more Data
| 4_label = This is a Header
| 4_label = 4 A Header
| 4_data  = ---
| 4_data  = ---
| 5_label = This is a Label
| 5_label = 5 A Label only
| 5_data = This is some Data
| 6_data  = 6 Some data only that expands across both columns
| 6_label = This is another Label
| 8_label = 8 A Header
| 6_data = This is some more Data
| 8_labelstyle=background:lightgrey
| 8_data  = ---
| 9_label = 9 A Label
| 9_labelstyle=background:lightblue
| 9_data  = 9 Some Data
| 10_label = 10 Another Label
| 10_data = 10 Some more Data
| 10_datastyle=background:lightgreen
| 11_label = 11 Another Label
| 11_labelstyle=background:lightblue
| 11_data = 11 Some more Data
| 11_datastyle=background:lightgreen
| 12_label = 12 A Header
| 12_data  = ---
| 13_label = 13 A Label only
| 14_data  = 14 Some data only that expands across both columns
| 14_datastyle=background:lightgreen;font-style:italic;font-style:bold;border: 1px solid red
}}
}}
This text is below the infobox code.
This text is below the infobox code.
<big>'''Code for infobox'''</big>
<pre>
{{Infobox
| title  = This is the title
| 1_label = 1 A Header
| 1_data  = ---
| 2_label = 2 A Label
| 2_data  = 2 Some Data
| 3_label = 3 Another Label
| 3_data  = 3 Some more Data
| 4_label = 4 A Header
| 4_data  = ---
| 5_label = 5 A Label only
| 6_data  = 6 Some data only that expands across both columns
| 8_label = 8 A Header
| 8_labelstyle=background:lightgrey
| 8_data  = ---
| 9_label = 9 A Label
| 9_labelstyle=background:lightblue
| 9_data  = 9 Some Data
| 10_label = 10 Another Label
| 10_data  = 10 Some more Data
| 10_datastyle=background:lightgreen
| 11_label = 11 Another Label
| 11_labelstyle=background:lightblue
| 11_data  = 11 Some more Data
| 11_datastyle=background:lightgreen
| 12_label = 12 A Header
| 12_data  = ---
| 13_label = 13 A Label only
| 14_data  = 14 Some data only that expands across both columns
| 14_datastyle=background:lightgreen; font-style:italic; border: 1px solid red
}}
</pre>
</noinclude>
</noinclude>

Revision as of 15:52, 24 April 2009


This text is above the infobox code.

This is the title
1 A Header
2 A Label 2 Some Data
3 Another Label 3 Some more Data
4 A Header
6 Some data only that expands across both columns
8 A Header
9 A Label 9 Some Data
10 Another Label 10 Some more Data
11 Another Label 11 Some more Data
12 A Header
14 Some data only that expands across both columns

This text is below the infobox code.

Code for infobox

{{Infobox
| title   = This is the title
| 1_label = 1 A Header
| 1_data  = ---
| 2_label = 2 A Label
| 2_data  = 2 Some Data
| 3_label = 3 Another Label
| 3_data  = 3 Some more Data
| 4_label = 4 A Header
| 4_data  = ---
| 5_label = 5 A Label only
| 6_data  = 6 Some data only that expands across both columns
| 8_label = 8 A Header
| 8_labelstyle=background:lightgrey
| 8_data  = ---
| 9_label = 9 A Label
| 9_labelstyle=background:lightblue
| 9_data  = 9 Some Data
| 10_label = 10 Another Label
| 10_data  = 10 Some more Data
| 10_datastyle=background:lightgreen
| 11_label = 11 Another Label
| 11_labelstyle=background:lightblue
| 11_data  = 11 Some more Data
| 11_datastyle=background:lightgreen
| 12_label = 12 A Header
| 12_data  = ---
| 13_label = 13 A Label only
| 14_data  = 14 Some data only that expands across both columns
| 14_datastyle=background:lightgreen; font-style:italic; border: 1px solid red
}}