Template:Inventory: Difference between revisions

152 bytes added ,  14:56, 3 July 2022
update cargo storage to accommodate populations
(support population links)
(update cargo storage to accommodate populations)
Line 1: Line 1:
<noinclude>{{#cargo_declare:_table=Inventory|Item=String|Quantity=String|Equipped=Boolean|Chance=Integer|JoinKey=String}}[[Category:Cargo Store Templates]]</noinclude><includeonly>{{#cargo_store:_table=Inventory|Item={{ID to page|{{{1|}}}}}
<noinclude>{{#cargo_declare:_table=Inventory|Item=String|ItemID=String|Population=String|Quantity=String|Equipped=Boolean|Chance=Integer|JoinKey=String}}[[Category:Cargo Store Templates]]</noinclude><includeonly>{{#cargo_store:_table=Inventory
|Item={{#ifeq:{{{5|yes}}}|yes||{{ID to page|{{{1|}}}}}}}
|ItemID={{#ifeq:{{{5|yes}}}|yes||{{{1|}}}}}
|Population={{#ifeq:{{{5|yes}}}|yes|{{{1|}}}|}}
|Quantity={{{2|1}}}
|Quantity={{{2|1}}}
|Equipped={{{3|no}}}
|Equipped={{{3|no}}}