Template:Recipe: Difference between revisions

No edit summary
No edit summary
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#cargo_store:
<noinclude>{{#cargo_declare:
   _table=Recipes
   _table=Recipes
   |facility={{{facility|}}}
   |RecipeKey=String
   |skill={{{skill|}}}
  |Item=Page
   |level={{{level|}}}
  |Required=String
   |xp={{{xp|}}}
  |Facility=String
   |inputitem1={{{inputitem1|}}}
  |Skill=String
   |inputquantity1={{{inputquantity1|}}}
  |Level=Integer
   |inputitem2={{{inputitem2|}}}
  |XP=Integer
   |inputquantity2={{{inputquantity2|}}}
  |InputItem1=String
   |outputitem={{PAGENAME}}
  |InputQuantity1=Integer
  |outputquantity={{{outputquantity|}}}
  |InputItem2=String
}}
  |InputQuantity2=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}}}
   |OutputQuantity={{{outputquantity|1}}}
}}</span>
{| class="wikitable"
{| class="wikitable"
! colspan="3" | Requirements
{{#if:{{{facility|}}}{{{required|}}}|{{!}}-{{newline}}{{!}} colspan="3" {{!}} Requirements}}
{{#if: {{{facility|}}}
{{#if: {{{facility|}}}|{{!}}-
{{!}} Facility
{{!}} class="cell-data-center" colspan="2" {{!}} [[{{{facility}}}]]}}
{{#if: {{{required|}}}
|{{!}}-
|{{!}}-
{{!}} Facility
{{!}} Using
{{!}} colspan="2" class="cell-data-center" {{!}} [[{{{facility}}}]]
{{!}} class="cell-data-center" colspan="2" {{!}} {{{required}}}
}}
}}
|-
|-
! Skill
! Skill
Line 29: Line 46:
| 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
Line 36: Line 52:
| 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|}}}
|{{!}}-
|{{!}}-
Line 42: Line 57:
{{!}} class="cell-data-right" {{!}} {{{inputquantity2}}}
{{!}} class="cell-data-right" {{!}} {{{inputquantity2}}}
}}
}}
|-
|-
! colspan="2" | Output
! colspan="2" | Output
Line 49: Line 63:
| 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>