Template:Infobox city

From Grand Theft Wiki
Revision as of 01:18, 3 November 2011 by Spaceeinstein (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
CITY

{{Infobox |bodystyle = |title = |titlestyle = |above = CITY
{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}} |abovestyle = text-align:center; |imagestyle = |captionstyle = |motto = |image = {{#if:{{{image|}}}|{{{image}}}{{#if:{{{caption|}}}|

{{{caption}}}
|}}|}} |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)|}}}|}} }}

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) =
}}