Difference between revisions of "Template:Mfg"
From StarMade Wiki
(translate manufacture template) |
(replaced some French terms with English terms) |
||
(One intermediate revision by one other user not shown) | |||
Line 4: | Line 4: | ||
{{#ifeq: {{{type|}}} | refinery | | {{#ifeq: {{{type|}}} | refinery | | ||
<th colspan="6" style="text-align: center; {{headerstyle}}}">Infos de raffinage</th>| | <th colspan="6" style="text-align: center; {{headerstyle}}}">Infos de raffinage</th>| | ||
− | <th colspan="6" style="text-align: center; {{headerstyle}}}"> | + | <th colspan="6" style="text-align: center; {{headerstyle}}}">Production Info</th> |
}} | }} | ||
</tr> | </tr> | ||
Line 11: | Line 11: | ||
{{#ifeq: {{{type}}} | refinery | {{#ifeq: {{{type}}} | refinery | ||
| <td colspan="3" style="font-size: 100%; font-weight: bold; text-align: center; {{headerstyle}}}">Raffiné dans une</td> | | <td colspan="3" style="font-size: 100%; font-weight: bold; text-align: center; {{headerstyle}}}">Raffiné dans une</td> | ||
− | | <td colspan="3" style="font-size: 100%; font-weight: bold; text-align: center; {{headerstyle}}}"> | + | | <td colspan="3" style="font-size: 100%; font-weight: bold; text-align: center; {{headerstyle}}}">Produced in a</td> |
}} | }} | ||
{{mfg/entry| type={{{using}}} | 3col=true | lastcol=true }} | {{mfg/entry| type={{{using}}} | 3col=true | lastcol=true }} | ||
Line 18: | Line 18: | ||
<tr> | <tr> | ||
− | <th colspan="3" style="border-right: solid 1px; text-align: center; {{headerstyle}}}"> | + | <th colspan="3" style="border-right: solid 1px; text-align: center; {{headerstyle}}}">Requires</th><th colspan="3" style="text-align: center; {{{headerstyle}}}">To create</th> |
</tr> | </tr> | ||
Latest revision as of 12:27, 12 July 2016
Production Info | |||||
---|---|---|---|---|---|
Produced in a | [[{{{using}}}]] | [[File:{{{using}}}.png|50px]] | |||
Requires | To create | ||||
[[{{{it1}}}]] | x1 |
[[File:{{{it1}}}.png|50px]] | [[{{{ot1}}}]] | x1 |
[[File:{{{ot1}}}.png|50px]] |
Creates an table layout detailing a crafting recipe, similar to the following:
Production Info | |||||
---|---|---|---|---|---|
Produced in a | Basic Factory | ||||
Requires | To create | ||||
Alloyed Metal Mesh | x1 |
Grey Hull | x1 |
||
Crystal Circuit | x1 |
50px |
Parameters
- type
- Either factory or refinery. Affects certain captions, designed to specialize either for raw material refining or factory production.
- using
- The type of block to be used for this recipe, such as Basic Factory or Capsule Refinery. Default is factory.
- ic1, ic2, ic3, ic4
- The input counts for inputs 1, 2, 3 or 4 respectively. Default is 1.
- it1, it2, it3, it4
- The input types for inputs 1, 2, 3 or 4 respectively. it1 is required, the others may be omitted.
- oc1, oc2, oc3, oc4
- The output counts for outputs 1, 2, 3 and 4 respectively. Default is 1.
- ot1, ot2, ot3, ot4
- The output types for outputs 1, 2, 3 and 4 respectively. oc1 is required, the others may be omitted.
The above documentation is transcluded from Template:Mfg/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |