Template:Inventory: Difference between revisions

3 bytes removed ,  14:57, 3 July 2022
m
whoops
(update cargo storage to accommodate populations)
m (whoops)
Line 1: Line 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
<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|}}}}}}}
|Item={{#ifeq:{{{5|no}}}|yes||{{ID to page|{{{1|}}}}}}}
|ItemID={{#ifeq:{{{5|yes}}}|yes||{{{1|}}}}}
|ItemID={{#ifeq:{{{5|no}}}|yes||{{{1|}}}}}
|Population={{#ifeq:{{{5|yes}}}|yes|{{{1|}}}|}}
|Population={{#ifeq:{{{5|no}}}|yes|{{{1|}}}|}}
|Quantity={{{2|1}}}
|Quantity={{{2|1}}}
|Equipped={{{3|no}}}
|Equipped={{{3|no}}}