Template:ProductionEntry: Difference between revisions
Jump to navigation
Jump to search
(Gonna see if this makes it all a little easier to look at.) |
m (Needed a line-break.) |
||
Line 4: | Line 4: | ||
| style="text-align:right;" | {{#if:{{{TL|}}}|{{{TL}}}|1}} | | style="text-align:right;" | {{#if:{{{TL|}}}|{{{TL}}}|1}} | ||
|| | || | ||
<small>{{{Consumed}}}</small> | <small> | ||
{{{Consumed}}} | |||
</small> | |||
|| | || | ||
<small>{{{Required}}}</small> | <small> | ||
{{{Required}}} | |||
</small> | |||
|| | || | ||
<small>{{{Optional}}}</small></includeonly> | <small> | ||
{{{Optional}}} | |||
</small></includeonly> | |||
<noinclude>{{Production/Doc}}</noinclude> | <noinclude>{{Production/Doc}}</noinclude> |
Revision as of 12:57, 2 September 2015
How to use
To use this template, simply copy this into the page.
{{ProductionHeader}}
{{ProductionEntry | Building = | Produces = | Consumed = * | Required = * | Optional = * * [[Computer]] (+ output) * [[Electricity]] (- time) }}
{{ProductionFooter}}
Then fill in information as need. See the examples below.
A few of the fields can left blank to invoke the default, which is:
- Building = {{{PAGENAME}}}
- Produces = {{{PAGENAME}}}
Minimal Example
{{ProductionHeader}} {{ProductionEntry | Building = | Produces = (Example Item) | Consumed = | Required = | Optional = }} {{ProductionEntry | Building = (Example Building) | Produces = | Consumed = | Required = | Optional = }} {{ProductionFooter}}
Building | Produces | Consumed | Required | Optional | |
---|---|---|---|---|---|
ProductionEntry | (Example Item) | 1 |
|
|
|
(Example Building) | ProductionEntry | 1 |
|
|
|
Full Example
{{ProductionHeader}} {{ProductionEntry | Building = [[Refinery]] | Produces = 10 [[Petrochemicals]] | Consumed = * 10 [[Oil]] | Required = | Optional = * [[Computer]] (+ output) * [[Electricity]] (- time) }} {{ProductionEntry | Building = [[Refinery]] | Produces = 10 [[Water]] | Consumed = * 10 [[Air]] * 10 [[Hydrogen]] | Required = * [[Electricity]] | Optional = * [[Computer]] (+ output) }} {{ProductionFooter}}
Building | Produces | Consumed | Required | Optional | |
---|---|---|---|---|---|
Refinery | 10 Petrochemicals | 1 |
|
|
|
Refinery | 10 Water | 1 |
|
|
|
Single Entry Example
If only one entry is needed, it is possible to use Template:Production like this:
{{Production | Building = [[Weapon Smith]] | Produces = 10 [[Laser Pistol]] | Consumed = * 10 [[Metal]] * 20 [[Plastic]] * 10 [[Cryo Heat Sink]] * 10 [[Gems]] * 10 [[Electronic Part]]s | Required = * [[Clamp]] * [[Screw Driver]] * [[Computer]] * [[Electricity]] | Optional = }}
End result is the same, just no need to add header and footer.
Building | Produces | Consumed | Required | Optional | |
---|---|---|---|---|---|
Weapon Smith | 10 Laser Pistol | 1 |
|
|
|