Template:Infobox test/doc: Difference between revisions

From Stiles Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(15 intermediate revisions by the same user not shown)
Line 9: Line 9:
| image
| image
| caption
| caption
| area
| size5e
| population
| type5e
| temples
| tags5e
| demonym
| alignment5e
| countries
| deity
| languages
| movement
| largest_cities
| vision
| setting
| sleep_cycle
| diet
| lifespan
| homeland
| intelligence
| 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 Continent
{{Infobox Race
| name =  
| name =  
| tag =  
| tag =  
| image =  
| image =  
| caption =  
| caption =  
| area =  
| size5e =  
| population =  
| type5e =  
| temples =  
| tags5e =  
| demonym =  
| alignment5e =  
| countries =  
| deity =  
| languages =  
| movement =  
| largest_cities =  
| vision =  
| setting =  
| sleep_cycle =
| diet =
| lifespan =
| homeland =
| intelligence =
| language =
| subraces =
| favored_climate =
| favored_terrain =
| height =
| wingspan =
| weight =
| skin_color =
| hair_color =
| feathers =
| eye_color =
| build =
| distinctions =  
}}
}}
</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>race</code>:
; <code>country</code>: Country the settlement is
; <code>gender</code>:  
; <code>founded_in</code>: date the settlement was founded
; <code>class</code>:  
; <code>founded_by</code>: who founded the settlement
; <code>height</code>:  
; <code>government</code>: government type
; <code>weight</code>:  
; <code>leader_title</code>: title of the leader
; <code>alignment</code>:  
; <code>leader_name</code>: name of the current leader
; <code>faith</code>:  
; <code>area</code>: area of the settlement
; <code>born</code>:  
; <code>elevation</code>: elevation of the settlement
; <code>died</code>:  
; <code>population</code>: population of the settlement
; <code>cause_of_death</code>:  
; <code>demonym</code>: name of the people from the settlement
; <code>occupation</code>:  
; <code>languages</code>: major languages spoken in settlement
; <code>spouse</code>:  
; <code>temples</code>: major temples in the settlement
; <code>children</code>:  
; <code>setting</code>: setting the settlement is in
; <code>campaign</code>:  
; <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 59: Line 97:
{
{
"params": {
"params": {
"name": {
"name": {},
"label": "Name",
"tag": {},
"description": "name of the settlement",
"image": {},
"type": "string",
"caption": {},
"default": "{{PAGENAME}}"
"date_founded": {},
},
"active": {},
"tag": {
"allegiance": {},
"label": "Tag",
"type": {},
"description": "tagline of the settlement",
"role": {},
"type": "string"
"size": {},
},
"headquarters": {},
"settlement_type": {
"nicknames": {},
"label": "Settlement Type",
"patron": {},
"description": "city, town, capital, independent",
"members": {},
"type": "string"
"leader_title": {},
},
"first_leader": {},
"image": {
"current_leader": {},
"label": "Image",
"last_leader": {},
"description": "image of the city",
"setting": {}
"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"
}
}
}
}
}
Line 157: Line 122:
<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>

Latest revision as of 19:01, 15 February 2023

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

Usage

{{{name}}}
{{{tag}}}
{{{image}}}
{{{caption}}}
5th Edition Statistics
Size{{{size5e}}}
Type{{{type5e}}}
Tag(s){{{tags5e}}}
Typical Alignment{{{alignment5e}}}
General Information
Patron Deity(s){{{deity}}}
Movement{{{movement}}}
Vision{{{vision}}}
Activity Cycle{{{sleep_cycle}}}
Diet{{{diet}}}
Average Lifespan{{{lifespan}}}
Homeland(s){{{homeland}}}
Intelligence{{{intelligence}}}
Language(s){{{language}}}
Subraces{{{subraces}}}
Favored Climate{{{favored_climate}}}
Favored Terrain{{{favored_terrain}}}
Appearance
Average Height{{{height}}}
Wingspan{{{wingspan}}}
Feather Color(s){{{feathers}}}
Eye Color(s){{{eye_color}}}
Build{{{build}}}
Distinctions{{{distinctions}}}
{{Infobox Race
| name = 
| tag = 
| image = 
| caption = 
| size5e = 
| type5e = 
| tags5e = 
| alignment5e = 
| deity = 
| movement = 
| vision = 
| sleep_cycle = 
| diet = 
| lifespan = 
| homeland = 
| intelligence = 
| language = 
| subraces = 
| favored_climate = 
| favored_terrain = 
| height = 
| wingspan = 
| weight = 
| skin_color = 
| hair_color = 
| feathers = 
| eye_color = 
| build = 
| distinctions = 
}}

Parameters

name
tag
image
caption
race
gender
class
height
weight
alignment
faith
born
died
cause_of_death
occupation
spouse
children
campaign
firstsession
lasesession
setting
character_sheet

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
date_foundeddate_founded

no description

Unknownoptional
activeactive

no description

Unknownoptional
allegianceallegiance

no description

Unknownoptional
typetype

no description

Unknownoptional
rolerole

no description

Unknownoptional
sizesize

no description

Unknownoptional
headquartersheadquarters

no description

Unknownoptional
nicknamesnicknames

no description

Unknownoptional
patronpatron

no description

Unknownoptional
membersmembers

no description

Unknownoptional
leader_titleleader_title

no description

Unknownoptional
first_leaderfirst_leader

no description

Unknownoptional
current_leadercurrent_leader

no description

Unknownoptional
last_leaderlast_leader

no description

Unknownoptional
settingsetting

no description

Unknownoptional