Template:Infobox test/doc: Difference between revisions

From Stiles Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 57: Line 57:
; <code>name</code>:  
; <code>name</code>:  
; <code>tag</code>:  
; <code>tag</code>:  
; <code>continent</code>:
; <code>image</code>:  
; <code>image</code>:  
; <code>caption</code>:  
; <code>caption</code>:  
; <code>rarity</code>:  
; <code>capital</code>:  
; <code>type</code>:  
; <code>largest_city</code>:  
; <code>attunement</code>:  
; <code>language</code>:  
; <code>cursed</code>:  
; <code>people</code>:  
; <code>value</code>:  
; <code>religion</code>:  
; <code>creator</code>:  
; <code>demonym</code>:  
; <code>location</code>:  
; <code>founded</code>:  
; <code>firstappears</code>:  
; <code>founded_by</code>:  
; <code>lastappears</code>:  
; <code>government</code>:
; <code>leader_title</code>:
; <code>leader_name</code>:
; <code>area</code>:
; <code>population</code>:
; <code>elevation</code>:
; <code>setting</code>:  


==TemplateData==
==TemplateData==

Revision as of 19:02, 24 May 2022

This template can be used to add at-a-glance information on TTRPG campaigns.

Usage

{{{name}}}
{{{tag}}}
{{{image}}}
{{{caption}}}
General Information
Language(s){{{language}}}
{{Infobox Country
| name = 
| tag = 
| continent = 
| image = 
| caption = 
| capital = 
| largest_city = 
| language = 
| people = 
| religion = 
| demonym = 
| founded = 
| founded_by = 
| government = 
| leader_title = 
| leader_name = 
| area = 
| population = 
| elevation = 
| setting = 
}}

Parameters

name
tag
continent
image
caption
capital
largest_city
language
people
religion
demonym
founded
founded_by
government
leader_title
leader_name
area
population
elevation
setting

TemplateData

TemplateData documentation used by VisualEditor and other tools

TemplateData for Infobox test

No description.

Template parameters

ParameterDescriptionTypeStatus
Namename

name of the item

Default
{{PAGENAME}}
Stringoptional
Tagtag

tag line of the item

Stringoptional
Imageimage

image of the item

Filesuggested
Captioncaption

caption of the image

Stringoptional
Rarityrarity

rarity of the item

Default
Common
Example
Legendary
Stringrequired
Typetype

the item type

Example
Trinket
Stringsuggested
Attunementattunement

if the item requires attunement, input yes, otherwise leave blank

Stringoptional
Cursedcursed

if the item is cursed input yes, otherwise leave blank

Stringoptional
Valuevalue

the price the item goes for

Stringsuggested
Creatorcreator

who created the item

Stringoptional
Locationlocation

for unique items, where is it currently if known

Stringoptional
First Appearancefirstappears

what session did the item first appear in

Stringoptional
Latest Appearancelastappears

the latest session the item appeared in, if different from first appearance

Unknownoptional