Template:Infobox Continent/doc: Difference between revisions
Jump to navigation
Jump to search
(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" | |||
} | |||
} | } | ||
} | } |
Revision as of 14:48, 29 May 2022
This is a documentation subpage for Template:Infobox Continent. It contains usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
This template can be used to add at-a-glance information for continents.
Usage
{{{name}}} | |
---|---|
{{{tag}}} | |
{{{image}}} | |
Geography | |
Area | {{{area}}} |
Population | {{{population}}} |
Major Temples | {{{temples}}} |
Demonym | {{{demonym}}} |
Countries | {{{countries}}} |
Languages | {{{languages}}} |
Largest Cities | {{{largest_cities}}} |
Setting | {{{setting}}} |
{{Infobox Continent | name = | tag = | image = | caption = | area = | population = | temples = | demonym = | countries = | languages = | largest_cities = | setting = }}
Parameters
name
- name of the continent
tag
- tagline of the continent
image
- image of the continent
caption
- caption of the image
area
- size of the continent in mi2
population
- estimation of the number of people living on the continent
temples
- major temples on the continent
demonym
- what people from the continent are called
countries
- countries located on the continent
languages
- languages spoken on the continent
largest_cities
- 5 largest cities on the continent
setting
- setting the continent is from
TemplateData
TemplateData documentation used by VisualEditor and other tools
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TemplateData for Infobox Continent No description.
|