Difference between revisions of "Template:Weapon"
Jump to navigation
Jump to search
SurtrFan8511 (talk | contribs) |
|||
(12 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 | | 6 | 横一文字 | wide slash | wide-slash | long slash = 横一文字 | ||
| 7 | 狙撃 | 狙 | snipe = 狙撃 | | 7 | 狙撃 | 狙 | snipe = 狙撃 | ||
| 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
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}}
{{Weapon|横一文字}}
The above documentation is transcluded from Template:Weapon/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |