Template:Infobox Item/doc: Difference between revisions
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 |
||
(2 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 on TTRPG items. | |||
This template can be used to add at-a-glance information on TTRPG | |||
== Usage == | == Usage == | ||
{{Parameter names example | {{Parameter names example | ||
Line 21: | Line 19: | ||
| lastappears | | lastappears | ||
}} | }} | ||
<pre style="overflow:auto;"> | <pre style="overflow:auto;"> | ||
{{Infobox Item | {{Infobox Item | ||
| name = | | name = | ||
| tag = | | tag = | ||
| image = | <!-- Images --> | ||
| caption = | | image = | ||
| rarity = | | caption = | ||
| type = | <!-- 5e Stats --> | ||
| attunement = | | rarity = | ||
| cursed = | | type = | ||
| value = | | attunement = | ||
| creator = | | cursed = | ||
| location = | | value = | ||
| firstappears = | <!-- Unique --> | ||
| lastappears = | | creator = | ||
| location = | |||
<!--Appearances--> | |||
| firstappears = | |||
| lastappears = | |||
}} | }} | ||
</pre> | </pre> | ||
== 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== | ||
{{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 137: | Line 136: | ||
</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 | {{DEFAULTSORT:Infobox Item}} | ||
}}</includeonly> | }}</includeonly> |
Latest revision as of 09:25, 30 May 2022
This is a documentation subpage for Template:Infobox Item. It contains usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
This template can be used to add at-a-glance information on TTRPG items.
Usage
{{{name}}} | |
---|---|
{{{tag}}} | |
{{{image}}} | |
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 = <!-- Images --> | image = | caption = <!-- 5e Stats --> | rarity = | type = | attunement = | cursed = | value = <!-- Unique --> | creator = | location = <!--Appearances--> | 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.
|