Template:Infobox Item/doc: Difference between revisions

From Stiles Wiki
Jump to navigation Jump to search
(Created page with "{{Documentation subpage}} <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata --> {{Lua|Module:Infobox}} This template can be used to add at-a-glance information on TTRPG campaigns. == Usage == {{Parameter names example | name | tag | image | caption | rarity | type | attunement | cursed | value | creator | location | firstappears | lastappears }} <pre style="overflow:auto;"> {{Infobox Item | name = | tag = | image = |...")
 
No edit summary
Line 140: Line 140:
<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 Item}}
}}</includeonly>
}}</includeonly>

Revision as of 09:30, 22 May 2022

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

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
tag
image
caption
rarity
type
attunement
cursed
value
creator
location
firstappears
lastappears

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