User:Relyk/sandbox/weapon table example
From Guild Wars 2 Wiki
< User:Relyk | sandbox
Jump to navigationJump to search
Format[edit]
Hand | Weapon |
---|---|
Terrestrial | |
Main hand | |
Off hand | |
Two-handed | |
Aquatic | |
Two-handed |
Single #arraymap[edit]
{{#arraymap: Axe, Dagger, Mace, Pistol, Scepter, Sword |,|@@@| {{#ask:[[Category:{{{1|{{PAGENAME}}}}}]][[Has skin type::@@@]] |link=none |format=template |template=large icon |outro=<br style="margin-bottom:1em"> }} |}}
Seraph Axe
Seraph Dagger
Seraph Mace
Seraph Pistol
Seraph Scepter
Seraph Sword
Table[edit]
{| {{STDT|equip}} ! Hand !! Weapon |- ! colspan=2 | Terrestrial |- ! rowspan="1" | Main hand | {{#arraymap: Axe, Dagger, Mace, Pistol, Scepter, Sword |,|@@@| {{#ask:[[Category:{{{1|{{PAGENAME}}}}}]][[Has skin type::@@@]] |link=none |format=template |template=large icon |outro=<br style="margin-bottom:1em"> }} |}} |- ! rowspan="1" | Off hand | {{#arraymap: Focus, Shield, Torch, Warhorn |,|@@@| {{#ask:[[Category:{{{1|{{PAGENAME}}}}}]][[Has skin type::@@@]] |link=none |format=template |template=large icon |outro=<br style="margin-bottom:1em"> }} |}} |- ! rowspan="1" | Two-handed | {{#arraymap: Greatsword, Hammer, Longbow, Rifle, Short bow, Staff |,|@@@| {{#ask:[[Category:{{{1|{{PAGENAME}}}}}]][[Has skin type::@@@]] |link=none |format=template |template=large icon |outro=<br style="margin-bottom:1em"> }} |}} {{#ifeq:{{{showAquatic|true}}}|true| {{!}}- ! colspan=2 {{!}} Aquatic {{!}}- ! rowspan="1" {{!}} Two-handed {{!}} {{#arraymap: Harpoon gun, Spear, Trident |,|@@@| {{#ask:[[Category:{{{1|{{PAGENAME}}}}}]][[Has skin type::@@@]] |link=none |format=template |template=large icon |outro=<br style="margin-bottom:1em"> }} |}} }} |}
Hand | Weapon |
---|---|
Terrestrial | |
Main hand | |
Off hand | |
Two-handed | |
Aquatic | |
Two-handed |
Example[edit]
{{User:Relyk/sandbox/weapon table example|Seraph weapons}}
Hand | Weapon |
---|---|
Terrestrial | |
Main hand | Seraph Axe Seraph Dagger Seraph Mace Seraph Pistol Seraph Scepter Seraph Sword |
Off hand | Seraph Focus Seraph Shield Seraph Torch Seraph Warhorn |
Two-handed | Seraph Greatsword Seraph Hammer Seraph Longbow Seraph Rifle Seraph Short Bow Seraph Staff |
Aquatic | |
Two-handed | Seraph Speargun Seraph Spear Seraph Trident |
With formatting template[edit]
{| {{STDT|equip}}{{#vardefine:weapon set|{{{1|Seraph weapons}}}}} ! Hand !! Weapon |- ! colspan=2 | Terrestrial |- ! rowspan="1" | Main hand | {{User:Relyk/sandbox/weapon table example format|{{#var:weapon set}}|Axe,Dagger,Mace,Pistol,Scepter,Sword}} |- ! rowspan="1" | Off hand | {{User:Relyk/sandbox/weapon table example format|{{#var:weapon set}}|Focus,Shield,Torch,Warhorn}} |- ! rowspan="1" | Two-handed | {{User:Relyk/sandbox/weapon table example format|{{#var:weapon set}}|Greatsword,Hammer,Longbow,Rifle,Short bow,Staff}} {{#ifeq:{{{showAquatic|true}}}|true| {{!}}- ! colspan=2 {{!}} Aquatic {{!}}- ! rowspan="1" {{!}} Two-handed {{!}} {{User:Relyk/sandbox/weapon table example format|{{#var:weapon set}}|Harpoon gun, Spear, Trident}} }} |}
Hand | Weapon |
---|---|
Terrestrial | |
Main hand | Seraph Axe Seraph Dagger Seraph Mace Seraph Pistol Seraph Scepter Seraph Sword |
Off hand | Seraph Focus Seraph Shield Seraph Torch Seraph Warhorn |
Two-handed | Seraph Greatsword Seraph Hammer Seraph Longbow Seraph Rifle Seraph Short Bow Seraph Staff |
Aquatic | |
Two-handed | Seraph Speargun Seraph Spear Seraph Trident |