Template:Mod: Difference between revisions

Jump to navigation Jump to search
255 bytes added ,  14:41, 31 August 2019
added restriction for mods that can only be on gloves/guns/etc
imported>Lemonlich
No edit summary
imported>Lemonlich
(added restriction for mods that can only be on gloves/guns/etc)
Line 1: Line 1:
<noinclude>
<noinclude>
{{#cargo_declare:_table=Mods|Type=String|MinTier=Integer|MaxTier=Integer|ModID=String|Value=Float|Rarity=String|Tinkerable=Boolean|TinkerTier=Integer|Description=Wikitext}}[[Category:Cargo Store Templates]]
{{#cargo_declare:_table=Mods|Type=String|Restriction=String|MinTier=Integer|MaxTier=Integer|ModID=String|Value=Float|Rarity=String|Tinkerable=Boolean|TinkerTier=Integer|Description=Wikitext}}[[Category:Cargo Store Templates]]
</noinclude><includeonly>
</noinclude><includeonly>
{{#cargo_store:_table=Mods|Type={{{type|}}}|MinTier={{{mintier|0}}}|MaxTier={{{maxtier|99}}}|ModID={{{id|}}}|Value={{{value|1.0}}}|Rarity={{{rarity|}}}|Tinkerable={{{tinkerable|no}}}|TinkerTier={{{tinkertier|}}}|Description={{{desc|}}}}} {{#vardefine:name|{{{title|{{#titleparts:{{PAGENAME}}}}}}}}}
{{#cargo_store:_table=Mods|Type={{{type|}}}|Restriction={{{restriction|None}}}|MinTier={{{mintier|0}}}|MaxTier={{{maxtier|99}}}|ModID={{{id|}}}|Value={{{value|1.0}}}|Rarity={{{rarity|}}}|Tinkerable={{{tinkerable|no}}}|TinkerTier={{{tinkertier|}}}|Description={{{desc|}}}}} {{#vardefine:name|{{{title|{{#titleparts:{{PAGENAME}}}}}}}}}


{{#invoke: infobox|infobox|
{{#invoke: infobox|infobox|
Line 14: Line 14:
| Misc = [[Category:Miscellaneous Mods]]
| Misc = [[Category:Miscellaneous Mods]]
| Relic = [[Category:Relic Mods]]}} }} }}
| Relic = [[Category:Relic Mods]]}} }} }}
{{infobox row|Restriction|{{{restriction|None}}} }}
{{infobox row|Tiers|{{{mintier|0}}} - {{{maxtier|99}}} }}  
{{infobox row|Tiers|{{{mintier|0}}} - {{{maxtier|99}}} }}  
{{#if: {{{rarity|}}}|{{infobox row|Rarity|{{#switch: {{{rarity}}}| C = Common | U = Uncommon | R = Rare | M = Mega Rare}} }} }}
{{#if: {{{rarity|}}}|{{infobox row|Rarity|{{#switch: {{{rarity}}}| C = Common | U = Uncommon | R = Rare | M = Mega Rare}} }} }}
Line 33: Line 34:
| category of the mod (for the query module)
| category of the mod (for the query module)
| Choice of: '''General''' - '''Weapon''' - '''Armor''' - '''Defect''' - '''Misc''' - '''Relic'''
| Choice of: '''General''' - '''Weapon''' - '''Armor''' - '''Defect''' - '''Misc''' - '''Relic'''
|-
! restriction
| which item sub-category from that category specifically applicable (empty if the item is universal toward its category)
| strings
|-
|-
! mintier
! mintier
Anonymous user

Navigation menu