Difference between revisions of "Template:Factorylist/entry/doc"
From StarMade Wiki
(created doc) |
|||
Line 42: | Line 42: | ||
;type: Determines what block will appear. Creates the image and link to it. | ;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. | ;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. | ;alt: Optional parameter. Changes the background color. Purely stylistic. |
Latest revision as of 23:39, 28 March 2019
This template will create cells for Template:Factorylist
This:
Grey Hull | x5 |
Will be typed out like this:
<table> {{factorylist/entry |type=Grey Hull |count=5 }} </table>
Alternatively:
Grey Hull | x5 |
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.