Template:Production/Doc: Difference between revisions
Jump to navigation
Jump to search
m (→Single Entry Example: Fixed typo) |
m (→Single Entry Example: Fixed missing "s" in "Produces".) |
||
| Line 122: | Line 122: | ||
<nowiki>{{Production</nowiki> | <nowiki>{{Production</nowiki> | ||
<nowiki>| Building = [[Weapon Smith]]</nowiki> | <nowiki>| Building = [[Weapon Smith]]</nowiki> | ||
<nowiki>| | <nowiki>| Produces = 10 [[Laser Pistol]]</nowiki> | ||
<nowiki>| TL = 6</nowiki> | <nowiki>| TL = 6</nowiki> | ||
<nowiki>| Consumed =</nowiki> | <nowiki>| Consumed =</nowiki> | ||
| Line 140: | Line 140: | ||
{{Production | {{Production | ||
| Building = [[Weapon Smith]] | | Building = [[Weapon Smith]] | ||
| | | Produces = 10 [[Laser Pistol]] | ||
| TL = 6 | | TL = 6 | ||
| Consumed = | | Consumed = | ||
Revision as of 00:44, 5 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]]
| Produces = 10 [[Laser Pistol]]
| TL = 6
| 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 |
|
|
|