Difference between revisions of "Template:Reactor/doc"

From Industrial-Craft-Wiki
Jump to navigation Jump to search
m
m
Line 1: Line 1:
{{doc/start}}
This template is used to create a grid that looks similar to the GUI screen of the [[Nuclear Reactor]].
__TOC__
== Notes ==
Items in the grid are set by parameters ''A1-6''to ''I1-6''.
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 ==
<pre style="width: 500px">{{Grid/Reactor
|A1=Cable|A2=Cable|A3=Cable|A4=Cable|A5=Cable|A6=Cable
|B1=Cable|B2=Cable|B3=Cable|B4=Cable|B5=Cable|B6=Cable
|C1=Cable|C2=Cable|C3=Cable|C4=Cable|C5=Cable|C6=Cable
|D1=Cable|D2=Cable|D3=Cable|D4=Cable|D5=Cable|D6=Cable
|E1=Cable|E2=Cable|E3=Refined Iron|E4=Cable|E5=Cable|E6=Cable
|F1=Cable|F2=Cable|F3=Cable|F4=Cable|F5=Cable|F6=Cable
|G1=Cable|G2=Cable|G3=Cable|G4=Cable|G5=Cable|G6=Cable
|H1=Cable|H2=Cable|H3=Cable|H4=Cable|H5=Cable|H6=Cable
|I1=Cable|I2=Cable|I3=Cable|I4=Cable|I5=Cable|I6=Cable
}}</pre>
;produces:
{{Grid/Reactor
{{Grid/Reactor
|A1=Cable|A2=Cable|A3=Cable|A4=Cable|A5=Cable|A6=Cable
|A1=Cable|A2=Cable|A3=Cable|A4=Cable|A5=Cable|A6=Cable
Line 4: Line 44:
|C1=Cable|C2=Cable|C3=Cable|C4=Cable|C5=Cable|C6=Cable
|C1=Cable|C2=Cable|C3=Cable|C4=Cable|C5=Cable|C6=Cable
|D1=Cable|D2=Cable|D3=Cable|D4=Cable|D5=Cable|D6=Cable
|D1=Cable|D2=Cable|D3=Cable|D4=Cable|D5=Cable|D6=Cable
|E1=Cable|E2=Cable|E3=Cable|E4=Cable|E5=Cable|E6=Cable
|E1=Cable|E2=Cable|E3=Refined Iron|E4=Cable|E5=Cable|E6=Cable
|F1=Cable|F2=Cable|F3=Cable|F4=Cable|F5=Cable|F6=Cable
|F1=Cable|F2=Cable|F3=Cable|F4=Cable|F5=Cable|F6=Cable
|G1=Cable|G2=Cable|G3=Cable|G4=Cable|G5=Cable|G6=Cable
|G1=Cable|G2=Cable|G3=Cable|G4=Cable|G5=Cable|G6=Cable
Line 10: Line 50:
|I1=Cable|I2=Cable|I3=Cable|I4=Cable|I5=Cable|I6=Cable
|I1=Cable|I2=Cable|I3=Cable|I4=Cable|I5=Cable|I6=Cable
}}
}}
 
{{doc/end}}
Testing

Revision as of 10:09, 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-6to I1-6.


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
|B1=Cable|B2=Cable|B3=Cable|B4=Cable|B5=Cable|B6=Cable
|C1=Cable|C2=Cable|C3=Cable|C4=Cable|C5=Cable|C6=Cable
|D1=Cable|D2=Cable|D3=Cable|D4=Cable|D5=Cable|D6=Cable
|E1=Cable|E2=Cable|E3=Refined Iron|E4=Cable|E5=Cable|E6=Cable
|F1=Cable|F2=Cable|F3=Cable|F4=Cable|F5=Cable|F6=Cable
|G1=Cable|G2=Cable|G3=Cable|G4=Cable|G5=Cable|G6=Cable
|H1=Cable|H2=Cable|H3=Cable|H4=Cable|H5=Cable|H6=Cable
|I1=Cable|I2=Cable|I3=Cable|I4=Cable|I5=Cable|I6=Cable
}}
produces

Cable

Cable

Cable

Cable

Cable

Cable


Cable

Cable

Cable

Cable

Cable

Cable


Cable

Cable

Cable

Cable

Cable

Cable


Cable

Cable

Cable

Cable

Cable

Cable


Cable

Cable

Refined Iron

Cable

Cable

Cable


Cable

Cable

Cable

Cable

Cable

Cable



This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.