Difference between revisions of "Template:ARR Infobox Recipe"

Line 1: Line 1:
<noinclude>Testing recipe box
+
<div class="itembox" style="width:48%;-moz-border-radius: 5px; -webkit-border-radius: 5px; -khtml-border-radius: 5px; border-radius: 5px;">
<pre>
+
{{{!}} cellpadding="0" width="100%" cellspacing="0" border="1" style="padding:0em 0.8em 0em .8em; color:white;"
{{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="itembox" style="width:90%;-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;"
 
 
{{!}}-
 
{{!}}-
{{!}}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:16px; font-weight: bold; font-family:Lucida Sans Unicode;"{{!}}{{Crafting Switch2|Primary Skill={{{Primary Skill}}}}} {{#if:{{{Primary Skill|}}}|{{dl|{{{Primary Skill}}}}}}}
{{!}}colspan="2" style="font-size:16px; font-weight: bold; font-family:Lucida Sans Unicode;"{{!}} {{#if:{{{Primary Skill|}}}|{{colorlink|white|{{{Primary Skill}}}}}}}
+
{{!}}colspan="1" style="padding:.3em 0em 0em 0em;"{{!}}{{Crafting Levels|Primary Skill={{{Skill|}}}|Primary Skill Level={{{Skill Level|}}}}}
{{!}}colspan="1" style="padding:.3em 0em 0em 0em;"{{!}} {{Crafting Switch2|Primary Skill={{{Primary Skill}}}}}
 
 
{{!}}-
 
{{!}}-
 
{{!}}colspan="5"{{!}}<div style="padding: 0px; width:95%; background-color:#EBECF0; border:1px solid #969696;" ></div>
 
{{!}}colspan="5"{{!}}<div style="padding: 0px; width:95%; background-color:#EBECF0; border:1px solid #969696;" ></div>
 
{{!}}-
 
{{!}}-
{{!}}style="font-size:12px;" colspan="2"{{!}}{{colorlink|D6D6D6|Durability|Durability:}}  {{{Durability|}}}
+
{{!}}style="font-size:12px;" {{!}}{{dl|Durability|Durability:}}  {{{Durability|}}}
{{!}}style="font-size:12px;" colspan="2"{{!}}{{colorlink|D6D6D6|Difficulty|Difficulty:}}  {{{Difficulty|}}}
+
{{!}}style="font-size:12px;" {{!}}{{dl|Difficulty|Difficulty:}}  {{{Difficulty|}}}
{{!}}style="font-size:12px;" {{!}}{{colorlink|D6D6D6|Quality|Quality:}}  {{{Quality|}}}
+
{{!}}style="font-size:12px;" {{!}}{{dl|Quality|Quality:}}  {{{Quality|}}}
 
{{!}}-
 
{{!}}-
 
{{!}}colspan="5"{{!}}<div style="padding: 0px; width:95%; background-color:#EBECF0; border:1px solid #969696;" ></div>
 
{{!}}colspan="5"{{!}}<div style="padding: 0px; width:95%; background-color:#EBECF0; border:1px solid #969696;" ></div>
Line 62: Line 16:
 
{{!}}colspan="5" style="font-size:12px; font-weight: bold; font-family:Lucida Sans Unicode;"{{!}}Acquired: {{{Acquired|}}}
 
{{!}}colspan="5" style="font-size:12px; font-weight: bold; font-family:Lucida Sans Unicode;"{{!}}Acquired: {{{Acquired|}}}
 
{{!}}-
 
{{!}}-
{{!}}colspan="5"{{!}}<div style="padding: 0px; width:95%; background-color:#EBECF0; border:1px solid #969696;" ></div>
+
{{!}}colspan="3"{{!}}<div style="padding: 0px; width:95%; background-color:#EBECF0; border:1px solid #969696;" ></div>
{{!}}-
 
}}
 
{{!}}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}}}}}}}
 
{{!}}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:{{{Ingredient 1|}}}|
 
{{!}}style="font-size:24px; font-weight: bold; font-family:Lucida Sans Unicode;"{{!}}{{#if:{{{Ingredient 1 Amount|}}}|{{{Ingredient 1 Amount}}}|?}}
 
{{!}}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|}}}|
 
{{!}}style="font-size:24px; font-weight: bold; font-family:Lucida Sans Unicode;"{{!}}{{#if:{{{Ingredient 2 Amount|}}}|{{{Ingredient 2 Amount}}}|?}}
 
{{!}}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|}}}|
 
{{!}}style="font-size:24px; font-weight: bold; font-family:Lucida Sans Unicode;"{{!}}{{#if:{{{Ingredient 3 Amount|}}}|{{{Ingredient 3 Amount}}}|?}}
 
{{!}}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|}}}|
 
{{!}}style="font-size:24px; font-weight: bold; font-family:Lucida Sans Unicode;"{{!}}{{#if:{{{Ingredient 4 Amount|}}}|{{{Ingredient 4 Amount}}}|?}}
 
{{!}}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|}}}|
 
{{!}}style="font-size:24px; font-weight: bold; font-family:Lucida Sans Unicode;"{{!}}{{#if:{{{Ingredient 5 Amount|}}}|{{{Ingredient 5 Amount}}}|?}}
 
{{!}}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|}}}|
 
{{!}}style="font-size:24px; font-weight: bold; font-family:Lucida Sans Unicode;"{{!}}{{#if:{{{Ingredient 6 Amount|}}}|{{{Ingredient 6 Amount}}}|?}}
 
{{!}}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:24px; font-weight: bold; font-family:Lucida Sans Unicode;" colspan="3"{{!}}
{{!}}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/>
{{!}}style="padding:.3em 0em 0em 0em;"{{!}}[[File:{{{Ingredient 7}}} Icon.png|32px|link={{{Ingredient 7}}}]]
+
{{dl|{{{Ingredient {{#var:ik}}|}}}}} {{#if:{{{Ingredient {{#var:ik}} Count|}}}|&nbsp;{{dl|{{{Ingredient {{#var:ik}} Count|}}}}}<br>|<br>}}
{{!}}colspan="3"{{!}}{{colorlink|ffffff|{{{Ingredient 7}}}}}[[Category:Recipe using {{{Ingredient 7}}}]]
+
}}}}}}
 
{{!}}-
 
{{!}}-
}}
 
{{#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:Crafted]]</includeonly>

Revision as of 15:56, 18 July 2013