Template:Inventory: Difference between revisions

m
no edit summary
(replaced third argument with an equipped boolean. added doc table)
mNo edit summary
Line 1: Line 1:
<noinclude>{{#cargo_declare:_table=Inventory|Item=String|Quantity=Integer|Equipped=Boolean}}[[Category:Templates]]</noinclude>
<noinclude>{{#cargo_declare:_table=Inventory|Item=String|Quantity=Integer|Equipped=Boolean}}[[Category:Templates]]</noinclude>
<includeonly>{{#cargo_store:_table=Inventory|Item={{{1|}}}|Quantity={{{2|1}}}|Equipped={{{3|yes}}}}}<p>[[{{{1}}}]]x{{{2|1}}} {{#ifeq:{{{3|yes}}} | yes | {{color | y |(equipped)}} }}</p></includeonly><noinclude>
<includeonly>{{#cargo_store:_table=Inventory|Item={{{1|}}}|Quantity={{{2|1}}}|Equipped={{{3|yes}}}}}<p>[[{{{1}}}]] x{{{2|1}}} {{#ifeq:{{{3|yes}}} | yes | {{color | y |(equipped)}} }}</p></includeonly><noinclude>
{| class="wikitable"
{| class="wikitable"
! 1st argument
! 1st argument