Difference between revisions of "Template:Moduletable"
From StarMade Wiki
(updated template) |
(updated template) |
||
Line 31: | Line 31: | ||
</table> | </table> | ||
<noinclude> | <noinclude> | ||
− | {{ | + | {{Documentation}} |
− | |||
− | |||
− | }} | ||
</noinclude> | </noinclude> |
Latest revision as of 01:14, 28 March 2019
|
---|
|
|
Connection Method |
This template will create a special table that will highlight a block's computer or its module.
this:
Primary Computer |
---|
Cannon Computer |
Connection Method |
Select computer with C and connect with V |
will be typed out like this:
{{moduletable |comp=Cannon Computer |select=true }}
This:
Primary Module |
---|
Activation Module |
Connection Method |
Place Adjacent to its computer. |
will be typed out like this:
{{moduletable |mod=Activation Module |add=true }}
This:
Primary Module | Inventory Module |
---|---|
Salvage Module | Storage |
Connection Method | |
Select computer with C and connect with V |
will be typed out like this:
{{moduletable |mod=Salvage Module |select=true |inv=true }}
Parameters
- comp
- Sets the template into computer mode. Will have a header that says "Primary Computer" while displaying the picture and the link to the page of the block typed in.
- mod
- Sets the template into module mode. Will have a header that says "Primary Module" while displaying the picture and the link to the page of the block typed in.
- select
- Determines the connection method of the template. Adds an extra row that says that the block must be connected via C and V.
- add
- Determines the connection method of the template. Adds an extra row that says that the block must be connected via placing it adjacent to its computer.
- inv
- An optional parameter. Adds an extra cell on the table for Storage.
The above documentation is transcluded from Template:Moduletable/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. |