Template:Factorylist/entry

From StarMade Wiki


[view] [edit] [history] [[[:Template:Purge]]] 50px Template documentation

This template will create cells for Template:Factorylist

This:


Grey Hull x5 Grey Hull.png


Will be typed out like this:

<table>
{{factorylist/entry
|type=Grey Hull
|count=5
}}
</table>

Alternatively:


Grey Hull x5 Grey Hull.png

Will be typed out like this:

<table>
{{factorylist/entry
|type=Grey Hull
|count=5
|alt=true
}}
</table>

Parameters

type
Determines what block will appear. Creates the image and link to it.
count
Determines the amount of the blocks needed. Default amount is 1.
first
Creates a line of separation at the top of the cell. Used for the second product resource listing and on. Does not work with the "alt" parameter.
alt
Optional parameter. Changes the background color. Purely stylistic.