Template:Resource stack: Difference between revisions

From Against the Storm Official Wiki
testing
 
done debugging. now going to forward the Construction template here
Tag: Manual revert
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#invoke:Resource|stack}}</includeonly><noinclude>
<includeonly>{{#invoke:Resource|stack}}</includeonly><noinclude>


# test {{Resource stack}} and
# test {{Resource stack|Wood}} and
# test {{Resource stack|Wood|Stone}} and
# test {{Resource stack|20 Wood|30 Stone}} and
# test {{Resource stack|icon=small}} and
# test {{Resource stack|Wood|icon=small}} and
# test {{Resource stack|Wood|Stone|Crystalized Dew|icon=small}} and
# test {{Resource stack|classes=wikitable}} and
# test {{Resource stack|Wood|Stone|Crystalized Dew|icon=small|classes=wikitable sortable}} and
{{Documentation}}
{{Documentation}}


[[Category:Lua-based templates]]</noinclude>
[[Category:Lua-based templates]]</noinclude>

Latest revision as of 20:08, 13 November 2025


This is the Template Documentation from Template:Resource stack/doc.

Documentation for this needs to be written. Here's an example (Sir Redmane's potential goods for sale):

{{Resource stack|60 Biscuits|40 Bricks|60 Coal|40 Fabric|60 Jerky|60 Oil|20 Parts|60 Paste|60 Pickled Goods|60 Pie|20 Pipes|40 Planks|60 Porridge|60 Sea Marrow|60 Skewers|35 Tools|6 Wildfire Essence|icon=small}}

Yields:

60 Biscuits Biscuits
40 Bricks Bricks
60 Coal Coal
40 Fabric Fabric
60 Jerky Jerky
60 Oil Oil
20 Parts Parts
60 Paste Paste
60 Pickled Goods Pickled Goods
60 Pie Pie
20 Pipes Pipes
40 Planks Planks
60 Porridge Porridge
60 Sea Marrow Sea Marrow
60 Skewers Skewers
35 Tools Tools
6 Wildfire Essence Wildfire Essence