Template:Mod: Difference between revisions
Jump to navigation
Jump to search
m (prevent indentation of mod description qud quote) |
(add tinkertiernum in cargo table, also remove notxml in desc bc its not needed) |
||
Line 14: | Line 14: | ||
|DisplayName=Wikitext | |DisplayName=Wikitext | ||
|Restriction=String | |Restriction=String | ||
|TinkerTierNum=Integer | |||
|Type=List (,) of String (hierarchy;allowed values=*General | |Type=List (,) of String (hierarchy;allowed values=*General | ||
**Pottery | **Pottery | ||
Line 65: | Line 66: | ||
|Restriction = {{{restriction|no restrictions}}} | |Restriction = {{{restriction|no restrictions}}} | ||
|DisplayName = {{{title|{{#titleparts:{{PAGENAME}}}} }}} | |DisplayName = {{{title|{{#titleparts:{{PAGENAME}}}} }}} | ||
|TinkerTierNum = {{#ifeq:{{{tinkerable|}}}|yes|{{{tinkertier|1}}} }} | |||
}}<!-- | }}<!-- | ||
Line 90: | Line 92: | ||
{{#if: {{{complexity|}}}|{{infobox row|[[Artifact complexity|Complexity]] increase|{{{complexity}}} }} }} | {{#if: {{{complexity|}}}|{{infobox row|[[Artifact complexity|Complexity]] increase|{{{complexity}}} }} }} | ||
{{#if: {{{id|}}}|{{infobox row|ID|{{{id}}} }} }} | {{#if: {{{id|}}}|{{infobox row|ID|{{{id}}} }} }} | ||
}}{{#if: {{{desc|}}}|{{qud quote | }}{{#if: {{{desc|}}}|{{qud quote|{{{desc}}}|noindent=true}} }}<!-- | ||
if no specific category was added by 'type' parameter, add the generic 'Mod' category: | if no specific category was added by 'type' parameter, add the generic 'Mod' category: |
Revision as of 22:40, 4 January 2021
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 |
canautotinker | whether the mod can generate on an item created by tinkering, defaults to yes | 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 = | canautotinker = | tinkertier = | nativetier = | value = | difficulty = | complexity = | desc = | restriction = }}