User:Relyk/SMW/recipesheet/smw

From Guild Wars 2 Wiki
Jump to navigationJump to search
<div class="heading">[[{{{2}}}]]</div>
<div class="subheading">Ingredients</div>
<div class="ingredients">
{{#arraymap:{{{3}}}|,|@@@|
;{{#explode:@@@| |0}}
:{{item icon| {{#replace:{{#replace:{{#sub:@@@|{{#pos:@@@|(}}}}|(|}}|)|}} }}|\n}}
</div>

This is a semantic result template for use in {{recipe sheet}}. The input parameters generated by the semantic query are:

  1. PAGE
  2. Has canonical name
  3. Has ingredient

Category:Semantic result templates