Template:Mod: Difference between revisions
Jump to navigation
Jump to search
(recat where it actually counts) |
(try to remove concept of relic mods) |
||
Line 57: | Line 57: | ||
|NativeTier={{{nativetier|}}} | |NativeTier={{{nativetier|}}} | ||
|Description={{qud text|{{{desc|}}} }} | |Description={{qud text|{{{desc|}}} }} | ||
|Restriction={{#if: | |Restriction={{#if:{{{restriction|}}}|{{{restriction|}}}|no restrictions}} | ||
|Type={{{type|}}} | |Type={{{type|}}} | ||
|DisplayName={{{title|{{#titleparts:{{PAGENAME}}}} }}} | |DisplayName={{{title|{{#titleparts:{{PAGENAME}}}} }}} | ||
Line 72: | Line 72: | ||
| 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|} | {{#if: {{{restriction|}}}|{{infobox row|Restrictions|{{{restriction|}}} }} }} | ||
{{infobox row|Tiers|{{{mintier|0}}} - {{{maxtier|99}}} }} | {{infobox row|Tiers|{{{mintier|0}}} - {{{maxtier|99}}} }} | ||
{{#if: {{{nativetier|}}}|{{infobox row|{{Tooltip|Items at a lower tier than this will</br>be less likely to appear.|Native Tier}}|{{{nativetier}}} }} }} | {{#if: {{{nativetier|}}}|{{infobox row|{{Tooltip|Items at a lower tier than this will</br>be less likely to appear.|Native Tier}}|{{{nativetier}}} }} }} | ||
Line 84: | Line 84: | ||
}}{{#if: {{{desc|}}}|{{qud quote {{#ifeq:{{{notxml|}}}| yes | notxml}}|{{{desc}}}}} }}<!-- | }}{{#if: {{{desc|}}}|{{qud quote {{#ifeq:{{{notxml|}}}| yes | notxml}}|{{{desc}}}}} }}<!-- | ||
if no specific category was added by 'type | if no specific category was added by 'type' parameter, add the generic 'Mod' category: | ||
-->{{#if: {{{type | -->{{#if: {{{type|}}} || [[Category:Mods]] }}</includeonly><noinclude><!--- | ||
Documentation here | Documentation here | ||
Line 132: | Line 132: | ||
|- | |- | ||
! restriction | ! restriction | ||
| any further specifications from type | | any further specifications from type. | ||
| strings | | strings | ||
|- | |- |
Revision as of 20:00, 13 August 2020
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. | strings |
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 |
nativetier | The native tier it spawns in. | 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 = | rarity = | tinkerable = | tinkertier = | nativetier = | value = | difficulty = | complexity = | desc = }}