From WikiChip
Difference between revisions of "Template:Infobox"
(initial attempt at an infobox) |
(fixed arguments) |
||
Line 4: | Line 4: | ||
| style="padding:2px;" colspan="2" | <div style="margin:3px;margin-left: -8px;background:{{#if: {{{title_color}}}|#E6E6B8|{{{title_color}}}}}; font-size:120%; font-weight:bold; border:1px solid #afa3bf; text-align: center; color:#000; padding:0.2em 0.4em;">{{{name}}}</div> | | style="padding:2px;" colspan="2" | <div style="margin:3px;margin-left: -8px;background:{{#if: {{{title_color}}}|#E6E6B8|{{{title_color}}}}}; font-size:120%; font-weight:bold; border:1px solid #afa3bf; text-align: center; color:#000; padding:0.2em 0.4em;">{{{name}}}</div> | ||
|- | |- | ||
− | | {{#if: {{{header1}}} | + | | {{#if: {{{header1}}}|colspan="2" style="text-align: center; border-top: 1px solid #999966;"|}} | {{#if: {{{header1}}}|'''{{{header1}}}'''|}} |
|- | |- | ||
− | | {{#if: {{{label1}}} | + | | {{#if: {{{label1}}}|'''{{{label1}}}'''|}} || {{#if: {{{data1}}}||'''{{{data1}}}'''}} |
|- | |- | ||
− | | {{#if: {{{header2}}} | + | | {{#if: {{{header2}}}|colspan="2" style="text-align: center; border-top: 1px solid #999966;"|}} | {{#if: {{{header2}}}|'''{{{header2}}}'''|}} |
|- | |- | ||
− | | {{#if: {{{label2}}} | + | | {{#if: {{{label2}}}|'''{{{label2}}}'''|}} || {{#if: {{{data2}}}|'''{{{data2}}}'''|}} |
|} | |} | ||
|} | |} |
Revision as of 02:04, 3 December 2013
|