Шаблон:Weapon type infobox — различия между версиями
Материал из Guild Wars 2 wiki
Blood (обсуждение | вклад) |
Blood (обсуждение | вклад) |
||
Строка 18: | Строка 18: | ||
-->{{#if: {{{crafted by|}}} | | -->{{#if: {{{crafted by|}}} | | ||
;[[Crafting|Создание]] | ;[[Crafting|Создание]] | ||
− | :{{#arraymap: {{{crafted by|}}} |;|@@@|{{@@@}} [[{{ucfirst:@@@}}]]|<br>}} }} | + | :{{#arraymap: {{{crafted by|}}} |;|@@@|{{@@@}} [[{{ucfirst:@@@}}|{{rus lang|crafting discipline|@@@}}]]|<br>}} }} |
</div>{{#if: {{{gallery1|}}}| <!-- Show gallery --> | </div>{{#if: {{{gallery1|}}}| <!-- Show gallery --> | ||
{{{!}} style="width:100%" | {{{!}} style="width:100%" |
Версия 13:19, 7 ноября 2019
Содержание
Description
This infobox is used on weapon type overview pages, e.g. Axe, to specifiy the weapon usability and the crafting discipline.
Usage
{{Weapon type infobox | name = | description = | quotation = | type = | used by = | used by main = | used by off = | crafted by = | gallery1 = | gallery1-text = }}
Parameters
- name
- Optional. Weapon type name. Defaults to the page name.
- description
- Optional. Description.
- quotation
- Optional. Description quotation.
- type
- Optional. Wielding type, either "One-handed", "Main-hand", "Off-hand", "Two-handed" or "Aquatic". Automatically displays the suffix weapon.
- used by
- Optional. List of professions or specializations, seperated by ";", that can use this two-handed weapon or this one-handed weapon.
- used by main
- Optional. List of professions or specializations, seperated by ";", that can use this one-handed weapon in main-hand only (use "used by" for main-hand only weapons, e.g. Scepter). Subheader Main-hand only.
- used by off
- Optional. List of professions or specializations, seperated by ";", that can use this one-handed weapon in off-hand only (use "used by" for off-hand only weapons, e.g. Shield). Subheader Off-hand only.
- crafted by
- Optional. List of crafting disciplines, seperated by ";", that can craft this weapon.
- gallery1 ... gallery5
- Optional. Gallery images.
- gallery1-text ... gallery5-text
- Optional. Gallery image descriptions.
Example
{{Weapon type infobox | name = Axe | description = This is an axe. | type = One-handed | used by = Warrior; Ranger | used by main = Firebrand; Necromancer; Mirage | used by off = Revenant | crafted by = Weaponsmith | gallery1 = Axe concept art.jpg | gallery1-text = Axe concept art. }}
“This is an axe.
— Внутриигровое описание