Template:Item Infobox: Difference between revisions

From Tiny Rogues Wiki
No edit summary
(finally)
Tag: Manual revert
 
(16 intermediate revisions by 2 users not shown)
Line 4: Line 4:
  |Effect = Wikitext
  |Effect = Wikitext
}}
}}
</noinclude>
</noinclude><includeonly>{{#cargo_store:_table=Item_Infobox}}
<includeonly>
{{#cargo_store:_table=Item_Infobox}}
<infobox>
<infobox>
   <title source="name">
   <title source="name">
Line 21: Line 19:
  <image source="image"><default>{{PAGENAMEE}}.png</default></image>
  <image source="image"><default>{{PAGENAMEE}}.png</default></image>
<group>
<group>
<data source="Item_Type"><label><span style="color:#82838e; font-weight:bold">Equipment Type:</span></label><format>[[{{{Item_Type}}}]]</format></data>
<data source="Item_Type"><label><span style="color:#82838e; font-weight:bold">Item Type:</span></label><format>[[{{{Item_Type}}}]][[Category:{{{Item_Type}}}]]</format></data>
   <data source="Rarity"><label><span style="color:#82838e; font-weight:bold">Rarity:</span></label><format>{{#ifeq: {{{Rarity}}} | 1 | {{Common}} |}} {{#ifeq: {{{Rarity}}} | 2 | {{Uncommon}} |}}{{#ifeq: {{{Rarity}}} | 3 | {{Rare}} |}}{{#ifeq: {{{Rarity}}} | 4 | {{Epic}} |}}{{#ifeq: {{{Rarity}}} | 5 | {{Legendary}}|}}</format></data>
   <data source="Rarity"><label><span style="color:#82838e; font-weight:bold">Rarity:</span></label><format>{{#ifeq: {{{Rarity}}} | 1 | {{Common}} |}} {{#ifeq: {{{Rarity}}} | 2 | {{Uncommon}} |}}{{#ifeq: {{{Rarity}}} | 3 | {{Rare}} |}}{{#ifeq: {{{Rarity}}} | 4 | {{Epic}} |}}{{#ifeq: {{{Rarity}}} | 5 | {{Legendary}}|}}</format></data>
<data source="Effect"><label><span style="color:#82838e; font-weight:bold">Effect:</span></label><format><p style="padding-top:10px; padding-bottom:10px">{{{Effect}}}</p></format></data>[[Category:{{{Item_Type}}}]]
<data source="Effect"><label><span style="color:#82838e; font-weight:bold">Effect:</span></label><format><p style="padding-top:10px; padding-bottom:10px">{{{Effect}}}</p></format></data>
</group>
</group>
</infobox>
</infobox></includeonly>

Latest revision as of 04:04, 1 December 2024

This template defines the table "Item_Infobox". View table.