Template:Infobox city: Difference between revisions
No edit summary |
No edit summary |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Infobox | {{Infobox | ||
|bodystyle = | |bodystyle = | ||
|title = | |title = | ||
|titlestyle = | |titlestyle = | ||
|above = <small>CITY</small><br /> <span class="fn" style="font-size:18px;">{{{name|{{PAGENAME}} | |above = <small>CITY</small><br /> <span class="fn" style="font-size:18px;">{{#if:{{{name|}}}|{{{name}}}|<includeonly>{{PAGENAME}}</includeonly>}}</span> | ||
|abovestyle = | |abovestyle = text-align:center; | ||
|imagestyle = | |imagestyle = | ||
|captionstyle = | |captionstyle = | ||
Line 15: | Line 15: | ||
|labelstyle = text-align:right; | |labelstyle = text-align:right; | ||
|datastyle = | |datastyle = | ||
|header1 | |header1 = | ||
|label1 | |label1 = Official name: | ||
|data1 | |data1 = {{#if: {{{official name|}}}|{{{official name|}}}|}} | ||
|header2 | |header2 = | ||
|label2 | |label2 = Appearance(s): | ||
|data2 | |data2 = {{#if: {{{games|}}}|{{{games|}}}|}} | ||
|header3 | |header3 = | ||
|label3 | |label3 = Country: | ||
|data3 | |data3 = {{#if: {{{country|}}}|{{{country|}}}|}} | ||
|header4 | |header4 = | ||
|label4 | |label4 = State: | ||
|data4 | |data4 = {{#if: {{{state|}}}|{{{state|}}}|}} | ||
|header5 | |header5 = | ||
|label5 | |label5 = Established: | ||
|data5 | |data5 = {{#if: {{{established|}}}|{{{established|}}}|}} | ||
|header6 | |header6 = | ||
|label6 | |label6 = Size: | ||
|data6 | |data6 = {{#if: {{{size|}}}|{{{size|}}}|}} | ||
|header7 | |header7 = | ||
|label7 = Area code (s) | |label7 = Mayor: | ||
| | |data7 = {{#if: {{{mayor|}}}|{{{mayor|}}}|}} | ||
|header8 = | |||
|label8 = Population: | |||
|data8 = {{#if: {{{pop|}}}|{{{pop|}}}|}} | |||
|header9 = | |||
|label9 = Motto: | |||
|data9 = {{#if: {{{motto)|}}}|{{{motto|}}}|}} | |||
|header10 = | |||
|label10 = Area code (s) | |||
|data10 = {{#if: {{{area code (s)|}}}|{{{area code (s)|}}}|}} | |||
}} | }} | ||
<noinclude> | <noinclude> | ||
Line 41: | Line 50: | ||
<pre style="overflow:auto;"> | <pre style="overflow:auto;"> | ||
{{infobox city| | {{infobox city| | ||
|image = | |image = | ||
|official name = | |||
|games = | |games = | ||
|country = | |||
|state = | |||
|established = | |||
|size = | |||
|name = | |name = | ||
|mayor = | |mayor = | ||
|pop = | |pop = | ||
| | |motto = | ||
|area code (s) = | |area code (s) = | ||
}} | }} | ||
</pre> | </pre> | ||
[[Category:Infobox Templates]] | |||
[[Category:Templates | </noinclude> |
Latest revision as of 01:18, 3 November 2011
CITY | |
---|---|
ADVERTISEMENT | |
|
The following code produces the fake infobox shown on the right:
{{infobox city| |image = |official name = |games = |country = |state = |established = |size = |name = |mayor = |pop = |motto = |area code (s) = }}