Template:Mod: Difference between revisions
Jump to navigation
Jump to search
(minor tweaks) |
mNo edit summary |
||
Line 1: | Line 1: | ||
<noinclude>{{#cargo_declare:_table=Mods|MinTier=Integer|MaxTier=Integer|ModID=String|Value=Float|Rarity=String|Tinkerable=Boolean|TinkerTier=Integer|Description=Wikitext}}[[Category:Templates]]</noinclude><includeonly>{{#cargo_store:_table=Mods|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}}}}}}}}} | <noinclude>{{#cargo_declare:_table=Mods|MinTier=Integer|MaxTier=Integer|ModID=String|Value=Float|Rarity=String|Tinkerable=Boolean|TinkerTier=Integer|Description=Wikitext}}[[Category:Cargo Store Templates]]</noinclude><includeonly>{{#cargo_store:_table=Mods|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| | ||
image=none | image=none |
Revision as of 01:40, 18 August 2019
This template defines the table "Mods". View table.
For the tables/ mod groups the mod belongs in, tag the page as the appropriate category. should be the table name but with proper spaces.
title | display name of the mod ingame. | {{Qud text|(displayname with color codes)}}
|
---|---|---|
mintier | minimum tier items it can appear on. defaults to 0 | integer |
maxtier | maximum tier items it can appear on. defaults to 99 | integer |
rarity | rarity. | character(C, U, R, M) |
id | the name of the object in Mods.xml | string |
tinkerable | defaults to no | yes/no |
tinkertier | what tier of complexity this mod adds onto the object | integer |
value | value. what this alters the base Commerce of the object by. | float |
desc | description. | string |