Template:Infobox test/doc: Difference between revisions

From Stiles Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(18 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 settlements.
This template can be used to add at-a-glance information for continents.
== 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 Settlement
{{Infobox Race
| 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>
</pre>
Line 49: Line 71:
; <code>name</code>:  
; <code>name</code>:  
; <code>tag</code>:  
; <code>tag</code>:  
; <code>settlement_type</code>:
; <code>image</code>:  
; <code>image</code>:  
; <code>caption</code>:  
; <code>caption</code>:  
; <code>country</code>:  
; <code>race</code>:  
; <code>founded_in</code>:  
; <code>gender</code>:  
; <code>founded_by</code>:  
; <code>class</code>:  
; <code>government</code>:  
; <code>height</code>:  
; <code>leader_title</code>:  
; <code>weight</code>:  
; <code>leader_name</code>:  
; <code>alignment</code>:  
; <code>area</code>:  
; <code>faith</code>:  
; <code>elevation</code>:  
; <code>born</code>:  
; <code>population</code>:  
; <code>died</code>:  
; <code>demonym</code>:  
; <code>cause_of_death</code>:  
; <code>languages</code>:  
; <code>occupation</code>:  
; <code>temples</code>:  
; <code>spouse</code>:
; <code>children</code>:
; <code>campaign</code>:
; <code>firstsession</code>:
; <code>lasesession</code>:  
; <code>setting</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 71: 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 169: 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