Template:Infobox test/doc: Difference between revisions

From Stiles Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 35: Line 35:
</pre>
</pre>
== Parameters ==
== Parameters ==
; <code>name</code>: name of the settlement
; <code>name</code>:  
; <code>tag</code>: tagline of the settlement
; <code>tag</code>:  
; <code>settlement_type</code>: city, town, capital, independent
; <code>image</code>:  
; <code>image</code>: image of the city
; <code>caption</code>:  
; <code>caption</code>: caption about the image
; <code>area</code>:  
; <code>country</code>: Country the settlement is
; <code>population</code>:  
; <code>founded_in</code>: date the settlement was founded
; <code>temples</code>:  
; <code>founded_by</code>: who founded the settlement
; <code>demonym</code>:  
; <code>government</code>: government type
; <code>countries</code>:  
; <code>leader_title</code>: title of the leader
; <code>languages</code>:  
; <code>leader_name</code>: name of the current leader
; <code>largest_cities</code>:  
; <code>area</code>: area of the settlement
; <code>setting</code>:  
; <code>elevation</code>: elevation of the settlement
; <code>population</code>: population of the settlement
; <code>demonym</code>: name of the people from the settlement
; <code>languages</code>: major languages spoken in settlement
; <code>temples</code>: major temples in the settlement
; <code>setting</code>: setting the settlement is in
==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 59: Line 53:
{
{
"params": {
"params": {
"name": {
"name": {},
"label": "Name",
"tag": {},
"description": "name of the settlement",
"image": {},
"type": "string",
"caption": {},
"default": "{{PAGENAME}}"
"area": {},
},
"population": {},
"tag": {
"temples": {},
"label": "Tag",
"demonym": {},
"description": "tagline of the settlement",
"countries": {},
"type": "string"
"languages": {},
},
"largest_cities": {},
"settlement_type": {
"setting": {}
"label": "Settlement Type",
"description": "city, town, capital, independent",
"type": "string"
},
"image": {
"label": "Image",
"description": "image of the city",
"type": "wiki-file-name"
},
"caption": {
"label": "Caption",
"description": "caption about the image",
"type": "string"
},
"country": {
"label": "Country",
"description": "Country the settlement is",
"type": "wiki-page-name"
},
"founded_in": {
"label": "Founded in",
"description": "date the settlement was founded",
"type": "date"
},
"founded_by": {
"label": "Founded by",
"description": "who founded the settlement",
"type": "wiki-page-name"
},
"government": {
"label": "Governemnt",
"description": "government type",
"type": "string"
},
"leader_title": {
"label": "Leader Title",
"description": "title of the leader",
"example": "Mayor",
"type": "string"
},
"leader_name": {
"label": "Leader Name",
"description": "name of the current leader",
"type": "wiki-page-name"
},
"area": {
"label": "Area",
"description": "area of the settlement",
"type": "string"
},
"elevation": {
"label": "Elevation",
"description": "elevation of the settlement",
"type": "string"
},
"population": {
"label": "Population",
"description": "population of the settlement",
"type": "string"
},
"demonym": {
"label": "Demonym",
"description": "name of the people from the settlement",
"type": "string"
},
"languages": {
"label": "Languages",
"description": "major languages spoken in settlement",
"type": "string"
},
"temples": {
"label": "Temples",
"description": "major temples in the settlement",
"type": "string"
},
"setting": {
"label": "Setting",
"description": "setting the settlement is in",
"type": "wiki-page-name"
}
}
}
}
}

Revision as of 18:52, 26 May 2022

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

Usage

{{{name}}}
{{{tag}}}
{{{image}}}
{{{caption}}}
{{Infobox Continent
| name = 
| tag = 
| image = 
| caption = 
| area = 
| population = 
| temples = 
| demonym = 
| countries = 
| languages = 
| largest_cities = 
| setting = 
}}

Parameters

name
tag
image
caption
area
population
temples
demonym
countries
languages
largest_cities
setting

TemplateData

TemplateData documentation used by VisualEditor and other tools

TemplateData for Infobox test

No description.

Template parameters

ParameterDescriptionTypeStatus
namename

no description

Unknownoptional
tagtag

no description

Unknownoptional
imageimage

no description

Unknownoptional
captioncaption

no description

Unknownoptional
areaarea

no description

Unknownoptional
populationpopulation

no description

Unknownoptional
templestemples

no description

Unknownoptional
demonymdemonym

no description

Unknownoptional
countriescountries

no description

Unknownoptional
languageslanguages

no description

Unknownoptional
largest_citieslargest_cities

no description

Unknownoptional
settingsetting

no description

Unknownoptional