Difference between revisions of "Template:Grid/Reactor"

From Industrial-Craft-Wiki
Jump to navigation Jump to search
m
m
Line 6: Line 6:
[[Image:{{#if:{{{A1-image|}}}|{{{A1-image}}}|Grid_{{{A1}}}.png}}|32px|link={{#if:{{{A1-link|}}}|{{{A1-link}}}|{{{A1}}}}}|alt={{{A1}}}]]
[[Image:{{#if:{{{A1-image|}}}|{{{A1-image}}}|Grid_{{{A1}}}.png}}|32px|link={{#if:{{{A1-link|}}}|{{{A1-link}}}|{{{A1}}}}}|alt={{{A1}}}]]
</div>}}
</div>}}
{{#if:{{{A2|}}}|<div style="left:47px; top:25px; width:32px; height:32px; position:absolute;">
{{#if:{{{A2|}}}|<div style="left:49px; top:25px; width:32px; height:32px; position:absolute;">
[[Image:{{#if:{{{A2-image|}}}|{{{A2-image}}}|Grid_{{{A2}}}.png}}|32px|link={{#if:{{{A2-link|}}}|{{{A2-link}}}|{{{A1}}}}}|alt={{{A2}}}]]
[[Image:{{#if:{{{A2-image|}}}|{{{A2-image}}}|Grid_{{{A2}}}.png}}|32px|link={{#if:{{{A2-link|}}}|{{{A2-link}}}|{{{A1}}}}}|alt={{{A2}}}]]
</div>}}
</div>}}
         {{#if:{{{A3|}}}|<div style="left:82px; top:25px; width:32px; height:32px; position:absolute;">
         {{#if:{{{A3|}}}|<div style="left:86px; top:25px; width:32px; height:32px; position:absolute;">
[[Image:{{#if:{{{A3-image|}}}|{{{A3-image}}}|Grid_{{{A3}}}.png}}|32px|link={{#if:{{{A3-link|}}}|{{{A3-link}}}|{{{A3}}}}}|alt={{{A3}}}]]
[[Image:{{#if:{{{A3-image|}}}|{{{A3-image}}}|Grid_{{{A3}}}.png}}|32px|link={{#if:{{{A3-link|}}}|{{{A3-link}}}|{{{A3}}}}}|alt={{{A3}}}]]
</div>}}
</div>}}
         {{#if:{{{A4|}}}|<div style="left:117px; top:25px; width:32px; height:32px; position:absolute;">
         {{#if:{{{A4|}}}|<div style="left:123px; top:25px; width:32px; height:32px; position:absolute;">
[[Image:{{#if:{{{A4-image|}}}|{{{A4-image}}}|Grid_{{{A4}}}.png}}|32px|link={{#if:{{{A4-link|}}}|{{{A4-link}}}|{{{A4}}}}}|alt={{{A4}}}]]
[[Image:{{#if:{{{A4-image|}}}|{{{A4-image}}}|Grid_{{{A4}}}.png}}|32px|link={{#if:{{{A4-link|}}}|{{{A4-link}}}|{{{A4}}}}}|alt={{{A4}}}]]
</div>}}
</div>}}

Revision as of 09:55, 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

}}



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