Template:Trait: Difference between revisions
Jump to navigation
Jump to search
(Updated documentation.) |
(added purifiable var) |
||
Line 10: | Line 10: | ||
-->{{#if:{{{trait|}}}| [[Character#Traits|<b style="border:1px solid darkblue; color:darkblue; padding: 0 0.6em">Possible Starting Trait</b>]]}}<!-- | -->{{#if:{{{trait|}}}| [[Character#Traits|<b style="border:1px solid darkblue; color:darkblue; padding: 0 0.6em">Possible Starting Trait</b>]]}}<!-- | ||
-->{{#if:{{{purifiable|}}}| [[Purifier|<b style="border:1px solid darkblue; background-color:lightblue; color:darkblue; padding: 0 0.6em">Not purifiable</b>]]}}<!-- | |||
-->{{#if:{{{threshold|}}}| [[Mutation#Thresholds|<b style="border:1px solid darkgreen; color:lightgreen; padding: 0 0.6em">Threshold Mutation</b>]]}}<!-- | -->{{#if:{{{threshold|}}}| [[Mutation#Thresholds|<b style="border:1px solid darkgreen; color:lightgreen; padding: 0 0.6em">Threshold Mutation</b>]]}}<!-- | ||
Line 84: | Line 86: | ||
* Set 'trait' to '1' if the mutation is a possible starting trait. Only use this for the default starting traits. The ones with <nowiki>'"starting_trait" : true'</nowiki> in the json files. | * Set 'trait' to '1' if the mutation is a possible starting trait. Only use this for the default starting traits. The ones with <nowiki>'"starting_trait" : true'</nowiki> in the json files. | ||
* Set 'threshold' to '1' if the mutation is a threshold mutation. Only use for threshold mutations. The ones with <nowiki>'"threshreq"'</nowiki> values set in the json files. | * Set 'threshold' to '1' if the mutation is a threshold mutation. Only use for threshold mutations. The ones with <nowiki>'"threshreq"'</nowiki> values set in the json files. | ||
* Set 'purifiable' to '1' if the mutation is not purifiable. The ones with <nowiki>'"purifiable"'</nowiki> 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. | * 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. | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> |
Revision as of 03:45, 17 August 2016
{{{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 mutation target. Means it can only be chosen as a starting trait, 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 '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.