Template:Stack: Difference between revisions
From Project Nakagami
(Created page with "<includeonly>{{#invoke:Stack|AddStackBreakout|count={{{count|{{{1}}}}}}|stacksize={{{stacksize|}}}|link={{{link|}}}}}</includeonly><noinclude> Shows a broken-out number of stacks plus items, such as for 174 items: {{#invoke:Stack|AddStackBreakout|count=174}}. In the case of less than 1 full stack, nothing is shown: 24 {{#invoke:Stack|AddStackBreakout|count=24}} If the number requires no additional items, only the stack count is shown: 256 {{#invoke:Stack|AddStackBreako...") |
No edit summary Tag: Reverted |
||
| Line 1: | Line 1: | ||
<includeonly>{{#invoke:Stack|AddStackBreakout|count={{{count| | <includeonly>{{#invoke:Stack|AddStackBreakout|count={{{count|}}}|stacksize={{{stacksize|}}}|link={{{link|}}}}}</includeonly><noinclude> | ||
Shows a broken-out number of stacks plus items, such as for 174 items: {{#invoke:Stack|AddStackBreakout|count=174}}. | Shows a broken-out number of stacks plus items, such as for 174 items: {{#invoke:Stack|AddStackBreakout|count=174}}. | ||
Revision as of 09:15, 15 July 2024
Shows a broken-out number of stacks plus items, such as for 174 items: x174 (2x64 + 46).
In the case of less than 1 full stack, nothing is shown: 24 x24
If the number requires no additional items, only the stack count is shown: 256 x256 (4x64)
And different stack sizes are supported: 56 x56 (3x16 + 8)
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) |