Template:Production/Doc: Difference between revisions
Jump to navigation
Jump to search
(→Full Example: Added a second example.) |
(→How to use: Added Template:Production example.) |
||
Line 117: | Line 117: | ||
}} | }} | ||
{{ProductionFooter}} | {{ProductionFooter}} | ||
===Single Entry Example=== | |||
If only one entry is needed, it is possible to use [[Template:Production]] like this: | |||
<nowiki>{{Production</nowiki> | |||
<nowiki>| Building = [[Weapon Smith]]</nowiki> | |||
<nowiki>| Produce = 10 [[Laser Pistol]]</nowiki> | |||
<nowiki>| TL = 6</nowiki> | |||
<nowiki>| Consumed =</nowiki> | |||
<nowiki>* 10 [[Metal]]</nowiki> | |||
<nowiki>* 20 [[Plastic]]</nowiki> | |||
<nowiki>* 10 [[Cryo Heat Sink]]</nowiki> | |||
<nowiki>* 10 [[Gems]]</nowiki> | |||
<nowiki>* 10 [[Electronic Part]]s</nowiki> | |||
<nowiki>| Reqired =</nowiki> | |||
<nowiki>* [[Clamp]]</nowiki> | |||
<nowiki>* [[Screw Driver]]</nowiki> | |||
<nowiki>* [[Computer]]</nowiki> | |||
<nowiki>* [[Electricity]]</nowiki> | |||
<nowiki>| Optional =</nowiki> | |||
<nowiki>}}</nowiki> | |||
End result is the same, just no need to add header and footer. | |||
{{Production | |||
| Building = [[Weapon Smith]] | |||
| Produce = 10 [[Laser Pistol]] | |||
| TL = 6 | |||
| Consumed = | |||
* 10 [[Metal]] | |||
* 20 [[Plastic]] | |||
* 10 [[Cryo Heat Sink]] | |||
* 10 [[Gems]] | |||
* 10 [[Electronic Part]]s | |||
| Reqired = | |||
* [[Clamp]] | |||
* [[Screw Driver]] | |||
* [[Computer]] | |||
* [[Electricity]] | |||
| Optional = | |||
}} |
Revision as of 00:39, 4 June 2015
How to use
To use this template, simply copy this into the page.
{{ProductionHeader}}
{{ProductionEntry | Building = | Produces = | TL = | 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}}}
- TL = 1
Minimal Example
{{ProductionHeader}} {{ProductionEntry | Building = | Produces = (Example Item) | TL = | Consumed = | Required = | Optional = }} {{ProductionEntry | Building = (Example Building) | Produces = | TL = | Consumed = | Required = | Optional = }} {{ProductionFooter}}
Building | Produces | Consumed | Required | Optional |
---|---|---|---|---|
Production/Doc | (Example Item) |
|
|
|
(Example Building) | Production/Doc |
|
|
|
Full Example
{{ProductionHeader}} {{ProductionEntry | Building = [[Refinery]] | Produces = 10 [[Petrochemicals]] | TL = 1 | Consumed = * 10 [[Oil]] | Required = | Optional = * [[Computer]] (+ output) * [[Electricity]] (- time) }} {{ProductionEntry | Building = [[Refinery]] | Produces = 10 [[Water]] | TL = 1 | Consumed = * 10 [[Air]] * 10 [[Hydrogen]] | Required = * [[Electricity]] | Optional = * [[Computer]] (+ output) }} {{ProductionFooter}}
Building | Produces | Consumed | Required | Optional |
---|---|---|---|---|
Refinery | 10 Petrochemicals |
|
|
|
Refinery | 10 Water |
|
|
|
Single Entry Example
If only one entry is needed, it is possible to use Template:Production like this:
{{Production | Building = [[Weapon Smith]] | Produce = 10 [[Laser Pistol]] | TL = 6 | Consumed = * 10 [[Metal]] * 20 [[Plastic]] * 10 [[Cryo Heat Sink]] * 10 [[Gems]] * 10 [[Electronic Part]]s | Reqired = * [[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 | Production/Doc |
|
|
|