Template:Detrecipe: Difference between revisions

From IdleOn MMO Wiki
imported>BigCoight
(Created page with " <tr> <td style = "width:80%;">{{CraftReq|{{{1}}}}} </td> <td style = "width:20%;text-align:right;">x{{{2}}}</td> </tr>}}")
 
(Use 'Numdisplay' to format the number of required materials e.g. 2000000 becomes 2 M, 150000 becomes 150 k)
 
(16 intermediate revisions by 3 users not shown)
Line 1: Line 1:
    <tr>
<includeonly>{{#if:{{{2|}}}|
         <td style = "width:80%;">{{CraftReq|{{{1}}}}} </td>
        {{!}}-
         <td style = "width:20%;text-align:right;">x{{{2}}}</td>
         {{!}}style="padding-left:{{#expr:({{{1}}}/2)+5}}px"{{!}}{{CraftReq|{{{2}}}}}
    </tr>}}
         {{!}}{{Numdisplay|{{{3}}}}}}}</includeonly><noinclude>
[[category:Table templates]]
</noinclude>
<noinclude><pre>
Usage:
{{Detrecipe|How many pixels you want it to the right|Item|Amount}}
</pre></noinclude>

Latest revision as of 08:46, 9 August 2023


Usage:
{{Detrecipe|How many pixels you want it to the right|Item|Amount}}