Template:Infobox test/doc: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 71: | Line 71: | ||
{ | { | ||
"params": { | "params": { | ||
"name": {}, | "name": { | ||
"tag": {}, | "label": "Name", | ||
"settlement_type": {}, | "description": "name of the settlement", | ||
"image": {}, | "type": "string", | ||
"caption": {}, | "default": "{{PAGENAME}}" | ||
"country": {}, | }, | ||
"founded_in": {}, | "tag": { | ||
"founded_by": {}, | "label": "Tag", | ||
" | "description": "tagline of the settlement", | ||
" | "type": "string" | ||
" | }, | ||
"area": {}, | "settlement_type": { | ||
"elevation": {}, | "label": "Settlement Type", | ||
"population": {}, | "description": "city, town, capital, independent", | ||
"demonym": {}, | "type": "string" | ||
"languages": {}, | }, | ||
"temples": {}, | "image": { | ||
"setting": {} | "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" | |||
} | |||
} | } | ||
}</templatedata> | } | ||
</templatedata> | |||
{{Collapse bottom}} | {{Collapse bottom}} | ||
<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 Campaign}} | ||
}}</includeonly> | }}</includeonly> |
Revision as of 20:02, 25 May 2022
This is a documentation subpage for Template:Infobox test. 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 settlements.
Usage
{{{name}}} | |
---|---|
{{{tag}}} | |
{{{image}}} |
{{Infobox Settlement | name = | tag = | settlement_type = | image = | caption = | country = | founded_in = | founded_by = | government = | leader_title = | leader_name = | area = | elevation = | population = | demonym = | languages = | temples = | setting = }}
Parameters
name
tag
settlement_type
image
caption
country
founded_in
founded_by
government
leader_title
leader_name
area
elevation
population
demonym
languages
temples
setting
TemplateData
TemplateData documentation used by VisualEditor and other tools
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TemplateData for Infobox test No description.
|