Template:Infobox city: Difference between revisions
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
{{pipe}}- style="margin:0;" | {{pipe}}- style="margin:0;" | ||
!colspan="2" style="text-align: center;"{{pipe}}<small>CITY</small><br /><span class="fn" style="font-size:18px;">{{{name|{{PAGENAME}}}}}</span> | !colspan="2" style="text-align: center;"{{pipe}}<small>CITY</small><br /><span class="fn" style="font-size:18px;">{{{name|{{PAGENAME}}}}}</span> | ||
{{#if:{{{image|}}}|{{pipe}}- | |||
{{#if:{{{image|}}}| | {{pipe}} colspan="2" align="center"{{pipe}}{{{image}}}{{#if:{{{caption|}}}|<div style="line-height:1.25em;">{{{caption}}}</div>|}}|}} | ||
{{pipe}}- | |||
{{pipe}} colspan="2" align="center"{{pipe}}{{{image}}}{{#if:{{{caption|}}}|<div style="line-height:1.25em;">{{{caption}}}</div | |||
{{pipe}}- valign="top" | {{pipe}}- valign="top" | ||
! | ! | ||
Line 12: | Line 9: | ||
{{pipe}}- | {{pipe}}- | ||
!style="text-align:right;"{{pipe}}Appearance(s): | !style="text-align:right;"{{pipe}}Appearance(s): | ||
{{pipe}}{{{games|}}}|}} | {{pipe}}{{{games|}}}| | ||
{{pipe}}- | |||
}} | |||
{{#if: {{{name|}}}| | {{#if: {{{name|}}}| | ||
{{pipe}}- | {{pipe}}- | ||
!style="text-align:right;"{{pipe}}Name: | !style="text-align:right;"{{pipe}}Name: | ||
{{pipe}}{{{name|}}}|}} | {{pipe}}{{{name|}}}| | ||
{{pipe}}- | |||
}} | |||
{{#if: {{{mayor|}}}| | {{#if: {{{mayor|}}}| | ||
{{pipe}}- | {{pipe}}- | ||
!style="text-align:right;"{{pipe}}Mayor: | !style="text-align:right;"{{pipe}}Mayor: | ||
{{pipe}}{{{mayor|}}}|}} | {{pipe}}{{{mayor|}}}| | ||
{{pipe}}- | |||
}} | |||
{{#if: {{{pop|}}}| | {{#if: {{{pop|}}}| | ||
{{pipe}}- | {{pipe}}- | ||
!style="text-align:right;"{{pipe}}Population: | !style="text-align:right;"{{pipe}}Population: | ||
{{pipe}}{{{pop|}}}|}} | {{pipe}}{{{pop|}}}| | ||
{{pipe}}- | |||
}} | |||
{{#if: {{{size|}}}| | {{#if: {{{size|}}}| | ||
{{pipe}}- | {{pipe}}- | ||
!style="text-align:right;"{{pipe}}Size: | !style="text-align:right;"{{pipe}}Size: | ||
{{pipe}}{{{size|}}}|}} | {{pipe}}{{{size|}}}| | ||
{{pipe}}- | |||
}} | |||
{{#if: {{{established|}}}| | {{#if: {{{established|}}}| | ||
{{pipe}}- | {{pipe}}- | ||
!style="text-align:right;"{{pipe}}Established: | !style="text-align:right;"{{pipe}}Established: | ||
{{pipe}}{{{established|}}}|}} | {{pipe}}{{{established|}}}| | ||
{{pipe}}- | |||
}} | |||
{{#if: {{{state|}}}| | {{#if: {{{state|}}}| | ||
{{pipe}}- | {{pipe}}- | ||
!style="text-align:right;"{{pipe}}State: | !style="text-align:right;"{{pipe}}State: | ||
{{pipe}}{{{state|}}}|}} | {{pipe}}{{{state|}}}| | ||
{{pipe}}- | |||
}} | |||
{{#if: {{{motto|}}}| | {{#if: {{{motto|}}}| | ||
{{pipe}}- | {{pipe}}- | ||
!style="text-align:right;"{{pipe}}Motto: | !style="text-align:right;"{{pipe}}Motto: | ||
{{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: |
Revision as of 06:32, 9 December 2009
CITY Infobox city | |
---|---|
The following code produces the fake infobox shown on the right:
{{infobox city| |image = |games = |name = |mayor = |pop = |size = |established = |state = |motto = }}