Jump to content

Template:Infobox item: Difference between revisions

From Elysium D&D
Seddik (talk | contribs)
No edit summary
Seddik (talk | contribs)
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{| class="infobox" style="width:300px; float:right; border:1px solid #999;"
<includeonly>{{Infobox
! colspan="2" style="text-align:center; font-size:110%; color:#fff;" | {{{name|Unnamed Item}}}
| class     = {{#switch:{{{rarity|}}}
|-
  |Common=rarity-common|Uncommon=rarity-uncommon|Rare=rarity-rare
| colspan="2" style="text-align:center;" | [[File:{{{image}}}|250px]]
  |Very Rare=rarity-veryrare|Legendary=rarity-legendary|Artifact=rarity-artifact
|-
  |#default=
! Type
}}
| {{{type|}}}
| title    = {{{name|{{PAGENAME}}}}}
|-
| image    = {{{image|}}}
! Rarity
| imagesize = {{{imagesize|220px}}}
| {{{rarity|}}}
| caption  = {{{caption|}}}
|-
| subtitle  = {{{rarity|}}} {{#if:{{{attunement|}}}| ({{{attunement}}})}}
! Attunement
 
| {{{attunement|None}}}
| header1 = Item Details
|-
| label2  = Type       | data2 = {{{type|}}}
! Properties
| label3  = Rarity     | data3 = {{{rarity|}}}
| {{{properties|}}}
| label4  = Attunement | data4 = {{{attunement|None}}}
|-
 
! Origin
| header5 = Properties
| {{{origin|}}}
| data6  = {{{properties|}}}
|-
 
! Owner
| header7 = Lore
| {{{owner|}}}
| label8  = Origin | data8 = {{{origin|}}}
|}</includeonly><noinclude>
| label9  = Owner  | data9 = {{{owner|Unclaimed}}}
| label10 = Party  | data10 = {{{party|}}}
 
| below = {{{quote|}}}
}}{{#if:{{{category|}}}|[[Category:{{{category}}}]]}}[[Category:Magic Items]]</includeonly><noinclude>
== Usage ==
== Usage ==
<pre>
<pre>
Line 27: Line 31:
| name =  
| name =  
| image =  
| image =  
| caption =
| type =  
| type =  
| rarity =  
| rarity =  
Line 33: Line 38:
| origin =  
| origin =  
| owner =  
| owner =  
| party =
| quote =
| category =
}}
}}
</pre>
</pre>
'''Rarity''' accepts: Common, Uncommon, Rare, Very Rare, Legendary, Artifact (controls title bar color).
</noinclude>
</noinclude>

Latest revision as of 16:43, 10 August 2026

Usage

{{Infobox Item
| name = 
| image = 
| caption = 
| type = 
| rarity = 
| attunement = 
| properties = 
| origin = 
| owner = 
| party = 
| quote = 
| category = 
}}

Rarity accepts: Common, Uncommon, Rare, Very Rare, Legendary, Artifact (controls title bar color).