Template:Infobox test/doc: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata --> | <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata --> | ||
{{Lua|Module:Infobox}} | {{Lua|Module:Infobox}} | ||
This template can be used to add at-a-glance information for settlements. | |||
This template can be used to add at-a-glance information | |||
== Usage == | == Usage == | ||
{{Parameter names example | {{Parameter names example | ||
Line 26: | Line 24: | ||
| setting | | setting | ||
}} | }} | ||
<pre style="overflow:auto;"> | <pre style="overflow:auto;"> | ||
{{Infobox | {{Infobox Settlement | ||
| name = | | name = | ||
| tag = | | tag = | ||
| | | settlement_type = | ||
| image = | | image = | ||
| caption = | | caption = | ||
| | | country = | ||
| | | founded_in = | ||
| founded_by = | | founded_by = | ||
| government = | | government = | ||
Line 46: | Line 38: | ||
| leader_name = | | leader_name = | ||
| area = | | area = | ||
| elevation = | |||
| population = | | population = | ||
| demonym = | |||
| languages = | |||
| temples = | |||
| setting = | | setting = | ||
}} | }} | ||
</pre> | </pre> | ||
== Parameters == | == Parameters == | ||
; <code>name | ; <code>name/code>: | ||
; <code>tag | ; <code>tag/code>: | ||
; <code> | ; <code>settlement_type/code>: | ||
; <code>image | ; <code>image/code>: | ||
; <code>caption | ; <code>caption/code>: | ||
; <code> | ; <code>country/code>: | ||
; <code>founded_in/code>: | |||
; <code> | ; <code>founded_by/code>: | ||
; <code> | ; <code>government/code>: | ||
; <code> | ; <code>leader_title/code>: | ||
; <code> | ; <code>leader_name/code>: | ||
; <code> | ; <code>area/code>: | ||
; <code> | ; <code>elevation/code>: | ||
; <code> | ; <code>population/code>: | ||
; <code> | ; <code>demonym/code>: | ||
; <code> | ; <code>languages/code>: | ||
; <code> | ; <code>temples/code>: | ||
; <code> | ; <code>setting/code>: | ||
; <code>setting | |||
==TemplateData== | ==TemplateData== | ||
Line 78: | Line 72: | ||
{ | { | ||
"params": { | "params": { | ||
"name": { | "name": {}, | ||
"tag": {}, | |||
"settlement_type": {}, | |||
"image": {}, | |||
"caption": {}, | |||
"tag": { | "country": {}, | ||
"founded_in": {}, | |||
"founded_by": {}, | |||
"leader_name": {}, | |||
"government": {}, | |||
" | "leader_title": {}, | ||
"area": {}, | |||
"elevation": {}, | |||
"population": {}, | |||
"demonym": {}, | |||
"image": { | "languages": {}, | ||
"temples": {}, | |||
"setting": {} | |||
"caption": { | |||
" | |||
" | |||
" | |||
" | |||
" | |||
" | |||
" | |||
" | |||
" | |||
" | |||
" | |||
" | |||
"setting": { | |||
} | } | ||
} | }</templatedata> | ||
</templatedata> | |||
{{Collapse bottom}} | {{Collapse bottom}} | ||
Revision as of 19:55, 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/code>:
tag/code>:
settlement_type/code>:
image/code>:
caption/code>:
country/code>:
founded_in/code>:
founded_by/code>:
government/code>:
leader_title/code>:
leader_name/code>:
area/code>:
elevation/code>:
population/code>:
demonym/code>:
languages/code>:
temples/code>:
setting/code>:
TemplateData
TemplateData documentation used by VisualEditor and other tools
TemplateData for Infobox test
No description.
Template parameters
Parameter Description Type Status name name
no description
Unknown optional tag tag
no description
Unknown optional settlement_type settlement_type
no description
Unknown optional image image
no description
Unknown optional caption caption
no description
Unknown optional country country
no description
Unknown optional founded_in founded_in
no description
Unknown optional founded_by founded_by
no description
Unknown optional leader_name leader_name
no description
Unknown optional government government
no description
Unknown optional leader_title leader_title
no description
Unknown optional area area
no description
Unknown optional elevation elevation
no description
Unknown optional population population
no description
Unknown optional demonym demonym
no description
Unknown optional languages languages
no description
Unknown optional temples temples
no description
Unknown optional setting setting
no description
Unknown optional