Template:Production/Doc: Difference between revisions
Jump to navigation
Jump to search
m (Deantwo moved page Template:ProductionDoc to Template:Production/Doc without leaving a redirect: Moving it to a subpage.) |
(→Full Example: Added a second example.) |
||
| Line 68: | Line 68: | ||
==Full Example== | ==Full Example== | ||
<nowiki>{{ProductionHeader}}</nowiki> | <nowiki>{{ProductionHeader}}</nowiki> | ||
<nowiki>{{ProductionEntry</nowiki> | |||
<nowiki>| Building = [[Refinery]]</nowiki> | |||
<nowiki>| Produces = 10 [[Petrochemicals]]</nowiki> | |||
<nowiki>| TL = 1</nowiki> | |||
<nowiki>| Consumed =</nowiki> | |||
<nowiki>* 10 [[Oil]]</nowiki> | |||
<nowiki>| Required =</nowiki> | |||
<nowiki>| Optional =</nowiki> | |||
<nowiki>* [[Computer]] (+ output)</nowiki> | |||
<nowiki>* [[Electricity]] (- time)</nowiki> | |||
<nowiki>}}</nowiki> | |||
<nowiki>{{ProductionEntry</nowiki> | <nowiki>{{ProductionEntry</nowiki> | ||
<nowiki>| Building = [[Refinery]]</nowiki> | <nowiki>| Building = [[Refinery]]</nowiki> | ||
| Line 78: | Line 89: | ||
<nowiki>* [[Electricity]]</nowiki> | <nowiki>* [[Electricity]]</nowiki> | ||
<nowiki>| Optional =</nowiki> | <nowiki>| Optional =</nowiki> | ||
<nowiki>* [[Computer]] (+ output)</nowiki> | <nowiki>* [[Computer]] (+ output)</nowiki> | ||
<nowiki>}}</nowiki> | <nowiki>}}</nowiki> | ||
<nowiki>{{ProductionFooter}}</nowiki> | <nowiki>{{ProductionFooter}}</nowiki> | ||
{{ProductionHeader}} | {{ProductionHeader}} | ||
{{ProductionEntry | |||
| Building = [[Refinery]] | |||
| Produces = 10 [[Petrochemicals]] | |||
| TL = 1 | |||
| Consumed = | |||
* 10 [[Oil]] | |||
| Required = | |||
| Optional = | |||
* [[Computer]] (+ output) | |||
* [[Electricity]] (- time) | |||
}} | |||
{{ProductionEntry | {{ProductionEntry | ||
| Building = [[Refinery]] | | Building = [[Refinery]] | ||
Revision as of 00:28, 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 |
|
|
|