Template:Town Infobox: Difference between revisions

From EarthMC
Jump to navigation Jump to search
No edit summary
Tag: Reverted
m (Reverted edits by 832536547701555200 (talk) to last revision by [[User:>KuzuAdam|>KuzuAdam]])
Tag: Rollback
 
Line 1: Line 1:
<infobox> <title source="title1"> <default>{{PAGENAME}}</default> </title> <image source="image1"> <caption source="caption1"/> </image> <data source="nation"> <label>Nation</label> </data> <data source="continent"> <label>Continent</label> </data> <data source="population"> <label>Population</label> </data> <data source="/t_list_page"> <label>Date of establishment</label> </data> <data source="languages"> <label>Languages</...")
<infobox>
  <title source="title1">
    <default>{{PAGENAME}}</default>
  </title>
  <image source="image1">
    <caption source="caption1"/>
  </image>
  <data source="nation">
    <label>Nation</label>
  </data>
  <data source="continent">
    <label>Continent</label>
  </data>
  <data source="population">
    <label>Population</label>
  </data>
  <data source="/t_list_page">
    <label>Date of establishment</label>
  </data>
  <data source="languages">
    <label>Languages</label>
  </data>
</infobox>
[[Category:Towns]]
<noinclude>
Example usage:<pre>
{{Town Infobox
|title1= Town
|image= https://images.app.goo.gl/hu9WZiuX5dabfPrc7
|caption1= https://images.app.goo.gl/y4VqfkbbzMerTxK57
|town=Pixiland
|nation= The Rule4.1PlsReadIt
|region= North Caucasia
|population=2
|/t_list_page= (Date established)
|languages= Turkish, English
|owner= PixiPel
|chunks= 2
|continent= Europe
|militia= None
|town motto= Money is everything
}}
</pre>
{{Town Infobox
|title1=Example Town
|image1=Download-1564171983.png
|caption1=The flag of example town (not really)
|town=Example Town
|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.''
</noinclude>

Latest revision as of 13:10, 31 May 2023

Example usage:

{{Town Infobox
|title1= Town
|image= https://images.app.goo.gl/hu9WZiuX5dabfPrc7
|caption1= https://images.app.goo.gl/y4VqfkbbzMerTxK57
|town=Pixiland
|nation= The Rule4.1PlsReadIt
|region= North Caucasia
|population=2
|/t_list_page= (Date established)
|languages= Turkish, English
|owner= PixiPel
|chunks= 2
|continent= Europe
|militia= None
|town motto= Money is everything
}}

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