Template:Infobox Item: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 3: | Line 3: | ||
|above = {{#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}}}} | |above = {{#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}}}} | ||
|subheader = {{{tag|}}} | |subheader = {{{tag|}}} | ||
|image = | |image = {{{image|}}} | ||
|caption = {{{caption|}}} | |caption = {{{caption|}}} | ||
|label1 = Rarity | |label1 = Rarity | ||
| Line 16: | Line 16: | ||
|data5 = {{{value|}}} | |data5 = {{{value|}}} | ||
|label6 = Creator | |label6 = Creator | ||
|data6 = | |data6 = {{{creator|}}} | ||
|label7 = Current Location | |label7 = Current Location | ||
|data7 = {{{location|}}} | |data7 = {{{location|}}} | ||
|label8 = First Appearance | |label8 = First Appearance | ||
|data8 = | |data8 = {{{firstappears|}}} | ||
|label9 = Latest Appearance | |label9 = Latest Appearance | ||
|data9 = | |data9 = {{{lastappears|}}} | ||
|aboveclass = mergedtoprow name | |aboveclass = mergedtoprow name | ||
Revision as of 18:51, 25 May 2022
| This template uses Lua: |
This template can be used to add at-a-glance information on TTRPG items.
Usage
| {{{name}}} | |
|---|---|
| {{{tag}}} | |
| {{{image}}} {{{caption}}} | |
| Rarity | [[:Category:{{{rarity}}} Items|{{{rarity}}}]] |
| Type | [[:Category:{{{type}}}s|{{{type}}}]] |
| Attunement? | Yes |
| Cursed? | Yes |
| Value | {{{value}}} |
| Creator | {{{creator}}} |
| Current Location | {{{location}}} |
| 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.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||