Template:Slots
Template page
More actions
Usage
Each slot is a semicolon-delimited positional parameter: Name;Type.
Indices are assigned automatically from 0. To override, add a third value: Name;Type;Index.
Basic example
{{Slots
| Import;None
| Export;None
| Programmable Chip;ProgrammableChip
}}
| Slot Name | Type | Index |
|---|---|---|
| Import | None | 0 |
| Export | None | 1 |
| Programmable Chip | ProgrammableChip | 2 |
With manual index override
{{Slots
| Import;None
| Export;None
| Special;None;99
}}
| Slot Name | Type | Index |
|---|---|---|
| Import | None | 0 |
| Export | None | 1 |
| Special | None | 99 |
| The above documentation is transcluded from Template:Slots/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |