Template:Inventory nostore: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<includeonly>{{#invoke:Inventory| main |{{{1|}}}|{{{2|1}}}|{{{3|no}}}|{{{4|100}}}|{{{5|no}}}}}</includeonly><noinclude> Template for inventory items that a Character is carry...") |
mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#invoke:Inventory| main |{{{1|}}}|{{{2|1}}}|{{{3|no}}}|{{{4|100}}}|{{{5|no}}}}}</includeonly><noinclude> | <includeonly>{{#invoke:Inventory| main |{{{1|}}}|{{{2|1}}}|{{{3|no}}}|{{{4|100}}}|{{{5|no}}}}}</includeonly><noinclude> | ||
Template for inventory items that a Character is carrying. Meant for use in | Template for inventory items that a Character is carrying. Meant for use in [[Template:Character nostore]] | ||
{| class="wikitable" | {| class="wikitable" |
Latest revision as of 05:21, 25 August 2022
Template for inventory items that a Character is carrying. Meant for use in Template:Character nostore
1st argument | item name. use string, it will turn it into a link using Template:favilink. |
---|---|
2nd argument | quantity. defaults to 1. Can be set to '*' in combination with 5th argument set to 'yes' to represent a complex population that might return various items. |
3rd argument | is the item equipped? Enter yes here to indicate that the item is equipped (used for Cargo storage).
|
4th argument | percent chance that the item will be in the character's inventory. 100 by default. |
5th argument | 'yes' if this is a population table name. 'no' if this is a normal object ID. |
Examples
{{inventory|hypertractor}}
Character is carrying 1 hypertractor that is not equipped.
{{inventory|ulnar stimulators|2}}
Character is carrying 2 ulnar stimulators that are not equipped.
{{inventory|laser pistol|2|yes}}
Character is carrying 2 laser pistols that are both equipped.
{{inventory|electrobow|1|no|20}}
Character has a 20% chance to be carrying 1 electrobow, which is not equipped.