Template:Infobox Continent/doc: Difference between revisions

no edit summary
(Created page with "{{Documentation subpage}} <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata --> {{Lua|Module:Infobox}} This template can be used to add at-a-glance information for continents. == Usage == {{Parameter names example | name | tag | image | caption | area | population | temples | demonym | countries | languages | largest_cities | setting }} <pre style="overflow:auto;"> {{Infobox Continent | name = | tag = | image = | captio...")
 
No edit summary
Line 35: Line 35:
</pre>
</pre>
== Parameters ==
== Parameters ==
; <code>name</code>:  
; <code>name</code>: name of the continent
; <code>tag</code>:  
; <code>tag</code>: tagline of the continent
; <code>image</code>:  
; <code>image</code>: image of the continent
; <code>caption</code>:  
; <code>caption</code>: caption of the image
; <code>area</code>:  
; <code>area</code>: size of the continent in mi<sup>2</sup>
; <code>population</code>:  
; <code>population</code>: estimation of the number of people living on the continent
; <code>temples</code>:  
; <code>temples</code>: major temples on the continent
; <code>demonym</code>:  
; <code>demonym</code>: what people from the continent are called
; <code>countries</code>:  
; <code>countries</code>: countries located on the continent
; <code>languages</code>:  
; <code>languages</code>: languages spoken on the continent
; <code>largest_cities</code>:  
; <code>largest_cities</code>: 5 largest cities on the continent
; <code>setting</code>:  
; <code>setting</code>: setting the continent is from
==TemplateData==
==TemplateData==
{{Collapse top|title=[[Stiles.casa Wiki:TemplateData|TemplateData]] documentation used by [[Stiles.casa Wiki:VisualEditor|VisualEditor]] and other tools}}
{{Collapse top|title=[[Stiles.casa Wiki:TemplateData|TemplateData]] documentation used by [[Stiles.casa Wiki:VisualEditor|VisualEditor]] and other tools}}
Line 53: Line 53:
{
{
"params": {
"params": {
"name": {},
"name": {
"tag": {},
"label": "Name",
"image": {},
"description": "name of the continent",
"caption": {},
"type": "string",
"area": {},
"default": "{{PAGENAME}}"
"population": {},
},
"temples": {},
"tag": {
"demonym": {},
"label": "Tag",
"countries": {},
"description": "tagline of the continent",
"languages": {},
"type": "string"
"largest_cities": {},
},
"setting": {}
"image": {
"label": "Image",
"description": "image of the continent",
"type": "wiki-file-name"
},
"caption": {
"label": "Caption",
"description": "caption of the image",
"type": "string"
},
"area": {
"label": "Area",
"description": "size of the continent in mi<sup>2</sup>",
"type": "string"
},
"population": {
"label": "Population",
"description": "estimation of the number of people living on the continent",
"type": "string"
},
"temples": {
"label": "Temples",
"description": "major temples on the continent",
"type": "wiki-template-name"
},
"demonym": {
"label": "Demonym",
"description": "what people from the continent are called",
"type": "string"
},
"countries": {
"label": "Countries",
"description": "countries located on the continent",
"type": "wiki-template-name"
},
"languages": {
"label": "Languages",
"description": "languages spoken on the continent",
"type": "wiki-template-name"
},
"largest_cities": {
"label": "Largest Cities",
"description": "5 largest cities on the continent",
"type": "wiki-template-name"
},
"setting": {
"label": "Setting",
"description": "setting the continent is from",
"type": "wiki-page-name"
}
}
}
}
}