Difference between revisions of "Template:Grid/Reactor"
m |
m |
||
Line 130: | Line 130: | ||
</div>}} | </div>}} | ||
{{#if:{{{H1|}}}|<div style="left:12px; top:291px; width:32px; height:32px; position:absolute;"> | {{#if:{{{H1|}}}|<div style="left:12px; top:291px; width:32px; height:32px; position:absolute;"> | ||
[[Image:{{#if:{{{H1-image|}}}|{{{H1-image}}}| | [[Image:{{#if:{{{H1-image|}}}|{{{H1-image}}}|Grid_{{{H1}}}.png}}|32px|link={{#if:{{{H1-link|}}}|{{{H1-link}}}|{{{H1}}}}}|alt={{{H1}}}]] | ||
</div>}} | </div>}} | ||
{{#if:{{{H2|}}}|<div style="left:50px; top:291px; width:32px; height:32px; position:absolute;"> | {{#if:{{{H2|}}}|<div style="left:50px; top:291px; width:32px; height:32px; position:absolute;"> | ||
[[Image:{{#if:{{{H2-image|}}}|{{{H2-image}}}| | [[Image:{{#if:{{{H2-image|}}}|{{{H2-image}}}|Grid_{{{H2}}}.png}}|32px|link={{#if:{{{H2-link|}}}|{{{H2-link}}}|{{{H1}}}}}|alt={{{H2}}}]] | ||
</div>}} | </div>}} | ||
{{#if:{{{H3|}}}|<div style="left:88px; top:291px; width:32px; height:32px; position:absolute;"> | {{#if:{{{H3|}}}|<div style="left:88px; top:291px; width:32px; height:32px; position:absolute;"> | ||
[[Image:{{#if:{{{H3-image|}}}|{{{H3-image}}}| | [[Image:{{#if:{{{H3-image|}}}|{{{H3-image}}}|Grid_{{{H3}}}.png}}|32px|link={{#if:{{{H3-link|}}}|{{{H3-link}}}|{{{H3}}}}}|alt={{{H3}}}]] | ||
</div>}} | </div>}} | ||
{{#if:{{{H4|}}}|<div style="left:126px; top:291px; width:32px; height:32px; position:absolute;"> | {{#if:{{{H4|}}}|<div style="left:126px; top:291px; width:32px; height:32px; position:absolute;"> | ||
[[Image:{{#if:{{{H4-image|}}}|{{{H4-image}}}| | [[Image:{{#if:{{{H4-image|}}}|{{{H4-image}}}|Grid_{{{H4}}}.png}}|32px|link={{#if:{{{H4-link|}}}|{{{H4-link}}}|{{{H4}}}}}|alt={{{H4}}}]] | ||
</div>}} | </div>}} | ||
{{#if:{{{H5|}}}|<div style="left:164px; top:291px; width:32px; height:32px; position:absolute;"> | {{#if:{{{H5|}}}|<div style="left:164px; top:291px; width:32px; height:32px; position:absolute;"> | ||
[[Image:{{#if:{{{H5-image|}}}|{{{H5-image}}}| | [[Image:{{#if:{{{H5-image|}}}|{{{H5-image}}}|Grid_{{{H5}}}.png}}|32px|link={{#if:{{{H5-link|}}}|{{{H5-link}}}|{{{H5}}}}}|alt={{{H5}}}]] | ||
</div>}} | </div>}} | ||
{{#if:{{{H6|}}}|<div style="left:202px; top:291px; width:32px; height:32px; position:absolute;"> | {{#if:{{{H6|}}}|<div style="left:202px; top:291px; width:32px; height:32px; position:absolute;"> | ||
[[Image:{{#if:{{{H6-image|}}}|{{{H6-image}}}| | [[Image:{{#if:{{{H6-image|}}}|{{{H6-image}}}|Grid_{{{H6}}}.png}}|32px|link={{#if:{{{H6-link|}}}|{{{H6-link}}}|{{{H6}}}}}|alt={{{H6}}}]] | ||
</div>}} | </div>}} | ||
{{#if:{{{I1|}}}|<div style="left:12px; top:329px; width:32px; height:32px; position:absolute;"> | {{#if:{{{I1|}}}|<div style="left:12px; top:329px; width:32px; height:32px; position:absolute;"> | ||
[[Image:{{#if:{{{I1-image|}}}|{{{I1-image}}}| | [[Image:{{#if:{{{I1-image|}}}|{{{I1-image}}}|Grid_{{{I1}}}.png}}|32px|link={{#if:{{{I1-link|}}}|{{{I1-link}}}|{{{I1}}}}}|alt={{{I1}}}]] | ||
</div>}} | </div>}} | ||
{{#if:{{{I2|}}}|<div style="left:50px; top:329px; width:32px; height:32px; position:absolute;"> | {{#if:{{{I2|}}}|<div style="left:50px; top:329px; width:32px; height:32px; position:absolute;"> | ||
[[Image:{{#if:{{{I2-image|}}}|{{{I2-image}}}| | [[Image:{{#if:{{{I2-image|}}}|{{{I2-image}}}|Grid_{{{I2}}}.png}}|32px|link={{#if:{{{I2-link|}}}|{{{I2-link}}}|{{{I1}}}}}|alt={{{I2}}}]] | ||
</div>}} | </div>}} | ||
{{#if:{{{I3|}}}|<div style="left:88px; top:329px; width:32px; height:32px; position:absolute;"> | {{#if:{{{I3|}}}|<div style="left:88px; top:329px; width:32px; height:32px; position:absolute;"> | ||
[[Image:{{#if:{{{I3-image|}}}|{{{I3-image}}}| | [[Image:{{#if:{{{I3-image|}}}|{{{I3-image}}}|Grid_{{{I3}}}.png}}|32px|link={{#if:{{{I3-link|}}}|{{{I3-link}}}|{{{I3}}}}}|alt={{{I3}}}]] | ||
</div>}} | </div>}} | ||
{{#if:{{{I4|}}}|<div style="left:126px; top:329px; width:32px; height:32px; position:absolute;"> | {{#if:{{{I4|}}}|<div style="left:126px; top:329px; width:32px; height:32px; position:absolute;"> | ||
[[Image:{{#if:{{{I4-image|}}}|{{{I4-image}}}| | [[Image:{{#if:{{{I4-image|}}}|{{{I4-image}}}|Grid_{{{I4}}}.png}}|32px|link={{#if:{{{I4-link|}}}|{{{I4-link}}}|{{{I4}}}}}|alt={{{I4}}}]] | ||
</div>}} | </div>}} | ||
{{#if:{{{I5|}}}|<div style="left:164px; top:329px; width:32px; height:32px; position:absolute;"> | {{#if:{{{I5|}}}|<div style="left:164px; top:329px; width:32px; height:32px; position:absolute;"> | ||
[[Image:{{#if:{{{I5-image|}}}|{{{I5-image}}}| | [[Image:{{#if:{{{I5-image|}}}|{{{I5-image}}}|Grid_{{{I5}}}.png}}|32px|link={{#if:{{{I5-link|}}}|{{{I5-link}}}|{{{I5}}}}}|alt={{{I5}}}]] | ||
</div>}} | </div>}} | ||
{{#if:{{{I6|}}}|<div style="left:202px; top:329px; width:32px; height:32px; position:absolute;"> | {{#if:{{{I6|}}}|<div style="left:202px; top:329px; width:32px; height:32px; position:absolute;"> | ||
[[Image:{{#if:{{{I6-image|}}}|{{{I6-image}}}| | [[Image:{{#if:{{{I6-image|}}}|{{{I6-image}}}|Grid_{{{I6}}}.png}}|32px|link={{#if:{{{I6-link|}}}|{{{I6-link}}}|{{{I6}}}}}|alt={{{I6}}}]] | ||
</div>}} | </div>}} | ||
}} | }} |
Revision as of 10:04, 17 August 2011
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
The above documentation is transcluded from Template:Grid/Reactor/doc. (edit | history)