Template:Recipe (BZ): Difference between revisions
(new version of the recipe template) |
|||
Line 1: | Line 1: | ||
{|style="height:72px; background-color: rgba(0, 0, 0, 0.3); margin: 0px auto 1em auto; border-radius:75px; width:{{#if:{{{item5|}}}|336|{{#if:{{{item4|}}}|270|{{#if:{{{item3|}}}|204|{{#if:{{{item2|}}}|138|72}}}}}}}}px; float: left; vertical-align: center; position:absolute; margin-top:3px;" |
|||
<div style="height:{{#ifeq:{{{small|}}}|yes|36|72}}px;"><!-- |
|||
|} |
|||
{|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:{{{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>|}} |
|||
{{#if:{{{item3|}}}| |
|||
{{!}}style="position:absolute; margin-left:{{#ifexpr:{{{count3|1}}} > 9|143|148}}px; margin-top:-5px;"{{!}}{{IconCreate|icon={{{item3|Titanium}}}|bg=none|width=55}}<div style="bottom:13px; position:relative;"><font color="93dc02">x{{{count3|1}}}</font></div>|}} |
|||
{{#if:{{{item4|}}}| |
|||
{{!}}style="position:absolute; margin-left:{{#ifexpr:{{{count4|1}}} > 9|209|214}}px; margin-top:-5px;"{{!}}{{IconCreate|icon={{{item4|}}}|bg=none|width=55}}<div style="bottom:13px; position:relative;"><font color="93dc02">x{{{count4|1}}}</font></div>|}} |
|||
{{#if:{{{item5|}}}| |
|||
{{!}}style="position:absolute; margin-left:{{#ifexpr:{{{count5|1}}} > 9|275|280}}px; margin-top:-5px;"{{!}}{{IconCreate|icon={{{item5|}}}|bg=none|width=55}}<div style="bottom:13px; position:relative;"><font color="93dc02">x{{{count5|1}}}</font></div>|}} |
|||
|} |
|||
<div style="float:left; margin-left:57px;">{{IconCreate|icon={{{result|Unknown}}}|width=78}}</div> |
|||
⚫ | |||
-->{{#if: {{{item1|{{{item|}}}}}} | {{repeat | 1={{{count1|{{{count|1}}}}}} | 2=<span class="recipe-icon" style="position: relative; display: inline-block; margin: 3px; top: 1px; bottom: 1px; left: 1px; right: 1px;">[[File:{{{item1|{{{item|}}}}}}.png{{#ifeq:{{{small|}}}|yes|{{!}}32px|{{!}}54px}}|link={{{item1|{{{item|}}}}}}]]</span>| 3=<span class="inventory" style="font-size:150%;vertical-align:middle;margin: 3px;">×'''{{{count1|{{{count|1}}}}}}'''</span> }} }}<!-- |
|||
⚫ | |||
⚫ | |||
-->{{#if: {{{item2|}}} | {{repeat | 1={{{count2|1}}} | 2=<span class="recipe-icon" style="position: relative; display: inline-block; margin: 3px; top: 1px; bottom: 1px; left: 1px; right: 1px;">[[File:{{{item2|}}}.png{{#ifeq:{{{small|}}}|yes|{{!}}32px|{{!}}54px}}|link={{{item2|}}}]]</span> | 3=<span class="times" style="font-size:150%;vertical-align:middle;margin: 3px;">×'''{{{count2|1}}}'''</span> }} }}<!-- |
|||
⚫ | |||
⚫ | |||
-->{{#if: {{{item3|}}} | {{repeat | 1={{{count3|1}}} | 2=<span class="recipe-icon" style="position: relative; display: inline-block; margin: 3px; top: 1px; bottom: 1px; left: 1px; right: 1px;">[[File:{{{item3|}}}.png{{#ifeq:{{{small|}}}|yes|{{!}}32px|{{!}}54px}}|link={{{item3|}}}]]</span> | 3=<span class="times" style="font-size:150%;vertical-align:middle;margin: 3px;">×'''{{{count3|1}}}'''</span> }} }}<!-- |
|||
⚫ | |||
-->{{#if: {{{item4|}}} | {{repeat | 1={{{count4|1}}} | 2=<span class="recipe-icon" style="position: relative; display: inline-block; margin: 3px; top: 1px; bottom: 1px; left: 1px; right: 1px;">[[File:{{{item4|}}}.png{{#ifeq:{{{small|}}}|yes|{{!}}32px|{{!}}54px}}|link={{{item4|}}}]]</span> | 3=<span class="times" style="font-size:150%;vertical-align:middle;margin: 3px;">×'''{{{count4|1}}}'''</span> }} }}<!-- |
|||
-->{{#if: {{{item5|}}} | {{repeat | 1={{{count5|1}}} | 2=<span class="recipe-icon" style="position: relative; display: inline-block; margin: 3px; top: 1px; bottom: 1px; left: 1px; right: 1px;">[[File:{{{item5|}}}.png{{#ifeq:{{{small|}}}|yes|{{!}}32px|{{!}}54px}}|link={{{item5|}}}]]</span> | 3=<span class="times" style="font-size:150%;vertical-align:middle;margin: 3px;">×'''{{{count4|1}}}'''</span> }} }}<!-- |
|||
-->{{#if: {{{item6|}}} | {{repeat | 1={{{count6|1}}} | 2=<span class="recipe-icon" style="position: relative; display: inline-block; margin: 3px; top: 1px; bottom: 1px; left: 1px; right: 1px;">[[File:{{{item6|}}}.png{{#ifeq:{{{small|}}}|yes|{{!}}32px|{{!}}54px}}|link={{{item6|}}}]]</span> | 3=<span class="times" style="font-size:150%;vertical-align:middle;margin: 3px;">×'''{{{count4|1}}}'''</span> }} }}<!-- |
|||
-->{{#if: {{{item7|}}} | {{repeat | 1={{{count7|1}}} | 2=<span class="recipe-icon" style="position: relative; display: inline-block; margin: 3px; top: 1px; bottom: 1px; left: 1px; right: 1px;">[[File:{{{item7|}}}.png{{#ifeq:{{{small|}}}|yes|{{!}}32px|{{!}}54px}}|link={{{item7|}}}]]</span> | 3=<span class="times" style="font-size:150%;vertical-align:middle;margin: 3px;">×'''{{{count4|1}}}'''</span> }} }}<!-- |
|||
-->{{#if: {{{item8|}}} | {{repeat | 1={{{count8|1}}} | 2=<span class="recipe-icon" style="position: relative; display: inline-block; margin: 3px; top: 1px; bottom: 1px; left: 1px; right: 1px;">[[File:{{{item8|}}}.png{{#ifeq:{{{small|}}}|yes|{{!}}32px|{{!}}54px}}|link={{{item8|}}}]]</span> | 3=<span class="times" style="font-size:150%;vertical-align:middle;margin: 3px;">×'''{{{count4|1}}}'''</span> }} }}<!-- |
|||
--><span class="arrow-icon" style="display: inline-block; margin: 3px; vertical-align:middle;">[[File:Arrow-right_(1).png]]</span><!-- |
|||
-->{{#if: {{{machine|}}} | <span class="machine-icon" style="position: relative; display: inline-block; margin: 3px; top: 1px; bottom: 1px; left: 1px; right: 1px;">[[File:{{{machine|}}}.png{{#ifeq:{{{small|}}}|yes|{{!}}32px|{{!}}54px}}|link={{{machine|}}}]]</span> }}<!-- |
|||
--><span class="arrow-icon" style="display: inline-block; margin: 3px; vertical-align:middle;">[[File:Arrow-right_(1).png]]</span><!-- |
|||
-->{{#if: {{{result|}}} | {{repeat | 1={{{resultcount|1}}} | 2=<span class="recipe-icon" style="position: relative; display: inline-block; margin: 3px; top: 1px; bottom: 1px; left: 1px; right: 1px;">[[File:{{{result|}}}.png{{#ifeq:{{{small|}}}|yes|{{!}}32px|{{!}}54px}}|link={{{result|}}}]]</span> | 3=<span class="times" style="font-size:150%;vertical-align:middle;margin: 3px;">×'''{{{resultcount|1}}}'''</span> }} }}<!-- |
|||
-->{{#if: {{{result2|}}} | {{repeat | 1={{{resultcount2|1}}} | 2=<span class="recipe-icon" style="position: relative; display: inline-block; margin: 3px; top: 1px; bottom: 1px; left: 1px; right: 1px;">[[File:{{{result2|}}}.png{{#ifeq:{{{small|}}}|yes|{{!}}32px|{{!}}54px}}|link={{{result2|}}}]]</span> | 3=<span class="times" style="font-size:150%;vertical-align:middle;margin: 3px;">×'''{{{resultcount2|1}}}'''</span> }} }}<!-- |
|||
-->{{#if: {{{result3|}}} | {{repeat | 1={{{resultcount3|1}}} | 2=<span class="recipe-icon" style="position: relative; display: inline-block; margin: 3px; top: 1px; bottom: 1px; left: 1px; right: 1px;">[[File:{{{result3|}}}.png{{#ifeq:{{{small|}}}|yes|{{!}}32px|{{!}}54px}}|link={{{result3|}}}]]</span> | 3=<span class="times" style="font-size:150%;vertical-align:middle;margin: 3px;">×'''{{{resultcount3|1}}}'''</span> }} }}<!-- |
|||
-->{{#if: {{{note|}}} | <span class="recipe-note" style="display: inline-block; margin: 3px 3px 3px 10px; vertical-align: middle;">{{{note|}}}</span>}}<!-- |
|||
--> |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
{{#if:{{{item7|}}}|[[Category:Crafted with {{{item7}}}]]}} |
|||
{{#if:{{{item8|}}}|[[Category:Crafted with {{{item8}}}]]}} |
|||
{{#if:{{{machine|}}}|{{#switch:{{{machine|}}}|Mobile Vehicle Bay=[[Category:Constructed with Mobile Vehicle Bay]]|Builder|Habitat Builder=[[Category:Constructed with Habitat Builder]]|#default=[[Category:Crafted with {{{machine}}}]]}}}}}}<!-- |
|||
--></div><noinclude>[{{Purge}}]{{Documentation}}</noinclude><noinclude> |
|||
[[Category:Templates]] |
|||
</noinclude> |