Template:Infobox Item/doc: Difference between revisions

no edit summary
No edit summary
No edit summary
 
(One intermediate revision 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 campaigns.
 
== 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 Item}}
{{DEFAULTSORT:Infobox Item}}
}}</includeonly>
}}</includeonly>