Difference between revisions of "Template:Infobox location"
Jump to navigation
Jump to search
(One intermediate revision by one other user not shown) | |||
Line 8: | Line 8: | ||
{{ Infobox conditional caption | {{{mapcaption|}}} }} | {{ Infobox conditional caption | {{{mapcaption|}}} }} | ||
− | {{ Infobox conditional data | Type | + | {{ Infobox conditional data | Government | {{{government|}}} }} |
− | {{ Infobox conditional data | | + | {{ Infobox conditional data | Owner | {{{owner|}}} }} |
− | {{ Infobox conditional data | | + | |
− | {{ Infobox conditional data | | + | {{ Infobox conditional data | Type | {{{type|}}} }} |
− | {{ Infobox conditional data | | + | {{ Infobox conditional data | Element | {{{element|}}} }} |
+ | {{ Infobox conditional data | Level | {{{level|}}} }} | ||
+ | {{ Infobox conditional data | Location | {{{location|}}} }} | ||
+ | {{ Infobox conditional data | Constituents | {{{constituents|}}} }} | ||
{{ Infobox conditional image | {{{flag|}}} }} | {{ Infobox conditional image | {{{flag|}}} }} | ||
{{ Infobox conditional caption | {{{flagcaption|}}} }} | {{ Infobox conditional caption | {{{flagcaption|}}} }} | ||
− | {{ Infobox conditional data | Anthem | + | {{ Infobox conditional data | National Anthem | {{{anthem|}}} }} |
− | {{ Infobox conditional data | Inhabitants | + | {{ Infobox conditional data | Inhabitants | {{{inhabitants|}}} }} |
+ | {{ Infobox conditional data | Population | {{{population|}}} }} | ||
</table> | </table> | ||
<noinclude> | <noinclude> | ||
− | Example usage:<pre> | + | Example usage: |
− | {{Infobox | + | <pre> |
− | | | + | {{Infobox location |
− | | | + | |title = Example |
− | | | + | |image = Placeholder.png |
− | | | + | |caption = Example |
− | | | + | |mapimage = Placeholder.png |
− | | | + | |mapcaption = Example |
− | | | + | |government = Example |
− | | | + | |owner = Example |
− | | | + | |type = Example |
− | + | |level = Example | |
− | | | + | |location = Example |
− | | | + | |constituents = Example |
− | | | + | |flag = Placeholder.png |
− | + | |flagcaption = Example | |
− | | | + | |anthem = Example |
− | | | + | |inhabitants = Example |
− | | | + | |population = Example |
− | | | ||
}} | }} | ||
</pre> | </pre> | ||
+ | ...produces... | ||
+ | {{Infobox location | ||
+ | |title = Example | ||
+ | |image = Placeholder.png | ||
+ | |caption = Example | ||
+ | |mapimage = Placeholder.png | ||
+ | |mapcaption = Example | ||
+ | |government = Example | ||
+ | |owner = Example | ||
+ | |type = Example | ||
+ | |level = Example | ||
+ | |location = Example | ||
+ | |constituents = Example | ||
+ | |flag = Placeholder.png | ||
+ | |flagcaption = Example | ||
+ | |anthem = Example | ||
+ | |inhabitants = Example | ||
+ | |population = Example | ||
+ | }} | ||
+ | |||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 14:10, 6 February 2019
Example usage:
{{Infobox location |title = Example |image = Placeholder.png |caption = Example |mapimage = Placeholder.png |mapcaption = Example |government = Example |owner = Example |type = Example |level = Example |location = Example |constituents = Example |flag = Placeholder.png |flagcaption = Example |anthem = Example |inhabitants = Example |population = Example }}
...produces...
Example | |
---|---|
Example | |
Example | |
Government | Example |
Owner | Example |
Type | Example |
Level | Example |
Location | Example |
Constituents | Example |
Example | |
National Anthem | Example |
Inhabitants | Example |
Population | Example |