Template:Infobox city: Difference between revisions
No edit summary |
No edit summary |
||
(17 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
{| | {{Infobox | ||
|bodystyle = | |||
|title = | |||
{{#if:{{{image|}}}| | |titlestyle = | ||
|above = <small>CITY</small><br /> <span class="fn" style="font-size:18px;">{{#if:{{{name|}}}|{{{name}}}|<includeonly>{{PAGENAME}}</includeonly>}}</span> | |||
{{ | |abovestyle = text-align:center; | ||
|imagestyle = | |||
{{#if: {{{games|}}}| | |captionstyle = | ||
{{ | |motto = | ||
|image = {{#if:{{{image|}}}|{{{image}}}{{#if:{{{caption|}}}|<div style="line-height:1.25em;">{{{caption}}}</div>|}}|}} | |||
{{ | |caption = | ||
{{ | |image2 = | ||
|caption2 = | |||
|headerstyle = | |||
|labelstyle = text-align:right; | |||
|datastyle = | |||
|header1 = | |||
|label1 = Official name: | |||
|data1 = {{#if: {{{official name|}}}|{{{official name|}}}|}} | |||
|header2 = | |||
|label2 = Appearance(s): | |||
|data2 = {{#if: {{{games|}}}|{{{games|}}}|}} | |||
|header3 = | |||
|label3 = Country: | |||
|data3 = {{#if: {{{country|}}}|{{{country|}}}|}} | |||
|header4 = | |||
|label4 = State: | |||
|data4 = {{#if: {{{state|}}}|{{{state|}}}|}} | |||
|header5 = | |||
|label5 = Established: | |||
|data5 = {{#if: {{{established|}}}|{{{established|}}}|}} | |||
|header6 = | |||
|label6 = Size: | |||
|data6 = {{#if: {{{size|}}}|{{{size|}}}|}} | |||
|header7 = | |||
|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> | |||
The following code produces the fake infobox shown on the right: | The following code produces the fake infobox shown on the right: | ||
<pre>{{infobox city| | <pre style="overflow:auto;"> | ||
{{infobox city| | |||
|image = | |image = | ||
|official name = | |||
|games = | |games = | ||
|country = | |||
|state = | |||
|established = | |||
|size = | |||
|name = | |name = | ||
|mayor = | |mayor = | ||
|pop = | |pop = | ||
|motto = | |motto = | ||
}}</pre> | |area code (s) = | ||
}} | |||
[[Category:Templates | </pre> | ||
[[Category:Infobox 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) = }}