Template:Recipe: Difference between revisions
No edit summary |
No edit summary |
||
(31 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{# | <noinclude>{{#cargo_declare: | ||
_table=Recipes | _table=Recipes | ||
| | |RecipeKey=String | ||
| | |Item=Page | ||
| | |Required=String | ||
| | |Facility=String | ||
| | |Skill=String | ||
| | |Level=Integer | ||
| | |XP=Integer | ||
|inputquantity2={{{ | |InputItem1=String | ||
| | |InputQuantity1=Integer | ||
| | |InputItem2=String | ||
}} | |InputQuantity2=Integer | ||
|InputItem3=String | |||
|InputQuantity3=Integer | |||
|OutputQuantity=Integer | |||
}}</noinclude><includeonly><span style="display:none">{{#cargo_store: | |||
_table=Recipes | |||
|RecipeKey={{lc:{{#replace:{{#replace:{{#replace:{{{alt|{{PAGENAMEE}}}}}|%27|}}|_|}}}}}} | |||
|Item={{FULLPAGENAMEE}} | |||
|Required={{{required|}}} | |||
|Facility={{{facility|}}} | |||
|Skill={{{skill|}}} | |||
|Level={{{level|0}}} | |||
|XP={{{xp|0}}} | |||
|InputItem1={{{inputitem1|}}} | |||
|InputQuantity1={{{inputquantity1|0}}} | |||
|InputItem2={{{inputitem2|}}} | |||
|InputQuantity2={{{inputquantity2|0}}} | |||
|InputItem3={{{inputitem3|}}} | |||
|InputQuantity3={{{inputquantity3|0}}} | |||
|OutputQuantity={{{outputquantity|1}}} | |||
}}</span> | |||
{| class="wikitable" | {| class="wikitable" | ||
{{#if: {{{facility|}}}{{{required|}}} | <tr><th colspan="3">Requirements</th></tr> }} | |||
{{#if: {{{facility|}}} | {{#if: {{{facility|}}} | <tr><td>Facility</td><td class="cell-data-center" colspan="2">{{#if:{{#explode:{{{facility|}}}|,|1}}|[[{{#explode:{{{facility}}}|,|0}}]]{{#if:{{#explode:{{{facility}}}|,|1}}|, [[{{#explode:{{{facility}}}|,|1}}]]}}|[[{{{facility}}}]]}}</td></tr> }} | ||
{{#if: {{{required|}}} | <tr><td>Using</td><td class="cell-data-center" colspan="2">{{{required}}}</td></tr> }} | |||
{{ | |||
{{ | |||
}} | |||
|- | |- | ||
! Skill | ! Skill | ||
Line 29: | Line 44: | ||
| style="text-align: center;" | {{{level}}} {{SkillIcon|{{{skill}}}}} | | style="text-align: center;" | {{{level}}} {{SkillIcon|{{{skill}}}}} | ||
| style="text-align: center;" | {{{xp}}} {{SkillIcon|{{{skill}}}}} XP | | style="text-align: center;" | {{{xp}}} {{SkillIcon|{{{skill}}}}} XP | ||
|- | |- | ||
! colspan="2" | Input | ! colspan="2" | Input | ||
! Quantity | ! Quantity | ||
|- | |- | ||
| colspan="2" | {{ItemIcon|{{{inputitem1}}}|size=32px}} [[{{{inputitem1}}}]] | | colspan="2" | {{ItemIcon|{{{inputitem1}}}|size=32px}} [[{{{inputitem1}}}]] | ||
| class="cell-data-right" | {{{inputquantity1}}} | | class="cell-data-right" | {{{inputquantity1}}} | ||
{{#if: {{{inputitem2|}}} | {{#if: {{{inputitem2|}}} | ||
|{{!}}- | |{{!}}- | ||
{{!}} colspan="2" {{!}} {{ItemIcon|{{{inputitem2}}}|size=32px}} [[{{{inputitem2}}}]] | {{!}} colspan="2" {{!}} {{ItemIcon|{{{inputitem2}}}|size=32px}} [[{{{inputitem2}}}]] | ||
{{!}} class="cell-data-right" {{!}} {{{inputquantity2}}} | {{!}} class="cell-data-right" {{!}} {{{inputquantity2}}} | ||
}}{{#if: {{{inputitem3|}}} | |||
|{{!}}- | |||
{{!}} colspan="2" {{!}} {{ItemIcon|{{{inputitem3}}}|size=32px}} [[{{{inputitem3}}}]] | |||
{{!}} class="cell-data-right" {{!}} {{{inputquantity3}}} | |||
}} | }} | ||
|- | |- | ||
! colspan="2" | Output | ! colspan="2" | Output | ||
! Quantity | ! Quantity | ||
|- | |- | ||
| colspan="2" | {{ItemIcon|{{PAGENAME}}|size=32px}} [[{{PAGENAME}}]] | | colspan="2" | {{ItemIcon|{{PAGENAME}}|size=32px}} [[{{PAGENAME}}]] | ||
| class="cell-data-right" | {{{outputquantity}}} | | class="cell-data-right" | {{{outputquantity}}} | ||
|} | |}</includeonly> |