Template:Infobox Item/doc: Difference between revisions

From Stiles Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
{{Lua|Module:Infobox}}
{{Lua|Module:Infobox}}


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


== Usage ==
== Usage ==
Line 41: Line 41:


== Parameters ==
== Parameters ==
; <code>name</code>:  
; <code>name</code>: name of the item
; <code>tag</code>:  
; <code>tag</code>: tag line of the item
; <code>image</code>:  
; <code>image</code>: image of the item
; <code>caption</code>:  
; <code>caption</code>: caption of the image
; <code>rarity</code>:  
; <code>rarity</code>: rarity of the item
; <code>type</code>:  
; <code>type</code>: the item type
; <code>attunement</code>:  
; <code>attunement</code>: if the item requires attunement, input yes, otherwise leave blank
; <code>cursed</code>:  
; <code>cursed</code>: if the item is cursed input yes, otherwise leave blank
; <code>value</code>:  
; <code>value</code>: the price the item goes for
; <code>creator</code>:  
; <code>creator</code>: for unique items, who created the item
; <code>location</code>:  
; <code>location</code>: for unique items, where is it currently if known
; <code>firstappears</code>:  
; <code>firstappears</code>: what session did the item first appear in
; <code>lastappears</code>:  
; <code>lastappears</code>: the latest session the item appeared in, if different from first appearance


==TemplateData==
==TemplateData==

Revision as of 15:40, 29 May 2022

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

Usage

{{{name}}}
{{{tag}}}
{{{image}}}
{{{caption}}}
5e Statistics
Rarity[[:Category:{{{rarity}}} Items|{{{rarity}}}]]
Type[[:Category:{{{type}}}s|{{{type}}}]]
Attunement?Yes
Cursed?Yes
Value{{{value}}}
Unique Item
Creator{{{creator}}}
Current Location{{{location}}}
Appearances
First Appearance{{{firstappears}}}
Latest Appearance{{{lastappears}}}
{{Infobox Item
| name = 
| tag = 
| image = 
| caption = 
| rarity = 
| type = 
| attunement = 
| cursed = 
| value = 
| creator = 
| location = 
| firstappears = 
| lastappears = 
}}

Parameters

name
name of the item
tag
tag line of the item
image
image of the item
caption
caption of the image
rarity
rarity of the item
type
the item type
attunement
if the item requires attunement, input yes, otherwise leave blank
cursed
if the item is cursed input yes, otherwise leave blank
value
the price the item goes for
creator
for unique items, who created the item
location
for unique items, where is it currently if known
firstappears
what session did the item first appear in
lastappears
the latest session the item appeared in, if different from first appearance

TemplateData

TemplateData documentation used by VisualEditor and other tools

TemplateData for Infobox Item

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