Difference between revisions of "Template:ARR Infobox Recipe"

(fixes acquisition icons other non-"crystal" items (i.e. Dark Matter Cluster) by just specifically defining crafting crystals as the exceptions)
 
(101 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<div class="itembox" style="width:90%;-moz-border-radius: 5px; -webkit-border-radius: 5px; -khtml-border-radius: 5px; border-radius: 5px;">
+
<noinclude>{{/Documentation}}</noinclude><includeonly><div class="itembox" style="width:95%;">
 
{{{!}} 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:14px; font-weight: bold; font-family:Lucida Sans Unicode;"{{!}}<table><tr><td style="padding:0em .2em 0em 0em;" >{{Crafting Switch2|Primary Skill={{{Primary Skill}}}}}</td><td>[[{{{Primary Skill}}}]]</td></tr></table>
+
{{!}}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="1" style="font-size:14px; font-weight: bold; font-family:Lucida Sans Unicode; padding:.3em 0em 0em 0em;"{{!}}{{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; padding:.3em 0em 0em 0em;"{{!}}{{Recipe Levels2|Primary Skill={{{Primary Skill}}}|Recipe Level={{{Recipe Level}}}}}
{{!}}colspan="1" style="font-size:14px; font-weight: bold; font-family:Lucida Sans Unicode; padding:.3em 0em 0em 0em;"{{!}}[[Yield|Yield:]]  {{{Yield|}}}
+
{{!}}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;" {{!}}[[Durability|Durability:]]  {{{Durability|}}}
+
{{!}}colspan="5" style="font-size:12px;" {{!}}
{{!}}style="font-size:12px;" {{!}}[[Difficulty|Difficulty:]]  {{{Difficulty|}}}
+
{{{!}} cellpadding="0" width="100%" cellspacing="0" border="0" style="padding:0em 0.8em 0em .8em; color:white;"
{{!}}style="font-size:12px;" {{!}}[[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|}}}%}}
 +
{{!}}-
 +
{{!}}colspan="1" style="font-size:10px;" {{!}}[[Craftsmanship|Craftsmanship Req.:]]  {{{Craftsmanship Required|-}}}
 +
{{!}}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="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}}}}}
 +
{{!}}-
 +
{{!}}}
 +
{{!}}-
 +
{{!}}colspan="5"{{!}}<div style="padding: 0px; width:100%; background-color:#EBECF0; border:1px solid #969696;" ></div>
 
{{!}}-
 
{{!}}-
 
{{#if:{{{Acquired|}}}|
 
{{#if:{{{Acquired|}}}|
{{!}}colspan="5" style="font-size:12px; font-weight: bold; font-family:Lucida Sans Unicode;"{{!}}Acquired: {{{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:{{{Specialist Only|}}}|
 +
{{!}}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]]
 
{{!}}-
 
{{!}}-
{{!}}colspan="3"{{!}}<div style="padding: 0px; width:95%; background-color:#EBECF0; border:1px solid #969696;" ></div>
+
}}
 +
{{#if:{{{Status Required|}}}|
 +
{{!}}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}}}]]
 +
{{!}}-
 +
}}
 +
{{#if:{{{Equipment Required|}}}|
 +
{{!}}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}}}]]
 +
{{!}}-
 +
}}
 +
{{#if:{{{Special Recipe|}}}|
 +
{{!}}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]]
 +
{{!}}-
 +
}}
 +
{{#if:{{{Special|}}}|
 +
{{!}}colspan="5" style="font-size:12px; font-weight: bold; font-family:Lucida Sans Unicode;"{{!}}Special Recipe: [[:Category: {{{Special|}}} Recipes|{{{Special}}}]][[Category: {{{Special}}} Recipes]]
 +
{{!}}-
 +
}}
 +
{{#if:{{{Status Required|}}}{{{Equipment Required|}}}{{{Special|}}}{{{Special Recipe|}}}{{{Acquired|}}}{{{Expert Recipe}}}|
 +
{{!}}colspan="5"{{!}}<div style="padding: 0px; width:100%; background-color:#EBECF0; border:1px solid #969696;" ></div>
 
{{!}}-
 
{{!}}-
 
}}
 
}}
{{!}}style="font-size:14px; font-weight: bold; font-family:Lucida Sans Unicode;" colspan="3"{{!}}
+
{{!}}style="font-size:14px; font-weight: bold; font-family:Lucida Sans Unicode;" colspan="5"{{!}}
{{#forargs:Ingredient| ik | iv | {{#if:{{#var:iv|}}|{{#ifeq:{{#var:ik}}|{{#explode:{{#var:ik}}||0}}|<nowiki/><table><tr><td>{{{Ingredient {{#var:ik}} Amount|}}}&nbsp;</td><td style="padding:0em .3em 0em 0em;" >[[File:{{{Ingredient {{#var:ik}}|}}} Icon.png|20px|link={{{Ingredient {{#var:ik}}|}}}]]&nbsp;</td><td>[[Category:Recipe using {{{Ingredient {{#var:ik}}|}}}]][[{{{Ingredient {{#var:ik}}|}}}]]<br></td></tr></table>
+
{{#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}}|}}}}}
 +
|earth cluster
 +
|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}}]]
 
{{!}}}
 
{{!}}}
</div>[[Category:Crafted]][[Category:{{{Primary Skill}}} Recipes]]
+
</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 = 
}}