Template:Infobox Town: Difference between revisions
Silverpg017 (talk | contribs) m Added <includeonly> tag |
Silverpg017 (talk | contribs) mNo edit summary |
||
| Line 180: | Line 180: | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> | ||
<includeonly> | <includeonly>{{#ifeq:{{NAMESPACE}}||[[Category:Towns]]}}</includeonly> | ||
[[Category:Towns]] | |||
</includeonly> | |||
Revision as of 18:46, 8 March 2026
Usage
To use this template in an article, copy and paste the code below and fill it. Some spaces can be left blank and they won't show up on the final infobox. If you are using source editor, you can press on 'Show preview' to see a preview of your infobox.
Full
| {{{name}}} {{{native_name}}} | |
|---|---|
| [[File:{{{image}}}|frameless|border|center|alt={{{alt}}}|upright=1]] | |
"{{{nickname}}}" | |
| General | |
Nation | {{{nation}}} |
Area | {{{area}}} |
Continent | {{{continent}}} |
| General | |
Population | {{{population}}} |
Demonym | {{{demonym}}} |
Language/s | {{{languages}}} |
Religion/s | {{{religion}}} |
| Politics | |
Mayor | {{{mayor}}} |
Continent | {{{continent}}} |
Founder | {{{founder}}} |
Foundation date | {{{foundation_date}}} |
{{Infobox Town
| name =
| native_name =
| image =
| alt =
| caption =
| nickname =
| nation =
| area =
| continent =
| population =
| demonym =
| languages =
| religion =
| mayor =
| founder =
| foundation_date =
}}
An infobox template for displaying information about towns.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Official Name | name | The primary name of the town | String | required |
| Official Native Name | native_name | The primary name of the town in its native language. | String | suggested |
| Primary Image | image | Name of the town's flag or landscape
| String | suggested |
| Image Description | alt | Alt text for image description | String | optional |
| Image Caption | caption | Brief description of the image's content
| String | optional |
| Town Nickname | nickname | Nickname for the town
| String | optional |
| Nation | nation | Nation the town is part of
| String | optional |
| Area | area | Number of chunks in the town
| String | optional |
| Continent | continent | Continent the nation is located in
| String | optional |
| Population | population | Member count of the town or lore population
| String | optional |
| Demonym | demonym | Term used to describe members of the town
| String | optional |
| Official Languages | languages | List of officially recognized languages
| Content | optional |
| Major Religion | religion | The town's official religion or most followed religion/s
| Content | optional |
| Mayor | mayor | Current mayor of the town
| String | optional |
| Founder | founder | Founder or first mayor of the town
| String | optional |
| Foundation Date | foundation_date | Date the town was founded. Previous foundations can be included
| String | optional |