Template:Infobox test/doc: Difference between revisions

From Stiles Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(28 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
Line 11: Line 9:
| image
| image
| caption
| caption
| rarity
| size5e
| type
| type5e
| attunement
| tags5e
| cursed
| alignment5e
| value
| deity
| creator
| movement
| location
| vision
| firstappears
| sleep_cycle
| lastappears
| 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 Item
{{Infobox Race
| name =  
| name =  
| tag =  
| tag =  
| image =  
| image =  
| caption =  
| caption =  
| rarity =  
| size5e =  
| type =  
| type5e =  
| attunement =  
| tags5e =  
| cursed =  
| alignment5e =  
| value =  
| deity =  
| creator =  
| movement =  
| location =  
| vision =  
| firstappears =  
| sleep_cycle =  
| lastappears =  
| 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>:  
; <code>name</code>:  
Line 45: Line 73:
; <code>image</code>:  
; <code>image</code>:  
; <code>caption</code>:  
; <code>caption</code>:  
; <code>rarity</code>:  
; <code>race</code>:  
; <code>type</code>:  
; <code>gender</code>:  
; <code>attunement</code>:  
; <code>class</code>:  
; <code>cursed</code>:  
; <code>height</code>:  
; <code>value</code>:  
; <code>weight</code>:  
; <code>creator</code>:  
; <code>alignment</code>:  
; <code>location</code>:  
; <code>faith</code>:  
; <code>firstappears</code>:  
; <code>born</code>:  
; <code>lastappears</code>:  
; <code>died</code>:  
 
; <code>cause_of_death</code>:
; <code>occupation</code>:
; <code>spouse</code>:
; <code>children</code>:
; <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 61: Line 97:
{
{
"params": {
"params": {
"name": {
"name": {},
"label": "Name",
"tag": {},
"description": "name of the item",
"image": {},
"type": "string",
"caption": {},
"default": "{{PAGENAME}}"
"date_founded": {},
},
"active": {},
"tag": {
"allegiance": {},
"label": "Tag",
"type": {},
"description": "tag line of the item",
"role": {},
"type": "string"
"size": {},
},
"headquarters": {},
"image": {
"nicknames": {},
"label": "Image",
"patron": {},
"description": "image of the item",
"members": {},
"type": "wiki-file-name",
"leader_title": {},
"suggested": true
"first_leader": {},
},
"current_leader": {},
"caption": {
"last_leader": {},
"label": "Caption",
"setting": {}
"description": "caption of the image",
"type": "string"
},
"rarity": {
"label": "Rarity",
"description": "rarity of the item",
"example": "Legendary",
"type": "string",
"default": "Common",
"required": true
},
"type": {
"label": "Type",
"description": "the item type",
"example": "Trinket",
"type": "string",
"suggested": true
},
"attunement": {
"label": "Attunement",
"description": "if the item requires attunement, input yes, otherwise leave blank",
"type": "string"
},
"cursed": {
"label": "Cursed",
"description": "if the item is cursed input yes, otherwise leave blank",
"type": "string"
},
"value": {
"label": "Value",
"description": "the price the item goes for",
"type": "string",
"suggested": true
},
"creator": {
"label": "Creator",
"description": "who created the item",
"type": "string"
},
"location": {
"label": "Location",
"description": "for unique items, where is it currently if known",
"type": "string"
},
"firstappears": {
"label": "First Appearance",
"description": "what session did the item first appear in",
"type": "string"
},
"lastappears": {
"label": "Latest Appearance",
"description": "the latest session the item appeared in, if different from first appearance"
}
}
}
}
}
</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>

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