Template:Mod: Difference between revisions
Jump to navigation
Jump to search
m (typo in consecutive links) |
m (reliconly will auto categorize) |
||
Line 31: | Line 31: | ||
Cargo Storage start | Cargo Storage start | ||
-->{{#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={{qud text|{{{desc|}}}|{{#ifeq:{{{notxml|}}}|yes|notxml}}}}|Restriction={{#ifeq: {{{reliconly|}}}|yes|Relic Only | -->{{#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={{qud text|{{{desc|}}}|{{#ifeq:{{{notxml|}}}|yes|notxml}}}}|Restriction={{#ifeq: {{{reliconly|}}}|yes|Relic Only }}{{{restriction|}}}|Type={{{type|}}} }}<!-- | ||
Variable Definitions | Variable Definitions | ||
Line 43: | Line 43: | ||
| rows = | | rows = | ||
{{#if: {{{type|}}} | {{infobox row|Category|{{{type}}}{{consecutive links|{{{type}}}|,| |||Category:| Mods}} }} }} | {{#if: {{{type|}}} | {{infobox row|Category|{{{type}}}{{consecutive links|{{{type}}}|,| |||Category:| Mods}} }} }} | ||
{{#if: {{{restriction|}}}{{#ifeq:{{{reliconly|}}}|yes|yes}}|{{infobox row|Restrictions|{{#if: {{{reliconly|}}}|Relic Only</br>}}{{{restriction|}}} }} }} | {{#if: {{{restriction|}}}{{#ifeq:{{{reliconly|}}}|yes|yes}}|{{infobox row|Restrictions|{{#if: {{{reliconly|}}}|Relic Only</br>[[Category:Relic Mods]]}}{{{restriction|}}} }} }} | ||
{{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}} }} }} |
Revision as of 21:24, 31 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)}}
|
---|---|---|
type | category of the mod (for the query module) | Hierarchy. Choose the most specific category it applies to, it it's in multiple tables, separate each by an comma (,).
Choice of:
|
restriction | any further specifications from type. If only applicable to relics, use reliconly below.
|
strings |
reliconly | If the specified mod is specific only to relics. | yes/no |
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. This is MANDATORY and must be unique. | 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 |
Source code Copy/Paste. Delete all blank fields.
{{Mod | title = | type = | id = | reliconly = | rarity = | tinkerable = | tinkertier = | value = | desc = }}