Template:Inventory: Difference between revisions

70 bytes added ,  02:44, 16 December 2019
JoinKey
(replaced with module. will throw an inventory error if the page isn't updated with the most recent QBE)
(JoinKey)
Line 1: Line 1:
<noinclude>{{#cargo_declare:_table=Inventory|Item=String|Quantity=String|Equipped=Boolean|Chance=Integer}}[[Category:Cargo Store Templates]]</noinclude><includeonly>{{#cargo_store:_table=Inventory|Item={{ID to page|{{{1|}}}}}|Quantity={{{2|1}}}|Equipped={{{3|no}}}|Chance={{{4|100}}}}}{{#invoke:Inventory| main |{{{1|}}}|{{{2|1}}}|{{{3|no}}}|{{{4|100}}}}}</includeonly><noinclude>
<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|}}}}}
|Quantity={{{2|1}}}
|Equipped={{{3|no}}}
|Chance={{{4|100}}}
|JoinKey={{FULLPAGENAME}}}}<!--
 
  CONTENT START
 
-->{{#invoke:Inventory| main |{{{1|}}}|{{{2|1}}}|{{{3|no}}}|{{{4|100}}}}}</includeonly><noinclude>


Template for inventory items that a Character is carrying. Meant for use in the <code>Character</code> template.
Template for inventory items that a Character is carrying. Meant for use in the <code>Character</code> template.