Template:Stack: Difference between revisions
From Project Nakagami
No edit summary Tag: Manual revert |
No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly>{{#invoke:Stack|AddStackBreakout|count={{{count|{{{1}}}}}}|stacksize={{{stacksize|}}}|link={{{link|}}}}}</includeonly><noinclude> | <includeonly>{{#invoke:Stack|AddStackBreakout|count={{{count|{{{1}}}}}}|stacksize={{{stacksize|}}}|link={{{link|}}}}}ss{{{stacksize| none}}}</includeonly><noinclude> | ||
Shows a broken-out number of stacks plus items, such as for 174 items: {{ | Shows a broken-out number of stacks plus items, such as for 174 items: {{Stack|174}}. | ||
In the case of less than 1 full stack, | * In the case of less than 1 full stack, just the plain number is shown: {{Stack|24}} | ||
* If the number requires no additional items, only the stack count is shown: {{Stack|256}} | |||
If the number requires no additional items, only the stack count is shown: | * non-64 stack sizes are supported: {{Stack|56|stacksize=16}} | ||
The following parameters are supported (all except count are optional): | The following parameters are supported (all except count are optional): | ||
Revision as of 09:30, 15 July 2024
Shows a broken-out number of stacks plus items, such as for 174 items: x174 (2x64 + 46)ss none.
- In the case of less than 1 full stack, just the plain number is shown: x24ss none
- If the number requires no additional items, only the stack count is shown: x256 (4x64)ss none
- non-64 stack sizes are supported: x56 (3x16 + 8)ss16
The following parameters are supported (all except count are optional):
| Parameter | Use | Default |
|---|---|---|
| count (or no name) | The number of items to break out | none, required |
| stacksize | How many items fit in one stack | 64 |
| link | An internal link (like Fluxduct), or an external link
|
(none) |