Template:Mutation/doc: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
imported>Teamtotobot
m (Bot: Adding {{Mutation Navbox}})
(note to self: exclude template namespace when using addtext)
Line 80: Line 80:
| desc = ya dig?
| desc = ya dig?
}}
}}
{{Mutation Navbox}}

Revision as of 23:13, 22 August 2019

{{Mutation
| title = {{PAGENAME}}
| image = none
| type = 
| cost = 
| slots = 
| id = 
| exclusions = 
| code = 
| desc = 
| realitydistort =
}}
Parameter Explanation Data type
title The name of the mutation. string
image The image. Mutations usually don't have one unless they are body part replacing. 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
exclusions the mutations that cannot be selected when this one is. Wikilinks to the associated mutations
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. true/false
desc The short description of the mutation. The whole string, with color codes included

Usage:

{{Mutation
| title = Burrowing Claws
| image = none
| 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

Body LocationThe body part(s) where this
mutation can be located

Hands

ExclusionsOther mutations that cannot be
selected with this mutation

Flaming Hands, Freezing Hands

ID?Use this ID to wish for the mutation
(example: mutation:Burrowing Claws)

Burrowing Claws

Burrowing Claws

ya dig?