Шаблон:Crafting component overview table — различия между версиями
Материал из Guild Wars 2 wiki
Blood (обсуждение | вклад) (Новая страница: «{{#vardefine:tiers|{{#switch: {{{material|}}} | wood = Green {{{1|{{PAGENAME}}}}},Soft {{{1|{{PAGENAME}}}}},Seasoned {{{1|{{PAGENAME}}}}},Hard {{{1|{{PAGENAME}}}…») |
|||
Строка 1: | Строка 1: | ||
{{#vardefine:tiers|{{#switch: {{{material|}}} | {{#vardefine:tiers|{{#switch: {{{material|}}} | ||
− | | wood = Green {{{1|{{PAGENAME}}}}},Soft {{{1|{{PAGENAME}}}}},Seasoned {{{1|{{PAGENAME}}}}},Hard {{{1|{{PAGENAME}}}}},Elder {{{1|{{PAGENAME}}}}},Ancient {{{1|{{PAGENAME}}}}},Spiritwood {{{1|{{PAGENAME}}}}} | + | | wood = {{{green|{{{prefix|}}} Green {{{1|{{PAGENAME}}}}}}}},{{{soft|{{{prefix|}}} Soft {{{1|{{PAGENAME}}}}}}}},{{{seasoned|{{{prefix|}}} Seasoned {{{1|{{PAGENAME}}}}}}}},{{{hard|{{{prefix|}}} Hard {{{1|{{PAGENAME}}}}}}}},{{{elder|{{{prefix|}}} Elder {{{1|{{PAGENAME}}}}}}}},{{{ancient|{{{prefix|}}} Ancient {{{1|{{PAGENAME}}}}}}}},{{{oiled ancient|{{{prefix|}}} Oiled Ancient {{{1|{{PAGENAME}}}}}}}},{{{spiritwood| {{{prefix|}}} Spiritwood {{{1|{{PAGENAME}}}}}}}} |
− | | leather = Rawhide {{{1|{{PAGENAME}}}}},Thin {{{1|{{PAGENAME}}}}},Coarse {{{1|{{PAGENAME}}}}},Rugged {{{1|{{PAGENAME}}}}},Thick {{{1|{{PAGENAME}}}}},Hardened {{{1|{{PAGENAME}}}}},Elonian {{{1|{{PAGENAME}}}}} | + | | leather = {{{rawhide|Rawhide {{{1|{{PAGENAME}}}}}}}},{{{thin|Thin {{{1|{{PAGENAME}}}}}}}},{{{coarse|Coarse {{{1|{{PAGENAME}}}}}}}},{{{rugged|Rugged {{{1|{{PAGENAME}}}}}}}},{{{thick|Thick {{{1|{{PAGENAME}}}}}}}},{{{hardened|Hardened {{{1|{{PAGENAME}}}}}}}},{{{oiled hardened|Oiled Hardened {{{1|{{PAGENAME}}}}}}}},{{{elonian|Elonian {{{1|{{PAGENAME}}}}}}}} |
− | | cloth = Jute {{{1|{{PAGENAME}}}}},Wool {{{1|{{PAGENAME}}}}},Cotton {{{1|{{PAGENAME}}}}},Linen {{{1|{{PAGENAME}}}}},Silk {{{1|{{PAGENAME}}}}},Gossamer {{{1|{{PAGENAME}}}}},Damask {{{1|{{PAGENAME}}}}} | + | | cloth = {{{jute|Jute {{{1|{{PAGENAME}}}}}}}},{{{wool|Wool {{{1|{{PAGENAME}}}}}}}},{{{cotton|Cotton {{{1|{{PAGENAME}}}}}}}},{{{linen|Linen {{{1|{{PAGENAME}}}}}}}},{{{silk|Silk {{{1|{{PAGENAME}}}}}}}},{{{gossamer|Gossamer {{{1|{{PAGENAME}}}}}}}},{{{oiled gossamer|Oiled Gossamer {{{1|{{PAGENAME}}}}}}}},{{{damask|Damask {{{1|{{PAGENAME}}}}}}}} |
− | | metal = Bronze {{{1|{{PAGENAME}}}}},Iron {{{1|{{PAGENAME}}}}},Steel {{{1|{{PAGENAME}}}}},Darksteel {{{1|{{PAGENAME}}}}},Mithril {{{1|{{PAGENAME}}}}},Orichalcum {{{1|{{PAGENAME}}}}},Deldrimor Steel {{{1|{{PAGENAME}}}}} | + | | metal = {{{bronze|Bronze {{{1|{{PAGENAME}}}}}}}},{{{iron|Iron {{{1|{{PAGENAME}}}}}}}},{{{steel|Steel {{{1|{{PAGENAME}}}}}}}},{{{darksteel|Darksteel {{{1|{{PAGENAME}}}}}}}},{{{mithril|Mithril {{{1|{{PAGENAME}}}}}}}},{{{orichalcum|Orichalcum {{{1|{{PAGENAME}}}}}}}},{{{oiled orichalcum|Oiled Orichalcum {{{1|{{PAGENAME}}}}}}}},{{{deldrimor steel|Deldrimor Steel {{{1|{{PAGENAME}}}}}}}} |
− | | jeweler = Copper {{{1|{{PAGENAME}}}}},Silver {{{1|{{PAGENAME}}}}},Gold {{{1|{{PAGENAME}}}}},Platinum {{{1|{{PAGENAME}}}}},Mithril {{{1|{{PAGENAME}}}}},Orichalcum {{{1|{{PAGENAME}}}}} | + | | jeweler = {{{copper|Copper {{{1|{{PAGENAME}}}}}}}},{{{silver|Silver {{{1|{{PAGENAME}}}}}}}},{{{gold|Gold {{{1|{{PAGENAME}}}}}}}},{{{platinum|Platinum {{{1|{{PAGENAME}}}}}}}},{{{mithril|Mithril {{{1|{{PAGENAME}}}}}}}},{{{orichalcum|Orichalcum {{{1|{{PAGENAME}}}}}}}} |
| #default = {{{1|}}} | | #default = {{{1|}}} | ||
}}}} | }}}} | ||
Строка 11: | Строка 11: | ||
! {{{title|{{PAGENAME}}}}} !! Discipline level !! Required Material | ! {{{title|{{PAGENAME}}}}} !! Discipline level !! Required Material | ||
|- | |- | ||
− | {{#arraymap:{{#var:tiers}}|,|§§§|{{!}} {{item icon| | + | {{#arraymap:{{#var:tiers}}|,|§§§| |
+ | {{!}} {{item icon|§§§|large=1}} | ||
+ | {{!}} style="text-align:right" {{!}} {{#show:§§§#recipe1|?Requires rating}} | ||
+ | {{!}} <div class="ingredients">{{#arraymap:{{#show:§§§#recipe1|?Has ingredient|link=none}},|),|@@@|;{{#sub:{{#explode:@@@| |1}}|1|-1}} :{{item icon|{{#sub:@@@|{{#expr:{{#pos:@@@| |2}} + 1}}}}}} |\n}}</div>|\n{{!}}-\n}} | ||
|} | |} | ||
<includeonly>[[Category:Crafting component overviews]]</includeonly><noinclude> | <includeonly>[[Category:Crafting component overviews]]</includeonly><noinclude> | ||
;unnamed parameter 1 | ;unnamed parameter 1 | ||
− | :If material is given, parameter 1 has to be the core name of the component, defaults to pagename. In other cases parameter 1 is a comma- | + | :If material is given, parameter 1 has to be the core name of the component, defaults to pagename. In other cases parameter 1 is a comma-separated list of items to be shown. |
;material | ;material | ||
:wood, cloth, leather or metal | :wood, cloth, leather or metal | ||
;prefix | ;prefix | ||
:small or large | :small or large | ||
+ | ;specific material, e.g. bronze | ||
+ | :If a specific material is defined, it will use a custom item name for that material instead of generating it. | ||
;title | ;title | ||
:title of the table, defaults to pagename | :title of the table, defaults to pagename | ||
− | [[Category: | + | |
+ | [[Category:Recipe formatting templates]] | ||
</noinclude> | </noinclude> |
Текущая версия на 15:40, 3 апреля 2018
Crafting component overview table | Discipline level | Required Material |
---|
- unnamed parameter 1
- If material is given, parameter 1 has to be the core name of the component, defaults to pagename. In other cases parameter 1 is a comma-separated list of items to be shown.
- material
- wood, cloth, leather or metal
- prefix
- small or large
- specific material, e.g. bronze
- If a specific material is defined, it will use a custom item name for that material instead of generating it.
- title
- title of the table, defaults to pagename