Difference between revisions of "Template:Mfg"

From StarMade Wiki
m (Missed one rename)
 
(replaced some French terms with English terms)
 
(3 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
     <tr style="font-size: 125%;">
 
     <tr style="font-size: 125%;">
 
     {{#ifeq: {{{type|}}} | refinery |
 
     {{#ifeq: {{{type|}}} | refinery |
         <th colspan="6" style="text-align: center; {{headerstyle}}}">Refining Info</th>|
+
         <th colspan="6" style="text-align: center; {{headerstyle}}}">Infos de raffinage</th>|
 
         <th colspan="6" style="text-align: center; {{headerstyle}}}">Production Info</th>
 
         <th colspan="6" style="text-align: center; {{headerstyle}}}">Production Info</th>
 
     }}
 
     }}
Line 10: Line 10:
 
     <tr>
 
     <tr>
 
       {{#ifeq: {{{type}}} | refinery
 
       {{#ifeq: {{{type}}} | refinery
         | <td colspan="3" style="font-size: 100%; font-weight: bold; text-align: center; {{headerstyle}}}">Refined in a</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}}}">Produced in a</td>
 
         | <td colspan="3" style="font-size: 100%; font-weight: bold; text-align: center; {{headerstyle}}}">Produced in a</td>
 
       }}
 
       }}

Latest revision as of 12:27, 12 July 2016

Production Info
Produced in a [[{{{using}}}]] [[File:{{{using}}}.png|50px]]
RequiresTo create
[[{{{it1}}}]]
x1
[[File:{{{it1}}}.png|50px]] [[{{{ot1}}}]]
x1
[[File:{{{ot1}}}.png|50px]]
[view] [edit] [history] [[[:Template:Purge]]] 50px Template documentation

Creates an table layout detailing a crafting recipe, similar to the following:

Production Info
Produced in a Basic Factory Basic Factory.png
RequiresTo create
Alloyed Metal Mesh
x1
Alloyed Metal Mesh.png Grey Hull
x1
Grey Hull.png
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.