Template:Infobox city/doc
Appearance
- Description
- This template is used to create a city infobox.
- Syntax
- Type
{{#if: |Template parameter limit reached! (help)|
{{#switch:
| plain =
| pre =
| code =
| #default =
}}{{{{#if: | {{{prefix}}}: |}}[[{{#if: |:}}Template:infobox city |{{#if: |:}}infobox city]]{{#if: |
}}{{#if:...
| |...{{#if: |
}} }}{{ #if:
| |{{{3}}}{{#if: |
}} }}{{ #if:
| |{{{4}}}{{#if: |
}} }}{{ #if:
| |{{{5}}}{{#if: |
}} }}{{ #if:
| |{{{6}}}{{#if: |
}} }}{{ #if:
| |{{{7}}}{{#if: |
}} }}{{ #if:
| |{{{8}}}{{#if: |
}} }}{{ #if:
| |{{{9}}}{{#if: |
}} }}{{ #if:
| |{{{10}}}{{#if: |
}} }}{{ #if:
| |{{{11}}}{{#if: |
}} }}{{ #if:
| |{{{12}}}{{#if: |
}} }}{{ #if:
| |{{{13}}}{{#if: |
}} }}{{ #if:
| |{{{14}}}{{#if: |
}} }}{{ #if:
| |{{{15}}}{{#if: |
}} }}{{ #if:
| |{{{16}}}{{#if: |
}} }}{{ #if:
| |{{{17}}}{{#if: |
}} }}{{ #if:
| |{{{18}}}{{#if: |
}} }}{{ #if:
| |{{{19}}}{{#if: |
}} }}{{ #if:
| |{{{20}}}{{#if: |
}} }}{{ #if:
| |{{{21}}}{{#if: |
}} }}{{ #if:
| |{{{22}}}{{#if: |
}} }}{{ #if:
| |{{{23}}}{{#if: |
}} }}{{ #if:
| |{{{24}}}{{#if: |
}} }}{{ #if:
| |{{{25}}}{{#if: |
}} }}{{ #if:
| |{{{26}}}{{#if: |
}} }}{{ #if:
| |{{{27}}}{{#if: |
}} }}{{ #if:
| |{{{28}}}{{#if: |
}} }}{{ #if:
| |{{{29}}}{{#if: |
}} }}{{ #if:
| |{{{30}}}{{#if: |
}} }}{{ #if:
| |{{{31}}}{{#if: |
}} }}}}{{#switch:
| pre =
| plain =
| #default =
}} }} somewhere, with parameters as shown below.
Usage[edit source]
{{Infobox city
| name =
| image =
| caption =
| debut =
| nation =
| location =
| leader =
| foundation =
| population =
| languages =
| religion =
}}
Preview[edit source]
{{Infobox city
| name = Some City
| image = Placeholder location.png
| caption = Mountain in Some City
| debut = Some debut
| nation = Wikia
| location = Templates Wiki
| leader = Some Leader
| foundation = Some foundation
| population = 1,000
| languages = Wikian
| religion = Fandom
}}