Template:Infobox Continent/doc: Difference between revisions

From Stiles Wiki
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
 
(2 intermediate revisions by the same user not shown)
Line 20: Line 20:
<pre style="overflow:auto;">
<pre style="overflow:auto;">
{{Infobox Continent
{{Infobox Continent
| name =  
| name           =  
| tag =  
| tag           =  
| image =  
<!--  Images  -->
| caption =  
| image         =  
| area =  
| caption       =  
| population =  
<!-- Geography -->
| temples =  
| area           =  
| demonym =  
| population     =  
| countries =  
| temples       =  
| languages =  
| demonym       =  
| countries     =  
| languages     =  
| largest_cities =  
| largest_cities =  
| setting =  
<!--  Setting  -->
| setting       =  
}}
}}
</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 56:
{
{
"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"
}
}
}
}
}
Line 71: Line 123:
<includeonly>{{basepage subpage|
<includeonly>{{basepage subpage|
<!-- Categories below this line, please; interwikis at Wikidata -->
<!-- Categories below this line, please; interwikis at Wikidata -->
{{DEFAULTSORT:Infobox Campaign}}
{{DEFAULTSORT:Infobox Continent}}
}}</includeonly>
}}</includeonly>

Latest revision as of 19:50, 15 February 2023

This template can be used to add at-a-glance information for continents.

Usage

{{{name}}}
{{{tag}}}
{{{image}}}
{{{caption}}}
Geography
Area{{{area}}}
Population{{{population}}}
Major Temples{{{temples}}}
Demonym{{{demonym}}}
Countries{{{countries}}}
Languages{{{languages}}}
Largest Cities{{{largest_cities}}}
Setting{{{setting}}}
{{Infobox Continent
| name           = 
| tag            = 
<!--  Images   -->
| image          = 
| caption        = 
<!-- Geography -->
| area           = 
| population     = 
| temples        = 
| demonym        = 
| countries      = 
| languages      = 
| largest_cities = 
<!--  Setting  -->
| 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.

Template parameters

ParameterDescriptionTypeStatus
Namename

name of the continent

Default
{{PAGENAME}}
Stringoptional
Tagtag

tagline of the continent

Stringoptional
Imageimage

image of the continent

Fileoptional
Captioncaption

caption of the image

Stringoptional
Areaarea

size of the continent in mi<sup>2</sup>

Stringoptional
Populationpopulation

estimation of the number of people living on the continent

Stringoptional
Templestemples

major temples on the continent

Templateoptional
Demonymdemonym

what people from the continent are called

Stringoptional
Countriescountries

countries located on the continent

Templateoptional
Languageslanguages

languages spoken on the continent

Templateoptional
Largest Citieslargest_cities

5 largest cities on the continent

Templateoptional
Settingsetting

setting the continent is from

Page nameoptional