Template:Equipment Infobox: Difference between revisions

From Tiny Rogues Wiki
No edit summary
No edit summary
Line 3: Line 3:
  |Equipment_Type = String
  |Equipment_Type = String
  |Rarity = Integer
  |Rarity = Integer
|Equip Load = Integer
  |Effect = Wikitext
  |Effect = Wikitext
  |Attunement = Integer
  |Attunement = Integer
Line 18: Line 19:
<data source="Equipment_Type"><label>Equipment Type</label><format>[[{{{Equipment_Type}}}]] [[Category:{{{Equipment_Type}}}]]</format></data>
<data source="Equipment_Type"><label>Equipment Type</label><format>[[{{{Equipment_Type}}}]] [[Category:{{{Equipment_Type}}}]]</format></data>
         <data source="Rarity"><label>Rarity</label><format> {{#ifeq: {{{Rarity}}} | 1 | [[Category:Common]][[:Category:Common|Common]] |}}{{#ifeq: {{{Rarity}}} | 2 | [[Category:Uncommon]][[:Category:Uncommon|Uncommon]] |}}{{#ifeq: {{{Rarity}}} | 3 | [[Category:Rare]][[:Category:Rare|Rare]] |}}{{#ifeq: {{{Rarity}}} | 4 | [[Category:Epic]][[:Category:Epic|Epic]] |}}{{#ifeq: {{{Rarity}}} | 5 | [[Category:Legendary]][[:Category:Legendary|Legendary]] |}}</format></data>
         <data source="Rarity"><label>Rarity</label><format> {{#ifeq: {{{Rarity}}} | 1 | [[Category:Common]][[:Category:Common|Common]] |}}{{#ifeq: {{{Rarity}}} | 2 | [[Category:Uncommon]][[:Category:Uncommon|Uncommon]] |}}{{#ifeq: {{{Rarity}}} | 3 | [[Category:Rare]][[:Category:Rare|Rare]] |}}{{#ifeq: {{{Rarity}}} | 4 | [[Category:Epic]][[:Category:Epic|Epic]] |}}{{#ifeq: {{{Rarity}}} | 5 | [[Category:Legendary]][[:Category:Legendary|Legendary]] |}}</format></data>
<data source="Equip Load"><label>Equip Load</label></data>
<data source="Effect"><label>Effect</label></data>
<data source="Effect"><label>Effect</label></data>
<data source="Attunement"><label>Attunement</label></data>
<data source="Attunement"><label>Attunement</label></data>
</group>
</group>
</infobox>
</infobox>

Revision as of 15:18, 5 December 2023

Error: field name "Equip Load" contains whitespaces. Whitespaces of any kind are not allowed; consider using underscores ("_") instead.