Template:Trait: Difference between revisions

From The Cataclysm: Dark Days Ahead Wiki
Jump to navigation Jump to search
(updated the links of the categories to now link directly to the category pages with the lists of other mutations out of the same category, not the general mutations categories list.)
(added mouse as a category)
Line 57: Line 57:


-->{{#if:{{{rat|}}}|&nbsp;[[Rat|<b style="border:1px solid black; background-color:grey; color:white; padding: 0 0.6em">RAT</b>]]}}<!--
-->{{#if:{{{rat|}}}|&nbsp;[[Rat|<b style="border:1px solid black; background-color:grey; color:white; padding: 0 0.6em">RAT</b>]]}}<!--
-->{{#if:{{{rat|}}}|&nbsp;[[Mouse|<b style="border:1px solid black; background-color:light-grey; color:white; padding: 0 0.6em">MOUSE</b>]]}}<!--


-->{{#if:{{{marloss|}}}|&nbsp;[[Marloss|<b style="border:1px solid black; background-color:purple; color:white; padding: 0 0.6em">MARLOSS</b>]]}}<!--
-->{{#if:{{{marloss|}}}|&nbsp;[[Marloss|<b style="border:1px solid black; background-color:purple; color:white; padding: 0 0.6em">MARLOSS</b>]]}}<!--

Revision as of 17:36, 6 September 2018

[[{{{2}}}]]
Point cost: {{{3}}} / Visiblity: {{{4}}} / Ugliness: {{{5}}}

Documentation

Documentation incomplete.

Use this template to create the mutation/trait infobox.

Some of the variables:

  • set 'bionic' to the correct bionic if the mutation has a bionic that has a similar feature set. Add a link to the bionic in the notes. For example bionic=Internal Storage
  • Set 'invalid' to '1' if the mutation is not a valid random mutation target. Means it can only be chosen as a starting trait, when using targeted mutagen, or using the debug menu.
  • Set 'trait' to '1' if the mutation is a possible starting trait. Only use this for the default starting traits. The ones with '"starting_trait" : true' in the json files.
  • Set 'profession' to '1' if the mutation is a profession trait. The ones with '"profession" : true' in the json files.
  • Set 'threshold' to '1' if the mutation is a threshold mutation. Only use for threshold mutations. The ones with '"threshreq"' values set in the json files.
  • Set 'purifiable' to '1' if the mutation is not purifiable. The ones with '"purifiable"' values set to false in the json files.
  • The third normal argument is the points cost. If the points cost is negative, it is considered a bad mutation, and will have a red border.