Template:Infobox test/doc: Difference between revisions

no edit summary
No edit summary
No edit summary
 
(21 intermediate revisions by the same user not shown)
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 continents.
This template can be used to add at-a-glance information on TTRPG campaigns.
 
== Usage ==
== Usage ==
{{Parameter names example
{{Parameter names example
| name
| name
| tag
| tag
| settlement_type
| image
| image
| caption
| caption
| country
| size5e
| founded_in
| type5e
| founded_by
| tags5e
| government
| alignment5e
| leader_title
| deity
| leader_name
| movement
| area
| vision
| elevation
| sleep_cycle
| population
| diet
| demonym
| lifespan
| languages
| homeland
| temples
| intelligence
| setting
| language
| subraces
| favored_climate
| favored_terrain
| height
| wingspan
| weight
| skin_color
| hair_color
| feathers
| eye_color
| build
| distinctions
}}
}}
<pre style="overflow:auto;">
<pre style="overflow:auto;">
{{Infobox Country
{{Infobox Race
| name =  
| name =  
| tag =  
| tag =  
| continent =
| image =  
| image =  
| caption =  
| caption =  
| capital =  
| size5e =  
| largest_city =  
| type5e =
| tags5e =
| alignment5e =
| deity =
| movement =
| vision =
| sleep_cycle =
| diet =
| lifespan =
| homeland =
| intelligence =  
| language =  
| language =  
| people =  
| subraces =  
| religion =  
| favored_climate =  
| demonym =  
| favored_terrain =  
| founded =  
| height =  
| founded_by =  
| wingspan =  
| government =  
| weight =  
| leader_title =  
| skin_color =  
| leader_name =  
| hair_color =  
| area =  
| feathers =  
| population =  
| eye_color =  
| setting =  
| build =
| distinctions =  
}}
}}
</pre>
</pre>
== Parameters ==
== Parameters ==
; <code>name</code>: name of the country
; <code>name</code>:  
; <code>tag</code>: tagline of the country
; <code>tag</code>:  
; <code>continent</code>: name of the continent the country is on
; <code>image</code>:
; <code>image</code>: orthographic image of the continent that the country is on
; <code>caption</code>:  
; <code>caption</code>: caption of the image
; <code>race</code>:  
; <code>capital</code>: the capital of the country
; <code>gender</code>:  
; <code>largest_city</code>: the largest city in the country
; <code>class</code>:  
; <code>language</code>: list of major languages
; <code>height</code>:  
; <code>people</code>: list of the major people/races that reside within the country
; <code>weight</code>:  
; <code>religion</code>: list of major religions practiced by the country
; <code>alignment</code>:  
; <code>demonym</code>: what are the people of the country called
; <code>faith</code>:
; <code>founded</code>: the date the country was founded
; <code>born</code>:  
; <code>founded_by</code>: who founded the country
; <code>died</code>:  
; <code>government</code>: type of government
; <code>cause_of_death</code>:  
; <code>leader_title</code>: the title of the leader
; <code>occupation</code>:  
; <code>leader_name</code>: name of the current leader
; <code>spouse</code>:  
; <code>area</code>: the total area of the country
; <code>children</code>:  
; <code>population</code>: estimated population of the country
; <code>campaign</code>:  
; <code>setting</code>: the setting the country is a part of
; <code>firstsession</code>:  
 
; <code>lasesession</code>:  
; <code>setting</code>:  
; <code>character_sheet</code>:
==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 78: Line 97:
{
{
"params": {
"params": {
"name": {
"name": {},
"label": "Name",
"tag": {},
"description": "name of the country",
"image": {},
"type": "string"
"caption": {},
},
"date_founded": {},
"tag": {
"active": {},
"label": "Tag",
"allegiance": {},
"description": "tagline of the country",
"type": {},
"type": "string"
"role": {},
},
"size": {},
"continent": {
"headquarters": {},
"label": "Continent",
"nicknames": {},
"description": "name of the continent the country is on",
"patron": {},
"type": "wiki-page-name"
"members": {},
},
"leader_title": {},
"image": {
"first_leader": {},
"label": "Image",
"current_leader": {},
"description": "orthographic image of the continent that the country is on",
"last_leader": {},
"type": "wiki-file-name"
"setting": {}
},
"caption": {
"label": "Caption",
"description": "caption of the image",
"type": "string"
},
"capital": {
"label": "Capital",
"description": "the capital of the country",
"type": "wiki-page-name"
},
"largest_city": {
"label": "Largest City",
"description": "the largest city in the country",
"type": "wiki-page-name"
},
"language": {
"label": "Language",
"description": "list of major languages",
"type": "wiki-template-name"
},
"people": {
"label": "People",
"description": "list of the major people/races that reside within the country",
"type": "wiki-template-name"
},
"religion": {
"label": "Religion",
"description": "list of major religions practiced by the country",
"type": "wiki-template-name"
},
"demonym": {
"label": "Demonym",
"description": "what are the people of the country called",
"type": "string"
},
"founded": {
"label": "Founded",
"description": "the date the country was founded",
"type": "wiki-template-name"
},
"founded_by": {
"label": "Founded by",
"description": "who founded the country",
"type": "wiki-page-name"
},
"government": {
"label": "Government",
"description": "type of government",
"type": "string"
},
"leader_title": {
"label": "Leader Title",
"description": "the title of the leader",
"type": "string"
},
"leader_name": {
"label": "Leader Name",
"description": "name of the current leader",
"type": "wiki-page-name"
},
"area": {
"label": "Area",
"description": "the total area of the country",
"type": "string"
},
"population": {
"label": "Population",
"description": "estimated population of the country",
"type": "string"
},
"setting": {
"label": "Setting",
"description": "the setting the country is a part of",
"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 test}}
}}</includeonly>
}}</includeonly>