Template:Infobox sub lv1/doc: Difference between revisions

From Nguhcraft Wiki
Jump to navigation Jump to search
(Created page with "{{Infobox sub lv1 |name=Example Level 1 Subdivision |flag=HeufaunaFlag.png |flag-label='''Example Flag''' |banner=Heufauna-banner.png |banner-label='''Example Banner''' |capital=Example |demonym=Examplese |ruler=Egg Sample<br>Egg Sample II |ruler-title=Rulers |languages=Examplese |iso-code=EX-MPL |population=~142.857 }} This is a template for level 1 subdivision infoboxes. The current parameters are: ; name : Name of the subdivision ; flag : Filename of the flag ; flag-l...")
 
mNo edit summary
 
Line 27: Line 27:
; ruler-title : The title of the ruler. If omitted this will default to "Ruler". If you want several rulers with titles for each, you can separate the titles with <code>;</code> and include several rulers in the same way (see also comment for <code>ruler</code>).
; ruler-title : The title of the ruler. If omitted this will default to "Ruler". If you want several rulers with titles for each, you can separate the titles with <code>;</code> and include several rulers in the same way (see also comment for <code>ruler</code>).
; ruler-left : Use this instead of <code>ruler</code> if you want to have a row for government and a separate row for the ruler.
; ruler-left : Use this instead of <code>ruler</code> if you want to have a row for government and a separate row for the ruler.
; languages : Official languages of the ŋation
; iso-code : The subdivision's official ISO code, ISO-3166-1
; iso-code : The subdivision's official ISO code, ISO-3166-1

Latest revision as of 08:07, 21 January 2025

Example Level 1 Subdivision
Example Flag
Example Banner
Capital cityExample
DemonymExamplese
RulersEgg Sample
Egg Sample II
Official LanguagesExamplese
ISO-3166-1EX-MPL
Population~142.857

This is a template for level 1 subdivision infoboxes. The current parameters are:

name
Name of the subdivision
flag
Filename of the flag
flag-label
Label under the flag. Default is '''Flag'''
banner
Filename of the banner, e.g. Enkavak-banner.webp
banner-label
Label under the banner. Default is '''Banner'''
map
Filename of the map
map-label
Label under the map. Default is '''Map'''
capital
Capital of the subdivision
demonym
Demonym of the subdivision
government
Type of subdivision government
ruler
Ruler or rulers of the subdivision. This is placed under government if present and on its own row if government is not present. If you want several rows with a title for each you can separate them with ; (see also comment for ruler-title).
ruler-title
The title of the ruler. If omitted this will default to "Ruler". If you want several rulers with titles for each, you can separate the titles with ; and include several rulers in the same way (see also comment for ruler).
ruler-left
Use this instead of ruler if you want to have a row for government and a separate row for the ruler.
iso-code
The subdivision's official ISO code, ISO-3166-1