Template:Item Infobox: Difference between revisions

From Tiny Rogues Wiki
(missing closing tag)
Tag: Reverted
(finally)
Tag: Manual revert
 
(10 intermediate revisions by the same user not shown)
Line 4: Line 4:
  |Effect = Wikitext
  |Effect = Wikitext
}}
}}
</noinclude>
</noinclude><includeonly>{{#cargo_store:_table=Item_Infobox}}
<includeonly>
<infobox>
{{#cargo_store:_table=Item_Infobox}}
  <title source="name">
<infobox><title source="name">
     <default><center><p style="color:{{#switch: {{{Rarity}}}  
     <default><center><p style="color:{{#switch: {{{Rarity}}}  
       | 1 = #7b7c85  
       | 1 = #7b7c85  
Line 23: Line 22:
   <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>
<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></infobox></includeonly>
</group>
</infobox></includeonly>

Latest revision as of 04:04, 1 December 2024

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