Template:Mod: Difference between revisions
Jump to navigation
Jump to search
(added curio as new type) |
m (don't apply Mod category if more specific category was already applied) |
||
Line 51: | Line 51: | ||
{{infobox row|Value Multiplier|{{{value|1.0}}}}} | {{infobox row|Value Multiplier|{{{value|1.0}}}}} | ||
{{#if: {{{id|}}}|{{infobox row|ID|{{{id}}} }} }} | {{#if: {{{id|}}}|{{infobox row|ID|{{{id}}} }} }} | ||
}}{{#if: {{{desc|}}}|{{qud quote {{#ifeq:{{{notxml|}}}| yes | notxml}}|{{{desc}}}}} }} | }}{{#if: {{{desc|}}}|{{qud quote {{#ifeq:{{{notxml|}}}| yes | notxml}}|{{{desc}}}}} }}<!-- | ||
[[Category:Mods]]</includeonly><noinclude><!--- | |||
if no specific category was added by 'type' or 'reliconly' parameter, add the generic 'Mod' category: | |||
-->{{#if: {{{type|}}}{{{reliconly|}}} || [[Category:Mods]] }}</includeonly><noinclude><!--- | |||
Documentation here | Documentation here |
Revision as of 18:29, 5 September 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 = }}