Template:Weapon Infobox: Difference between revisions

From Tiny Rogues Wiki
No edit summary
No edit summary
Line 1: Line 1:
<noinclude>{{#cargo_declare:_table=Weapon_Infobox
<noinclude>{{#cargo_declare:_table=Weapon_Infobox
  |Weapon_Type = Wikitext
  |Weapon_Type = Wikitext
|Attack_Type = Wikitext
  |Rarity = Wikitext
  |Rarity = Wikitext
  |Hand = Wikitext
  |Hand = Wikitext
Line 20: Line 19:
<group>
<group>
<data source="Weapon_Type"><label>Weapon Type:</label></data>
<data source="Weapon_Type"><label>Weapon Type:</label></data>
<data source="Attack_Type"><label>Attack Type:</label></data>
         <data source="Rarity"><label>Rarity:</label><format>{{#ifeq: {{{Rarity}}} | C | {{Common}} |}}{{#ifeq: {{{Rarity}}} | U | {{Uncommon}} |}}{{#ifeq: {{{Rarity}}} | R | {{Rare}} |}}{{#ifeq: {{{Rarity}}} | E | {{Epic}}|}}{{#ifeq: {{{Rarity}}} | L | {{Legendary}}|}}</format></data>
         <data source="Rarity"><label>Rarity:</label><format>{{#ifeq: {{{Rarity}}} | C | {{Common}} |}}{{#ifeq: {{{Rarity}}} | U | {{Uncommon}} |}}{{#ifeq: {{{Rarity}}} | R | {{Rare}} |}}{{#ifeq: {{{Rarity}}} | E | {{Epic}}|}}{{#ifeq: {{{Rarity}}} | L | {{Legendary}}|}}</format></data>
         <data source="Hand"><label>Handling:</label><format>{{#ifeq: {{{Hand}}} | 1 | {{One-Handed}} |}} {{#ifeq: {{{Hand}}} | 2 | {{Two-Handed}}|}}</format></data>
         <data source="Hand"><label>Handling:</label><format>{{#ifeq: {{{Hand}}} | 1 | {{One-Handed}} |}} {{#ifeq: {{{Hand}}} | 2 | {{Two-Handed}}|}}</format></data>

Revision as of 03:47, 23 December 2023

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