Template:Infobox state: Difference between revisions

No edit summary
m (clean up)
 
(4 intermediate revisions by 3 users not shown)
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      =
{{#if: {{{name|}}}|
|caption2    =  
{{pipe}}-
 
!style="text-align:right;"{{pipe}}Name:
|headerstyle  =
{{pipe}}{{{name|}}}|
|labelstyle  =
{{pipe}}-
|datastyle    =
}}
 
{{#if: {{{mayor|}}}|
|header1  =
{{pipe}}-
|label1  = Appearance(s):
!style="text-align:right;"{{pipe}}Governor:
|data1    = {{#if:{{{games|}}}|{{{games|}}}|}}
{{pipe}}{{{governor|}}}|
|header2  =
{{pipe}}-
|label2  = Name:
}}
|data2    = {{#if:{{{name|}}}|{{{name|}}}|}}
{{#if: {{{pop|}}}|
|header3  =
{{pipe}}-
|label3  = Capital:
!style="text-align:right;"{{pipe}}Population:
|data3    = {{#if:{{{capital|}}}|{{{capital|}}}|}}
{{pipe}}{{{pop|}}}|
|header4  =
{{pipe}}-
|label4  = Governor:
}}
|data4    = {{#if:{{{governor|}}}|{{{governor|}}}|}}
{{#if: {{{size|}}}|
|header5  =
{{pipe}}-
|label5  = Population:
!style="text-align:right;"{{pipe}}Size:
|data5    = {{#if:{{{pop|}}}|{{{pop|}}}|}}
{{pipe}}{{{size|}}}|
|header6  =
{{pipe}}-
|label6  = Size:
}}
|data6    = {{#if:{{{size|}}}|{{{size|}}}|}}
{{#if: {{{established|}}}|
|header7  =
{{pipe}}-
|label7  = Established:
!style="text-align:right;"{{pipe}}Established:
|data7    = {{#if:{{{established|}}}|{{{established|}}}|}}
{{pipe}}{{{established|}}}|
|header8  =
{{pipe}}-
|label8  = Motto:
|data8    = {{#if:{{{motto|}}}|{{{motto|}}}|}}
|header9  =
 
|belowstyle =
|below =
}}
}}
{{#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 =  
|name =  
|name =  
|capital =
|governor =
|governor =
|pop =
|pop =
Line 61: Line 61:
|established =
|established =
|motto =
|motto =
}}</pre>
}}
[[category:infoboxes]]
</pre>
[[Category:Templates|{{PAGENAME}}]]</noinclude>
[[Category:Infobox Templates]]
</noinclude>

Latest revision as of 20:25, 2 August 2011

STATE
Infobox state
ADVERTISEMENT


The following code produces the fake infobox shown on the right:

{{infobox state|
|image =
|games = 
|name = 
|capital =
|governor =
|pop =
|size =
|established =
|motto =
}}