Information: 0.2.5 is officially out! Please bear with us while we are working on updating the wiki. This patch is massive so a lot of work will be needed. Enjoy the game in the meantime!

Template:Weapon Infobox: Difference between revisions

From Tiny Rogues Wiki
No edit summary
No edit summary
Line 25: Line 25:
  <image source="image"><default>{{PAGENAME}}.png</default></image>
  <image source="image"><default>{{PAGENAME}}.png</default></image>
<group>
<group>
<data source="Weapon_Type"><label>Weapon Type:</label><format></format></data>
<data source="Weapon_Type"><label>Weapon Type:</label></data>
<data source="Attack_Type"><label>Attack Type</label><format>{{#replaceset:{{{Attack_Type|}}}|/(\w+)/i=\1|Physical={{Physical}}[[Category:Physical]]|Slash={{Slash}} [[Category:Slash]]|Strike = {{Strike}} [[Category:Strike]]|Thrust={{Thrust}} [[Category:Thrust]]|AoE={{AoE}} [[Category:AoE]]|Lightning={{Lightning}} [[Category:Lightning]]‎ |Holy={{Holy}} [[Category:Holy]]‎|Fire={{Fire}} [[Category:Fire]]‎|Elemental={{Elemental}} [[Category:Elemental]]‎| Cold={{Cold}} [[Category:Cold]]‎| Poison = {{Poison}} [[Category:Poison]]‎| Dark = {{Dark}} [[Category:Dark]]‎| Magical = {{Magical}} [[Category:Magical]]‎| Sound = {{Sound}} [[Category:Sound]]‎|Nature = {{Nature}} [[Category:Nature]]‎}}</format></data>
<data source="Attack_Type"><label>Attack Type</label><format>{{#replaceset:{{{Attack_Type|}}}|/(\w+)/i=\1|Physical={{Physical}}[[Category:Physical]]|Slash={{Slash}} [[Category:Slash]]|Strike = {{Strike}} [[Category:Strike]]|Thrust={{Thrust}} [[Category:Thrust]]|AoE={{AoE}} [[Category:AoE]]|Lightning={{Lightning}} [[Category:Lightning]]‎ |Holy={{Holy}} [[Category:Holy]]‎|Fire={{Fire}} [[Category:Fire]]‎|Elemental={{Elemental}} [[Category:Elemental]]‎| Cold={{Cold}} [[Category:Cold]]‎| Poison = {{Poison}} [[Category:Poison]]‎| Dark = {{Dark}} [[Category:Dark]]‎| Magical = {{Magical}} [[Category:Magical]]‎| Sound = {{Sound}} [[Category:Sound]]‎|Nature = {{Nature}} [[Category:Nature]]‎}}</format></data>
         <data source="Rarity"><label>Rarity:</label><format> {{#ifeq: {{{Rarity}}} | C | [[Category:Common]][[:Category:Common|Common]] |}}{{#ifeq: {{{Rarity}}} | U | [[Category:Uncommon]][[:Category:Uncommon|Uncommon]] |}}{{#ifeq: {{{Rarity}}} | R | [[Category:Rare]][[:Category:Rare|Rare]] |}}{{#ifeq: {{{Rarity}}} | E | [[Category:Epic]][[:Category:Epic|Epic]] |}}{{#ifeq: {{{Rarity}}} | L | [[Category:Legendary]][[:Category:Legendary|Legendary]] |}}</format></data>
         <data source="Rarity"><label>Rarity:</label><format> {{#ifeq: {{{Rarity}}} | C | [[Category:Common]][[:Category:Common|Common]] |}}{{#ifeq: {{{Rarity}}} | U | [[Category:Uncommon]][[:Category:Uncommon|Uncommon]] |}}{{#ifeq: {{{Rarity}}} | R | [[Category:Rare]][[:Category:Rare|Rare]] |}}{{#ifeq: {{{Rarity}}} | E | [[Category:Epic]][[:Category:Epic|Epic]] |}}{{#ifeq: {{{Rarity}}} | L | [[Category:Legendary]][[:Category:Legendary|Legendary]] |}}</format></data>

Revision as of 16:22, 16 April 2023

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