Template:RecipeTest: Difference between revisions
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
{|style="height: 56px!important; background-color: rgba(0, 0, 0, 0.2); margin:0px auto 1em auto; border-radius:75px; width:{{#if:{{{item5|}}}|320|{{#if:{{{item4|}}}|254|{{#if:{{{item3|}}}|188|{{#if:{{{item2|}}}|122|56}}}}}}}}px; float:left; font-family:sans-serif; font-size:16px; font-family: aller; margin-left:8px; margin-top:11px;" |
{|style="height: 56px!important; background-color: rgba(0, 0, 0, 0.2); margin:0px auto 1em auto; border-radius:75px; width:{{#if:{{{item5|}}}|320|{{#if:{{{item4|}}}|254|{{#if:{{{item3|}}}|188|{{#if:{{{item2|}}}|122|56}}}}}}}}px; float:left; font-family:sans-serif; font-size:16px; font-family: aller; margin-left:8px; margin-top:11px;" |
||
|- |
|- |
||
|style="position:absolute; margin-left:{{#ifexpr:{{{count1|1}}} > 9|11|16}}px; margin-top:-5px;"|{{IconCreate|icon={{{item1|Battery}}}|bg=none|width=55}}<div style="bottom:13px; position:relative;"><font color="93dc02">x{{{count1|1}}}</font></div> |
|style="position:absolute; margin-left:{{#ifexpr:{{{count1|1}}} > 9|11|16}}px; margin-top:-5px;"|{{IconCreate|icon={{{item1|{{{item|Battery}}}}}}|bg=none|width=55}}<div style="bottom:13px; position:relative;"><font color="93dc02">x{{{count1|1}}}</font></div> |
||
{{#if:{{{item2|}}}| |
{{#if:{{{item2|}}}| |
||
{{!}}style="position:absolute; margin-left:{{#ifexpr:{{{count2|1}}} > 9|77|82}}px; margin-top:-5px;"{{!}}{{IconCreate|icon={{{item2|Ion Cube}}}|bg=none|width=55}}<div style="bottom:13px; position:relative;"><font color="93dc02">x{{{count2|1}}}</font></div>|}} |
{{!}}style="position:absolute; margin-left:{{#ifexpr:{{{count2|1}}} > 9|77|82}}px; margin-top:-5px;"{{!}}{{IconCreate|icon={{{item2|Ion Cube}}}|bg=none|width=55}}<div style="bottom:13px; position:relative;"><font color="93dc02">x{{{count2|1}}}</font></div>|}} |
||
Line 15: | Line 15: | ||
<div style="float:left; margin-left:57px;">{{IconCreate|icon={{{result|Unknown}}}|width=78}}</div> |
<div style="float:left; margin-left:57px;">{{IconCreate|icon={{{result|Unknown}}}|width=78}}</div> |
||
{{#ifeq:{{{result}}}|{{PAGENAME}}| |
|||
{{#if:{{{item1|}}}|[[Category:Crafted with {{{item1}}}]]|}} |
{{#if:{{{item1|}}}|[[Category:Crafted with {{{item1}}}]]|}} |
||
{{#if:{{{item2|}}}|[[Category:Crafted with {{{item2}}}]]|}} |
{{#if:{{{item2|}}}|[[Category:Crafted with {{{item2}}}]]|}} |
||
Line 21: | Line 22: | ||
{{#if:{{{item5|}}}|[[Category:Crafted with {{{item5}}}]]|}} |
{{#if:{{{item5|}}}|[[Category:Crafted with {{{item5}}}]]|}} |
||
{{#if:{{{machine|}}}|[[Category:Crafted with {{{machine}}}]]|}} |
{{#if:{{{machine|}}}|[[Category:Crafted with {{{machine}}}]]|}} |
||
|}} |