Difference between revisions of "Template:Grid/Reactor"

From Industrial-Craft-Wiki
Jump to navigation Jump to search
m
m
Line 20: Line 20:
         {{#if:{{{A6|}}}|<div style="left:202px; top:25px; width:32px; height:32px; position:absolute;">
         {{#if:{{{A6|}}}|<div style="left:202px; top:25px; width:32px; height:32px; position:absolute;">
[[Image:{{#if:{{{A6-image|}}}|{{{A6-image}}}|Grid_{{{A6}}}.png}}|32px|link={{#if:{{{A6-link|}}}|{{{A6-link}}}|{{{A6}}}}}|alt={{{A6}}}]]
[[Image:{{#if:{{{A6-image|}}}|{{{A6-image}}}|Grid_{{{A6}}}.png}}|32px|link={{#if:{{{A6-link|}}}|{{{A6-link}}}|{{{A6}}}}}|alt={{{A6}}}]]
</div>}}
        {{#if:{{{B1|}}}|<div style="left:12px; top:63px; width:32px; height:32px; position:absolute;">
[[Image:{{#if:{{{B1-image|}}}|{{{B1-image}}}|Grid_{{{B1}}}.png}}|32px|link={{#if:{{{B1-link|}}}|{{{B1-link}}}|{{{B1}}}}}|alt={{{B1}}}]]
</div>}}
{{#if:{{{B2|}}}|<div style="left:50px; top:101px; width:32px; height:32px; position:absolute;">
[[Image:{{#if:{{{B2-image|}}}|{{{B2-image}}}|Grid_{{{B2}}}.png}}|32px|link={{#if:{{{B2-link|}}}|{{{B2-link}}}|{{{B1}}}}}|alt={{{B2}}}]]
</div>}}
        {{#if:{{{B3|}}}|<div style="left:88px; top:139px; width:32px; height:32px; position:absolute;">
[[Image:{{#if:{{{B3-image|}}}|{{{B3-image}}}|Grid_{{{B3}}}.png}}|32px|link={{#if:{{{B3-link|}}}|{{{B3-link}}}|{{{B3}}}}}|alt={{{B3}}}]]
</div>}}
        {{#if:{{{B4|}}}|<div style="left:126px; top:177px; width:32px; height:32px; position:absolute;">
[[Image:{{#if:{{{B4-image|}}}|{{{B4-image}}}|Grid_{{{B4}}}.png}}|32px|link={{#if:{{{B4-link|}}}|{{{B4-link}}}|{{{B4}}}}}|alt={{{B4}}}]]
</div>}}
        {{#if:{{{B5|}}}|<div style="left:164px; top:215px; width:32px; height:32px; position:absolute;">
[[Image:{{#if:{{{B5-image|}}}|{{{B5-image}}}|Grid_{{{B5}}}.png}}|32px|link={{#if:{{{B5-link|}}}|{{{B5-link}}}|{{{B5}}}}}|alt={{{B5}}}]]
</div>}}
        {{#if:{{{B6|}}}|<div style="left:202px; top:253px; width:32px; height:32px; position:absolute;">
[[Image:{{#if:{{{B6-image|}}}|{{{B6-image}}}|Grid_{{{B6}}}.png}}|32px|link={{#if:{{{B6-link|}}}|{{{B6-link}}}|{{{B6}}}}}|alt={{{B6}}}]]
</div>}}
</div>}}
}}
}}

Revision as of 09:59, 17 August 2011


Template-info.png Documentation

This template is used to create a grid that looks similar to the GUI screen of the Nuclear Reactor.

Notes[edit]

Items in the grid are set by parameters A1-9 to F1-9.


Each item can have a custom image by setting the "-image" parameter

For Example: A1-image would set a custom image for item in the first slot

If this parameter is omitted, the template will attempt to use Grid item.png

For Example: If A1 was "Copper Dust", then the default image would be "Grid Copper Dust.png"


Each item can have a custom link by setting the "-link" parameter

For Example: A1-link would set a custom link for the item in the first slot

If this parameter is omitted, the template will attempt to use [ [ item ] ]

For Example: If A1 was "Refined Iron", then the image would try to link to [ [Refined Iron] ]


Usage[edit]

{{Grid/Reactor
|A1=Cable|A2=Cable|A3=Cable|A4=Cable|A5=Cable|A6=Cable|A7=Cable|A8=Cable|A9=Cable
|B1=Cable|B2=Cable|B3=Cable|B4=Cable|B5=Cable|B6=Cable|B7=Cable|B8=Cable|B9=Cable
|C1=Cable|C2=Cable|C3=Cable|C4=Cable|C5=Cable|C6=Cable|C7=Cable|C8=Cable|C9=Cable
|D1=Cable|D2=Cable|D3=Cable|D4=Cable|D5=Cable|D6=Cable|D7=Cable|D8=Cable|D9=Cable
|E1=Cable|E2=Cable|E3=Refined Iron|E4=Cable|E5=Cable|E6=Cable|E7=Cable|E8=Cable|E9=Cable
|F1=Cable|F2=Cable|F3=Cable|F4=Cable|F5=Cable|F6=Cable|F7=Cable|F8=Cable|F9=Cable
}}
produces

Cable

Cable

Cable

Cable

Cable

Cable

Cable

Cable

Cable

Cable

Cable

Cable

}}



The above documentation is transcluded from Template:Grid/Reactor/doc. (edit | history)