Template:Item Infobox: Difference between revisions

From Tiny Rogues Wiki
No edit summary
No edit summary
Line 2: Line 2:
{{#cargo_declare:_table=Item_Infobox
{{#cargo_declare:_table=Item_Infobox
  |Item_Type = Wikitext
  |Item_Type = Wikitext
|Rarity = Integer
  |Effect = Wikitext
  |Effect = Wikitext
}}
}}
Line 27: Line 26:
<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>
</group>
</infobox>{{#switch: {{{Rarity}}}
</infobox>
| 1 = {{#css:.portable-infobox {border-color: #7b7c85;} }}
| 2 = {{#css:.portable-infobox {border-color: #61ceee;} }}
| 3 = {{#css:.portable-infobox {border-color: #e1c969;} }}
| 4 = {{#css:.portable-infobox {border-color: #b100fc;} }}
| 5 = {{#css:.portable-infobox {border-color: #f64e00;} }}
| 6 = {{#css:.portable-infobox {border-color: #00af00;} }}}}

Revision as of 17:52, 22 January 2024

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