Template:Mutation: Difference between revisions
Jump to navigation
Jump to search
(okay) |
(add deprecated parameter) |
||
Line 10: | Line 10: | ||
|Prerelease=Boolean | |Prerelease=Boolean | ||
|Variants= List (,) of String | |Variants= List (,) of String | ||
|NPConly=Boolean}}<!-- | |NPConly=Boolean | ||
|Deprecated=Boolean}}<!-- | |||
CARGO STORE | CARGO STORE | ||
Line 25: | Line 26: | ||
|Prerelease={{{prerelease|no}}} | |Prerelease={{{prerelease|no}}} | ||
|Variants={{{variants|}}} | |Variants={{{variants|}}} | ||
|NPConly={{{npconly|no}}}}}{{#vardefine:name|{{qud text|&y{{#titleparts:{{{title|}}}}} }}}}<!-- | |NPConly={{{npconly|no}}} | ||
|Deprecated={{{deprecated|no}}}}}{{#vardefine:name|{{qud text|&y{{#titleparts:{{{title|}}}}} }}}}<!-- | |||
INFOBOX START | INFOBOX START | ||
Line 47: | Line 49: | ||
{{#if: {{{realitydistort|}}} | {{infobox row|Reality Distorting{{Tooltip|Reality distorting mutations<br>cannot be used under<br>the effects of normality.}}|{{{realitydistort}}} }} }} }} | {{#if: {{{realitydistort|}}} | {{infobox row|Reality Distorting{{Tooltip|Reality distorting mutations<br>cannot be used under<br>the effects of normality.}}|{{{realitydistort}}} }} }} }} | ||
{{#ifeq: {{{npconly|}}} | yes | [[Category:Innate mutations]] | [[Category:Mutations]]}} | {{#ifeq: {{{npconly|}}} | yes | [[Category:Innate mutations]] | [[Category:Mutations]]}} | ||
{{#ifeq: {{{deprecated|}}} | yes | {{infobox row|Deprecated{{Tooltip|This mutation has been removed<br>from the game. It is<br>preserved here only<br>for historical interest}}| Yes}} }} | |||
{{#if: {{{desc|}}} | {{Qud look|title={{{title|{{PAGENAME}}}}}|text={{{desc}}}|bordercolor=y|bottomtext=none|padding=1}} }} | {{#if: {{{desc|}}} | {{Qud look|title={{{title|{{PAGENAME}}}}}|text={{{desc}}}|bordercolor=y|bottomtext=none|padding=1}} }} | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
{{doc}}[[Category:Cargo Store Templates]] | {{doc}}[[Category:Cargo Store Templates]] | ||
</noinclude> | </noinclude> |
Revision as of 23:21, 1 October 2020
This template defines the table "Mutations". View table.
{{Mutation
| title = {{PAGENAME}}
| image =
| type =
| cost =
| slots =
| canequipslots =
| id =
| exclusions =
| variants =
| code =
| desc =
| realitydistort =
| npconly =
| deprecated =
}}
Parameter | Explanation | Data type |
---|---|---|
title | The name of the mutation. | string |
image | The image that represents the mutation | mutation name.png/none |
type | The category of mutation it is in. Auto adds the mutation to that category in the wiki. | Physical/Mental/Physical defect/Mental defect |
cost | How many mutation points it costs to buy. | int |
slots | which body slots this mutation takes up | comma-delimited list |
canequipslots | whether equipment can be worn over the top of the mutated body slot | yes/no |
exclusions | the mutations that cannot be selected when this one is. | Wikilinks to the associated mutations |
variants | Character creation variants for this mutation (such as Horns, Horn, Antlers, Casque )
|
comma-delimited list |
code | The creation code that is used for the build code. | string |
id | The name of the object in Mutations.xml | string |
realitydistort | If the mutation is affected by normality effects. | yes/no |
desc | The short description of the mutation. | The whole string, with color codes included |
npconly | set this to "yes" if this mutation is not available to the player during character creation | yes/no |
deprecated | has this mutation been removed from the game? | yes/no |
Usage:
{{Mutation
| title = Burrowing Claws
| image = burrowing claws mutation.png
| type = Physical
| cost = 2
| slots = Hands
| id = Burrowing Claws
| exclusions = Flaming Hands, Freezing Hands
| code = bb
| desc = ya dig?
}}
Burrowing Claws
Category
|
Physical |
---|---|
Cost
|
2 |
Takes up
|
Hands |
Exclusions
|
|
Creation Code
|
bb |
ID
|
Burrowing Claws |
Burrowing Claws
ya dig?