Template:Town Infobox: Difference between revisions

From EarthMC
Jump to navigation Jump to search
>Sitb
(Implementing auto-categorization of articles that use this template.)
>Sitb
(Cleanup/adding some missing parameters to the code. Also added an example of what this infobox looks like when implemented.)
Line 44: Line 44:
Example usage:<pre>
Example usage:<pre>
{{Town Infobox
{{Town Infobox
|title1=Example
|title1=
|image1=Example
|image1=
|caption1=Example
|caption1=
|town=Example
|nation=
|nation=Example
|region=
|population=Example
|population=
|/t_list_page=Example
|/t_list_page= (Date established)
|owner=Example
|languages=
|chunks=Example
|owner=
|continent=Example
|chunks=
|militia=Example
|continent=
|militia=
|town motto=
}}
}}
</pre>
</pre>
{{Town Infobox
|title1=Example Town
|image1=Download-1564171983.png
|caption1=The flag of example town (not really)
|nation=Example Land
|region=Example Region
|population= 52
|/t_list_page= February 29, 2020
|languages=English, Spanish
|owner=Examplor
|chunks=30
|continent=North America
|militia=None
|town motto=Set a good example!
}}
''Note: Adding this template to a page will automatically include that page in the wiki's "[[:Category:Towns|Towns]]" category.''
''Note: Adding this template to a page will automatically include that page in the wiki's "[[:Category:Towns|Towns]]" category.''
</noinclude>
</noinclude>

Revision as of 14:03, 29 February 2020

Example usage:

{{Town Infobox
|title1=
|image1=
|caption1=
|nation=
|region=
|population=
|/t_list_page= (Date established)
|languages=
|owner=
|chunks=
|continent=
|militia=
|town motto=
}}

Note: Adding this template to a page will automatically include that page in the wiki's "Towns" category.