Jump to content

Template:Infobox state: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 1: Line 1:
{| class="infobox" style="width:22em; font-size:90%; text-align:left; border-color:#000000; background-color: #FFFFFF;" cellspacing="2"
{{Infobox
{{pipe}}- style="margin:0;"
|bodystyle    = width:22em; font-size:90%; text-align:left; border-color:#000000; background-color: #FFFFFF;
!colspan="2" style="text-align: center;"{{pipe}}<small>STATE</small><br /><span class="fn" style="font-size:18px;">{{{name|{{PAGENAME}}}}}</span>
|title        =  
{{#if:{{{image|}}}|{{pipe}}-
|titlestyle  =  
{{pipe}} colspan="2" align="center"{{pipe}}{{{image}}}{{#if:{{{caption|}}}|<div style="line-height:1.25em;">{{{caption}}}</div>|}}|}}
|above        = <small>STATE</small><br /><span class="fn" style="font-size:18px;">{{{name|{{PAGENAME}}}}}</span>
{{pipe}}- valign="top"
|abovestyle  = text-align: center;
!
 
{{#if: {{{games|}}}|
|imagestyle  =
{{pipe}}-
|captionstyle =
!style="text-align:right;"{{pipe}}Appearance(s):
 
{{pipe}}{{{games|}}}|
|image        = {{#if:{{{image|}}}|{{{image}}}{{#if:{{{caption|}}}|<div style="line-height:1.25em;">{{{caption}}}</div>|}}|}}
{{pipe}}-
|caption      =
|image2      =
|caption2    =
 
|headerstyle  =
|labelstyle  =
|datastyle    =
 
|header1  =
|label1  = Appearance(s):
|data1    = {{#if:{{{games|}}}|{{{games|}}}|}}
|header2  =
|label2  = Name:
|data2    = {{#if:{{{name|}}}|{{{name|}}}|}}
|header3  =
|label3  = Capital:
|data3    = {{#if:{{{capital|}}}|{{{capital|}}}|}}
|header4  =  
|label4  = Governor:
|data4    = {{#if:{{{governor|}}}|{{{governor|}}}|}}
|header5  =
|label5  = Population:
|data5    = {{#if:{{{pop|}}}|{{{pop|}}}|}}
|header6  =
|label6  = Size:
|data6    = {{#if:{{{size|}}}|{{{size|}}}|}}
|header7  =
|label7  = Established:
|data7    = {{#if:{{{established|}}}|{{{established|}}}|}}
|header8  =
|label8  = Motto:
|data8    = {{#if:{{{motto|}}}|{{{motto|}}}|}}
|header9  =
 
|belowstyle =
|below =
}}
}}
{{#if: {{{name|}}}|
{{pipe}}-
!style="text-align:right;"{{pipe}}Name:
{{pipe}}{{{name|}}}|
{{pipe}}-
}}
{{#if: {{{capital|}}}|
{{pipe}}-
!style="text-align:right;"{{pipe}}Capital:
{{pipe}}{{{capital|}}}|
{{pipe}}-
}}
{{#if: {{{governor|}}}|
{{pipe}}-
!style="text-align:right;"{{pipe}}Governor:
{{pipe}}{{{governor|}}}|
{{pipe}}-
}}
{{#if: {{{pop|}}}|
{{pipe}}-
!style="text-align:right;"{{pipe}}Population:
{{pipe}}{{{pop|}}}|
{{pipe}}-
}}
{{#if: {{{size|}}}|
{{pipe}}-
!style="text-align:right;"{{pipe}}Size:
{{pipe}}{{{size|}}}|
{{pipe}}-
}}
{{#if: {{{established|}}}|
{{pipe}}-
!style="text-align:right;"{{pipe}}Established:
{{pipe}}{{{established|}}}|
{{pipe}}-
}}
{{#if: {{{motto|}}}|
{{pipe}}-
!style="text-align:right;"{{pipe}}Motto:
{{pipe}}{{{motto|}}}|
{{pipe}}-
}}
|}


<noinclude>
<noinclude>
The following code produces the fake infobox shown on the right:
The following code produces the fake infobox shown on the right:
<pre>{{infobox state|
<pre style="overflow:auto;">
{{infobox state|
|image =
|image =
|games =  
|games =  
Line 68: Line 61:
|established =
|established =
|motto =
|motto =
}}</pre>
}}
</pre>
[[category:infoboxes]]
[[category:infoboxes]]
[[Category:Templates|{{PAGENAME}}]]</noinclude>
[[Category:Templates|{{PAGENAME}}]]</noinclude>
79

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.