Difference between revisions of "Template:ARR Infobox Recipe"

m
(fixes acquisition icons other non-"crystal" items (i.e. Dark Matter Cluster) by just specifically defining crafting crystals as the exceptions)
 
(131 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<noinclude>Testing recipe box
+
<noinclude>{{/Documentation}}</noinclude><includeonly><div class="itembox" style="width:95%;">
<pre>
 
{{Infobox Recipe
 
|Result = Bone Harpoon
 
|Acquired=
 
|HQResult =
 
|Primary Skill          = Carpentry
 
|Primary Skill Level    = 9
 
|Durability= 60
 
|Difficulty= 23
 
|Quality= 204
 
 
 
|Crystal 1        = Wind Shard
 
|Crystal 1 Amount = 2
 
|Crystal 2        = Ice Shard
 
|Crystal 2 Amount = 1
 
 
 
|Ingredient 1        = Maple Lumber
 
|Ingredient 1 Amount = 1
 
|Ingredient 1 HQ    =
 
|Ingredient 2        = Bone Chip
 
|Ingredient 2 Amount = 1
 
|Ingredient 2 HQ    =
 
|Ingredient 3        =
 
|Ingredient 3 Amount =
 
|Ingredient 3 HQ    =
 
|Ingredient 4        =
 
|Ingredient 4 Amount =
 
|Ingredient 4 HQ      =
 
|Ingredient 5        =
 
|Ingredient 5 Amount =
 
|Ingredient 5 HQ    =
 
|Ingredient 6        =
 
|Ingredient 6 Amount =
 
|Ingredient 6 HQ    =
 
|Ingredient 7        =
 
|Ingredient 7 Amount =
 
|Ingredient 7 HQ    =
 
|Ingredient 8        =
 
|Ingredient 8 Amount =
 
|Ingredient 8 HQ    =
 
|Requirements =
 
|Bonuses =
 
}}
 
</pre>
 
</noinclude><includeonly><div class="arractionbox" style="width:48%;-moz-border-radius: 5px; -webkit-border-radius: 5px; -khtml-border-radius: 5px; border-radius: 5px;">
 
 
{{{!}} cellpadding="0" width="100%" cellspacing="0" border="0" style="padding:0em 0.8em 0em .8em; color:white;"
 
{{{!}} cellpadding="0" width="100%" cellspacing="0" border="0" style="padding:0em 0.8em 0em .8em; color:white;"
 
{{!}}-
 
{{!}}-
{{!}}colspan="2" style="font-size:16px; font-weight: bold; font-family:Lucida Sans Unicode;"{{!}}{{Crafting Levels|Primary Skill={{{Primary Skill|}}}|Primary Skill Level={{{Primary Skill Level|}}}}}
+
{{!}}colspan="2" style="font-size:14px; font-weight: bold; font-family:Lucida Sans Unicode;"{{!}}<table><tr><td style="padding:.5em .2em 0em 0em;" >{{Crafting Switch2|Primary Skill={{{Primary Skill}}}}}</td><td>[[{{Crafting Switch3|Primary Skill={{{Primary Skill}}}}}|{{Crafting Switch3|Primary Skill={{{Primary Skill}}}}}]]: {{{Primary Skill Level|}}}</td></tr></table>
{{!}}colspan="2" style="font-size:16px; font-weight: bold; font-family:Lucida Sans Unicode;"{{!}} {{#if:{{{Primary Skill|}}}|{{colorlink|white|{{{Primary Skill}}}}}}}
+
{{!}}colspan="2" style="font-size:14px; font-weight: bold; font-family:Lucida Sans Unicode; padding:.3em 0em 0em 0em;"{{!}}{{Recipe Levels2|Primary Skill={{{Primary Skill}}}|Recipe Level={{{Recipe Level}}}}}
{{!}}colspan="1" style="padding:.3em 0em 0em 0em;"{{!}} {{Crafting Switch2|Primary Skill={{{Primary Skill}}}}}
+
{{!}}colspan="1" style="font-size:14px; font-weight: bold; font-family:Lucida Sans Unicode; padding:.3em 0em 0em 0em;"{{!}}[[Yield|Yield:]]  {{#if:{{{Result Count|}}}|{{{Result Count|}}}|1}}
 
{{!}}-
 
{{!}}-
{{!}}colspan="5"{{!}}<div style="padding: 0px; width:95%; background-color:#EBECF0; border:1px solid #969696;" ></div>
+
{{!}}colspan="5"{{!}}<div style="padding: 0px; width:100%; background-color:#EBECF0; border:0px solid #969696;" ></div>
 
{{!}}-
 
{{!}}-
{{!}}style="font-size:12px;" colspan="2"{{!}}{{colorlink|D6D6D6|Durability|Durability:}} {{{Durability|}}}
+
{{!}}colspan="5" style="font-size:12px;" {{!}}
{{!}}style="font-size:12px;" colspan="2"{{!}}{{colorlink|D6D6D6|Difficulty|Difficulty:}} {{{Difficulty|}}}
+
{{{!}} cellpadding="0" width="100%" cellspacing="0" border="0" style="padding:0em 0.8em 0em .8em; color:white;"
{{!}}style="font-size:12px;" {{!}}{{colorlink|D6D6D6|Quality|Quality:}} {{{Quality|}}}
+
{{!}}colspan="1" width="33%" style="font-size:10px;" {{!}}[[Durability|Durability:]] {{{Durability|}}}
 +
{{!}}colspan="1" width="34%" style="font-size:10px;" {{!}}[[Difficulty|Difficulty:]] {{{Difficulty|}}}
 +
{{!}}colspan="1" width="33%" style="font-size:10px;" {{!}}{{#switch: {{lc:{{{HQ Uncraftable}}}}}|no|false|#default=|yes|true=[[HQ|HQ Uncraftable]]}}{{#switch: {{lc:{{{Always Synthesized as Collectable}}}}}|no|false|#default=|yes|true=[[:Category:Collectable|Synthesized as Collectable]]}}
 
{{!}}-
 
{{!}}-
{{!}}colspan="5"{{!}}<div style="padding: 0px; width:95%; background-color:#EBECF0; border:1px solid #969696;" ></div>
+
{{!}}colspan="1" style="font-size:10px;" {{!}}[[Quality|Min Quality to Synth:]] {{{Quality Required for Synthesis|-}}}
 +
{{!}}colspan="1" style="font-size:10px;" {{!}}[[Quality|Maximum Quality:]] {{{Quality|-}}}
 +
{{!}}colspan="1" style="font-size:10px;" {{!}}[[Quality|Max Initial Quality:]]{{#if:{{{Max Initial Quality|}}}|{{{Max Initial Quality|}}}%}}
 
{{!}}-
 
{{!}}-
{{#if:{{{Acquired|}}}|
+
{{!}}colspan="1" style="font-size:10px;" {{!}}[[Craftsmanship|Craftsmanship Req.:]]  {{{Craftsmanship Required|-}}}
{{!}}colspan="5" style="font-size:16px; font-weight: bold; font-family:Lucida Sans Unicode;"{{!}}Acquired: {{{Acquired|}}}
+
{{!}}colspan="1" style="font-size:10px;" {{!}}[[Control|Control Req.:]]  {{{Control Required|-}}}
 +
{{!}}colspan="1" style="font-size:10px;" {{!}}[[Quick Synthesis|Quick Synth:]] {{#switch: {{lc:{{{Quick Synthesis}}}}}|no|false=No|yes|true=Yes|#default=Yes}}
 
{{!}}-
 
{{!}}-
{{!}}colspan="5"{{!}}<div style="padding: 0px; width:95%; background-color:#EBECF0; border:1px solid #969696;" ></div>
+
{{!}}colspan="1" style="font-size:10px;" {{!}}
 +
{{!}}colspan="1" style="font-size:10px;" {{!}}
 +
{{!}}colspan="1" style="font-size:10px;" {{!}}{{#if:{{{Quick Synthesis Control|}}}|[[Control|Quick Synth Control:]]  {{{Quick Synthesis Control}}}}}{{#if:{{{Quick Synthesis Craftsmanship|}}}|[[Craftsmanship|QS Craftsmanship:]]  {{{Quick Synthesis Craftsmanship}}}}}
 
{{!}}-
 
{{!}}-
}}
+
{{!}}}
{{!}}style="font-size:24px; font-weight: bold; font-family:Lucida Sans Unicode;"{{!}}{{#if:{{{Crystal 1|}}}|<table><tr><td>{{{Crystal 1 Amount}}}</td><td style="padding:0em 0em 0em 0em;" >[[File:{{{Crystal 1}}} Icon.png|32px|link={{{Crystal 1}}}]]</td></tr></table>}}
 
{{!}}style="font-size:24px; font-weight: bold; font-family:Lucida Sans Unicode;"{{!}}{{#if:{{{Crystal 2|}}}|<table><tr><td>{{{Crystal 2 Amount|none}}}</td><td style="padding:0em 0em 0em 0em;" >[[File:{{{Crystal 2|none}}} Icon.png|32px|link={{{Crystal 2|none}}}]]</td></tr></table>}}
 
{{!}}&nbsp;
 
{{!}}&nbsp;
 
{{!}}&nbsp;
 
 
{{!}}-
 
{{!}}-
{{!}}style="font-size:10px; width:20%;"{{!}}{{#if:{{{Crystal 1|}}}|{{colorlink|ffffff|{{{Crystal 1}}}}}}}
+
{{!}}colspan="5"{{!}}<div style="padding: 0px; width:100%; background-color:#EBECF0; border:1px solid #969696;" ></div>
{{!}}style="font-size:10px; width:20%;"{{!}}{{#if:{{{Crystal 2|}}}|{{colorlink|ffffff|{{{Crystal 2}}}}}}}
 
{{!}}style="font-size:10px; width:20%;"{{!}}
 
{{!}}style="font-size:10px; width:20%;"{{!}}
 
{{!}}style="font-size:10px; width:20%;"{{!}}
 
 
{{!}}-
 
{{!}}-
{{!}}colspan="5"{{!}}<div style="padding: 0px; width:95%; background-color:#EBECF0; border:1px solid #404040;" ></div>
+
{{#if:{{{Acquired|}}}|
 +
{{!}}colspan="3" style="font-size:12px; font-weight: bold; font-family:Lucida Sans Unicode;"{{!}}Acquired From: [[{{{Acquired|}}}]][[Category:{{{Acquired}}} Recipe]]}}
 +
{{#if:{{{Expert Recipe|}}}{{{Specialist Only|}}}|
 +
{{!}}colspan="2" {{#if:{{{Specialist Only|}}}|rowspan="2"}} style="font-size:12px; font-weight: bold; font-family:Lucida Sans Unicode;"{{!}}{{#switch: {{lc:{{{Expert Recipe}}}}}|no|false|#default=|yes|true=[[File:Expertrecipe.png|24px|link=]] [[:Category:Expert Recipe|Expert Recipe]][[Category:Expert Recipe]]}}{{#if:{{{Specialist Only|}}}|&nbsp;&nbsp;[[File:Soul of the {{{Primary Skill}}} Icon.png|30px|link=Soul of the {{{Primary Skill}}}|{{{Primary Skill}}} Specialization Required]]}}
 +
}}
 
{{!}}-
 
{{!}}-
{{#if:{{{Ingredient 1|}}}|
+
{{#if:{{{Specialist Only|}}}|
{{!}}style="font-size:24px; font-weight: bold; font-family:Lucida Sans Unicode;"{{!}}{{#if:{{{Ingredient 1 Amount|}}}|{{{Ingredient 1 Amount}}}|?}}
+
{{!}}colspan="5" style="font-size:12px; font-weight: bold; font-family:Lucida Sans Unicode;"{{!}}[[{{{Primary Skill}}}]] Specialization Required[[Category:{{{Primary Skill}}} Specialist Recipe]][[Category:Specialist Recipe]]
{{!}}style="padding:.3em 0em 0em 0em;"{{!}}[[File:{{{Ingredient 1}}} Icon.png|32px|link={{{Ingredient 1}}}]]
 
{{!}}colspan="3"{{!}}{{colorlink|ffffff|{{{Ingredient 1}}}}}[[Category:Recipe using {{{Ingredient 1}}}]]
 
 
{{!}}-
 
{{!}}-
 
}}
 
}}
{{#if:{{{Ingredient 2|}}}|
+
{{#if:{{{Status Required|}}}|
{{!}}style="font-size:24px; font-weight: bold; font-family:Lucida Sans Unicode;"{{!}}{{#if:{{{Ingredient 2 Amount|}}}|{{{Ingredient 2 Amount}}}|?}}
+
{{!}}colspan="5" style="font-size:12px; font-weight: bold; font-family:Lucida Sans Unicode;"{{!}}Status Required: [[:Category:Recipes Requiring {{{Status Required|}}}|{{{Status Required|}}}]][[Category:Recipes Requiring {{{Status Required}}}]]
{{!}}style="padding:.3em 0em 0em 0em;"{{!}}[[File:{{{Ingredient 2}}} Icon.png|32px|link={{{Ingredient 2}}}]]
 
{{!}}colspan="3"{{!}}{{colorlink|ffffff|{{{Ingredient 2}}}}}[[Category:Recipe using {{{Ingredient 2}}}]]
 
 
{{!}}-
 
{{!}}-
 
}}
 
}}
{{#if:{{{Ingredient 3|}}}|
+
{{#if:{{{Equipment Required|}}}|
{{!}}style="font-size:24px; font-weight: bold; font-family:Lucida Sans Unicode;"{{!}}{{#if:{{{Ingredient 3 Amount|}}}|{{{Ingredient 3 Amount}}}|?}}
+
{{!}}colspan="5" style="font-size:12px; font-weight: bold; font-family:Lucida Sans Unicode;"{{!}}Equipment Required: [[File:{{{Equipment Required|}}} Icon.png|20px|link={{{Equipment Required|}}}]] [[{{{Equipment Required|}}}]][[Category:Recipes Requiring {{{Equipment Required}}}]]
{{!}}style="padding:.3em 0em 0em 0em;"{{!}}[[File:{{{Ingredient 3}}} Icon.png|32px|link={{{Ingredient 3}}}]]
 
{{!}}colspan="3"{{!}}{{colorlink|ffffff|{{{Ingredient 3}}}}}[[Category:Recipe using {{{Ingredient 3}}}]]
 
 
{{!}}-
 
{{!}}-
 
}}
 
}}
{{#if:{{{Ingredient 4|}}}|
+
{{#if:{{{Special Recipe|}}}|
{{!}}style="font-size:24px; font-weight: bold; font-family:Lucida Sans Unicode;"{{!}}{{#if:{{{Ingredient 4 Amount|}}}|{{{Ingredient 4 Amount}}}|?}}
+
{{!}}colspan="5" style="font-size:12px; font-weight: bold; font-family:Lucida Sans Unicode;"{{!}}Special Recipe: [[:Category: {{{Special Recipe|}}} Recipes|{{{Special Recipe}}}]][[Category: {{{Special Recipe}}} Recipes]]
{{!}}style="padding:.3em 0em 0em 0em;"{{!}}[[File:{{{Ingredient 4}}} Icon.png|32px|link={{{Ingredient 4}}}]]
 
{{!}}colspan="3"{{!}}{{colorlink|ffffff|{{{Ingredient 4}}}}}[[Category:Recipe using {{{Ingredient 4}}}]]
 
 
{{!}}-
 
{{!}}-
 
}}
 
}}
{{#if:{{{Ingredient 5|}}}|
+
{{#if:{{{Special|}}}|
{{!}}style="font-size:24px; font-weight: bold; font-family:Lucida Sans Unicode;"{{!}}{{#if:{{{Ingredient 5 Amount|}}}|{{{Ingredient 5 Amount}}}|?}}
+
{{!}}colspan="5" style="font-size:12px; font-weight: bold; font-family:Lucida Sans Unicode;"{{!}}Special Recipe: [[:Category: {{{Special|}}} Recipes|{{{Special}}}]][[Category: {{{Special}}} Recipes]]
{{!}}style="padding:.3em 0em 0em 0em;"{{!}}[[File:{{{Ingredient 5}}} Icon.png|32px|link={{{Ingredient 5}}}]]
 
{{!}}colspan="3"{{!}}{{colorlink|ffffff|{{{Ingredient 5}}}}}[[Category:Recipe using {{{Ingredient 5}}}]]
 
 
{{!}}-
 
{{!}}-
 
}}
 
}}
{{#if:{{{Ingredient 6|}}}|
+
{{#if:{{{Status Required|}}}{{{Equipment Required|}}}{{{Special|}}}{{{Special Recipe|}}}{{{Acquired|}}}{{{Expert Recipe}}}|
{{!}}style="font-size:24px; font-weight: bold; font-family:Lucida Sans Unicode;"{{!}}{{#if:{{{Ingredient 6 Amount|}}}|{{{Ingredient 6 Amount}}}|?}}
+
{{!}}colspan="5"{{!}}<div style="padding: 0px; width:100%; background-color:#EBECF0; border:1px solid #969696;" ></div>
{{!}}style="padding:.3em 0em 0em 0em;"{{!}}[[File:{{{Ingredient 6}}} Icon.png|32px|link={{{Ingredient 6}}}]]
 
{{!}}colspan="3"{{!}}{{colorlink|ffffff|{{{Ingredient 6}}}}}[[Category:Recipe using {{{Ingredient 6}}}]]
 
 
{{!}}-
 
{{!}}-
 
}}
 
}}
{{#if:{{{Ingredient 7|}}}|
+
{{!}}style="font-size:14px; font-weight: bold; font-family:Lucida Sans Unicode;" colspan="5"{{!}}
{{!}}style="font-size:24px; font-weight: bold; font-family:Lucida Sans Unicode;"{{!}}{{#if:{{{Ingredient 7 Amount|}}}|{{{Ingredient 7 Amount}}}|?}}
+
{{#forargs:Ingredient| ik | iv | {{#if:{{#var:iv|}}|{{#ifeq:{{#var:ik}}|{{#explode:{{#var:ik}}||0}}|<nowiki/><table width="100%"><tr><td align="center" width="10%">{{{Ingredient {{#var:ik}} Amount|}}}&nbsp;</td><td align="center" width="10%" style="padding:0em .3em 0em 0em;" >[[File:{{{Ingredient {{#var:ik}}|}}} Icon.png|20px|link={{{Ingredient {{#var:ik}}|}}}]]&nbsp;</td><td width="100%">[[Category:Recipe using {{{Ingredient {{#var:ik}}|}}}]][[{{{Ingredient {{#var:ik}}|}}}]]&nbsp;{{#switch: {{lc:{{{Ingredient {{#var:ik}}|}}}}}
{{!}}style="padding:.3em 0em 0em 0em;"{{!}}[[File:{{{Ingredient 7}}} Icon.png|32px|link={{{Ingredient 7}}}]]
+
|earth cluster
{{!}}colspan="3"{{!}}{{colorlink|ffffff|{{{Ingredient 7}}}}}[[Category:Recipe using {{{Ingredient 7}}}]]
+
|earth crystal
 +
|earth shard
 +
|fire cluster
 +
|fire crystal
 +
|fire shard
 +
|ice cluster
 +
|ice crystal
 +
|ice shard
 +
|lightning cluster
 +
|lightning crystal
 +
|lightning shard
 +
|water cluster
 +
|water crystal
 +
|water shard
 +
|wind cluster
 +
|wind crystal
 +
|wind shard =
 +
| #default = {{Acquisitionicons|Name={{{Ingredient {{#var:ik}}|}}}}}}}<br></td></tr></table>
 +
}}}}}}
 
{{!}}-
 
{{!}}-
}}
+
{{!}}colspan="5" align="right"{{!}}[[File:Editbutton.png|right|14px|Edit {{PAGENAME}}/Recipe/{{{Primary Skill}}}|link={{fullurl:{{PAGENAME}}/Recipe/{{{Primary Skill}}}|action=edit}}]]
{{#if:{{{Ingredient 8|}}}|
 
{{!}}style="font-size:24px; font-weight: bold; font-family:Lucida Sans Unicode;"{{!}}{{#if:{{{Ingredient 8 Amount|}}}|{{{Ingredient 8 Amount}}}|?}}
 
{{!}}style="padding:.3em 0em 0em 0em;"{{!}}[[File:{{{Ingredient 8}}} Icon.png|32px|link={{{Ingredient 8}}}]]
 
{{!}}colspan="3"{{!}}{{colorlink|ffffff|{{{Ingredient 8}}}}}[[Category:Recipe using {{{Ingredient 8}}}]]
 
{{!}}-
 
}}
 
 
{{!}}}
 
{{!}}}
</div>[[Category:Crafted]]</includeonly>
+
</div>[[Category:{{{Result}}} Crafted]][[Category:Crafted]][[Category:{{Crafting Switch3|Primary Skill={{{Primary Skill}}}}} Recipes]]{{Crafting Switch4|Primary Skill={{{Primary Skill}}}}}{{Recipe Levels|Primary Skill={{{Primary Skill}}}|Recipe Level={{{Recipe Level}}}}}</includeonly>

Latest revision as of 21:02, 6 October 2022

<!-- This template needs to go on the /Recipe subpage of the crafted item, ie:
"Darksteel Nugget/Recipe" - Use multiple Templates on the subpage if multiple classes can craft -->
{{ARR Infobox Recipe
|Recipe ID           =   <!-- used to (eventually) link over to other fan sites -->
|Result              = 
|Result Count        = 
|Primary Skill       = 
|Primary Skill Level = 
|Durability          = 
|Difficulty          = 
|Quality             = 
|Max Initial Quality =   <!-- Should be either 50 or 75 for now. Leave blank if furniture. Numbers only. -->
|Craftsmanship Required = 
|Control Required    = 
|Quick Synthesis     = 
|Quick Synthesis Craftsmanship = 
|Quick Synthesis Control = 
|Specialist Only     = 
|Acquired            =   <!-- used for Master Recipe books -->
|Status Required     =   <!-- used for Ixali dailies, shows the status required to craft -->
|Equipment Required  =   <!-- shows the equipment required to craft -->
|Special Recipe      =   <!-- Used to try to show the category that this recipe appears under in the Special Recipe section of the Log -->
|Expert Recipe       = 
|Quality Required for Synthesis = 
|HQ Uncraftable

|Ingredient 1        = 
|Ingredient 1 Amount = 
|Ingredient 2        = 
|Ingredient 2 Amount = 
|Ingredient 3        = 
|Ingredient 3 Amount = 
|Ingredient 4        = 
|Ingredient 4 Amount = 
|Ingredient 5        = 
|Ingredient 5 Amount = 
|Ingredient 6        = 
|Ingredient 6 Amount = 
|Ingredient 7        = 
|Ingredient 7 Amount = 
|Ingredient 8        = 
|Ingredient 8 Amount = 
|Ingredient 9        = 
|Ingredient 9 Amount = 
|Ingredient 10        = 
|Ingredient 10 Amount = 
}}