m (add testing (WIP)) |
m (document nesting better) |
||
Line 32: | Line 32: | ||
The parameters are taken as follows. Up to 10 items are supported in this way. | The parameters are taken as follows. Up to 10 items are supported in this way. | ||
It is also possible to have the list be nested one level deep. To do this, add the <code>nested=yes</code> parameter anywhere. | |||
=== Format === | === Format === | ||
< | <pre>{{Item list|Item 1|Qty of 1|Item 2|Qty of 2}}</pre> | ||
=== Example === | === Example === | ||
< | <pre>{{Item list|Hardened Metals|2|Abyss Alloy|19}}</pre> | ||
=== Creates === | === Creates === | ||
{{Item list|Hardened Metals|2|Abyss Alloy|19}} | |||
{{Item list|Hardened Metals|2 | |||
With nesting: | With nesting: | ||
{{Item list|Hardened Metals|2|Abyss Alloy|19| | <pre>{{Item list|Hardened Metals|2|Abyss Alloy|19|nested=yes}}</pre> | ||
* I want it to look like it is part of this list! {{Item list|Hardened Metals|2|Abyss Alloy|19|nested=yes}}[[Category:Templates]]</noinclude> |
Revision as of 15:07, 1 June 2023
Usage
This template adds a simple list of items to a page. This is the preferred way of doing this after march 29th for simplicity.
The parameters are taken as follows. Up to 10 items are supported in this way.
It is also possible to have the list be nested one level deep. To do this, add the nested=yes
parameter anywhere.
Format
{{Item list|Item 1|Qty of 1|Item 2|Qty of 2}}
Example
{{Item list|Hardened Metals|2|Abyss Alloy|19}}
Creates
With nesting:
{{Item list|Hardened Metals|2|Abyss Alloy|19|nested=yes}}
- I want it to look like it is part of this list!