Difference between revisions of "Template:Weapon"

From Tokyo Afterschool Summoners
Jump to navigation Jump to search
 
(14 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Weapon:{{#switch:{{lc:{{{1|}}}}}
<includeonly><onlyinclude>{{Weapon:{{#vardefineecho:weapon kanji|{{#switch:{{lc:{{{1|}}}}}
| 0 | 無し | nothing | typeless = 無し
| 0 | 無し | nothing | typeless = 無し
| 1 | 斬撃 | 斬 | slash = 斬撃
| 1 | 斬撃 | 斬 | slash = 斬撃
Line 6: Line 6:
| 4 | 射撃 | 射 | ranged | shot = 射撃
| 4 | 射撃 | 射 | ranged | shot = 射撃
| 5 | 魔法 | 魔 | magic = 魔法
| 5 | 魔法 | 魔 | magic = 魔法
| 6 | 横一文字 | wide slash | wide-slash | long slash = 横一文字
| 7 | 狙撃 | 狙 | snipe = 狙撃
| 7 | 狙撃 | 狙 | snipe = 狙撃
| 6 | 横一文字 | wide slash | wide-slash | wide-slash | long slash = 横一文字
| 8 | 全武 | 全域 | all | all-round | warrior = 全域
| 8 | 全武 | 全域 | all | all-round | warrior = 全域
| 9 | 無 | none = 無
| 9 | 無 | none = 無
|#default = 無し
|#default = 無し
}}}}
}}}}}}{{#if:{{NAMESPACE}}||{{#if:{{#ask:[[{{PAGENAME}}]][[Category:Skills]]}}|[[Category:Skill that resists {{Weapon type|{{#var:weapon kanji}}}}]]}}}}</includeonly></onlyinclude>
<noinclude>{{Documentation}}</noinclude>

Latest revision as of 15:11, 20 May 2020

Template documentation[view] [edit] [history] [purge]

Description

This template is used to display a given weapon type in a proper fancy format. It takes the weapon's English or Japanese name as the only argument.

Eligible English names for each weapon type:

  • Slash: Slash
  • Thrust: Thrust, Pierce
  • Blow: Blow, Strike
  • Shot: Shot, Ranged
  • Magic: Magic
  • Long Slash: Long Slash, Wide Slash, Wide-slash
  • Snipe: Snipe
  • All: All, All-round, Warrior
  • None: None

Usage

{{Weapon|Thrust}}

0.55x ATK penaltyThrust

{{Weapon|横一文字}}

0.32x ATK penaltyLong Slash