Редактирование: Шаблон:Recipe list result format
Материал из Guild Wars 2 wiki
Внимание! Вы не авторизовались на сайте. Ваш IP-адрес будет публично видимым, если вы будете вносить любые правки. Если вы войдёте или создадите учётную запись, правки вместо этого будут связаны с вашим именем пользователя, а также у вас появятся другие преимущества.
Правка может быть отменена. Пожалуйста, просмотрите сравнение версий, чтобы убедиться, что это именно те изменения, которые вас интересуют, и нажмите «Записать страницу», чтобы изменения вступили в силу.
На этой странице невозможны семантические аннотации в тексте из-за ограничений пространства имён. Детали относительно того, как разрешить пространство имен, находятся в справочной странице конфигурации.
Текущая версия | Ваш текст | ||
Строка 1: | Строка 1: | ||
<includeonly>|- | <includeonly>|- | ||
− | | | + | | {{item icon|{{#sub:{{{6}}}|0|{{#pos:{{{6}}}|#}}}}|{{#show:{{{6}}}|?Has canonical name}}|large=+}} {{#ifexpr:{{{5|0}}}>1|(x{{{5}}})}} |
− | |||
− | |||
| style="text-align:center" | {{rarity|{{#show:{{{6}}}|?Has item rarity}}}} | | style="text-align:center" | {{rarity|{{#show:{{{6}}}|?Has item rarity}}}} | ||
{{#ifeq:{{#var:mysticforge}}|y|<!--skip discipline/rating columns-->|<!-- | {{#ifeq:{{#var:mysticforge}}|y|<!--skip discipline/rating columns-->|<!-- | ||
-->{{#ifeq:{{{userparam|x}}}|nodiscipline|<!--skip discipline column-->| | -->{{#ifeq:{{{userparam|x}}}|nodiscipline|<!--skip discipline column-->| | ||
− | {{!}} style="text-align:center" {{!}} {{#if: {{{2|}}} | {{#arraymap:{{{2}}}|,|@@@|<span style="display:none">@@@</span> | + | {{!}} style="text-align:center" {{!}} {{#if: {{{2|}}} | {{#arraymap:{{{2}}}|,|@@@|<span style="display:none">@@@</span>{{@@@}}|}} | [[Mystic Forge]] }}<!-- |
-->}}<!-- end ifeq nodiscipline --> | -->}}<!-- end ifeq nodiscipline --> | ||
{{!}} style="text-align:center" {{!}} {{{3}}}<!-- | {{!}} style="text-align:center" {{!}} {{{3}}}<!-- | ||
-->}}<!-- end ifeq norating --> | -->}}<!-- end ifeq norating --> | ||
| <div class="ingredients">{{#arraymap:{{#replace:{{{4|}}}|+|}},|),|@@@|<!-- Formatting the ingredients --> | | <div class="ingredients">{{#arraymap:{{#replace:{{{4|}}}|+|}},|),|@@@|<!-- Formatting the ingredients --> | ||
− | ; | + | ;{{#explode:@@@| |0}}:{{#vardefine:recipe_ingredient|{{#sub:@@@|{{#expr:{{#pos:@@@| }}+2}}|{{#expr:{{#len:@@@}}-{{#pos:@@@| }}-2}}}}}}<span class="inline icon" style="width:20px; height:20px; vertical-align:middle;">[[{{#show:{{#var:recipe_ingredient}}|?Has game icon|link=none|default=File:Skill.png}}|link={{#var:recipe_ingredient}}|20x20px]]</span> [[{{#var:recipe_ingredient}}|{{#show:{{#var:recipe_ingredient}}|?Has canonical name}}]] |
− | |\n}} | + | |\n}}</div> |
− | </div> | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
− | This is a semantic result template for use in {{tl|recipe list | + | This is a semantic result template for use in {{tl|recipe list}}. The input parameters generated by the semantic query are: |
#Recipe subobject | #Recipe subobject | ||
#Requires discipline | #Requires discipline | ||
Строка 22: | Строка 19: | ||
#Has output quantity | #Has output quantity | ||
#Has item data object | #Has item data object | ||
− | |||
#{{{userparam}}} nodiscipline - skip rating columns | #{{{userparam}}} nodiscipline - skip rating columns | ||
== Used by == | == Used by == | ||
{{#dpl: | {{#dpl: | ||
− | | namespace = | + | | namespace = Шаблон |
| uses = Template:Recipe list result format | | uses = Template:Recipe list result format | ||
}} | }} |