Template:Trait: Difference between revisions
Jump to navigation
Jump to search
(→Documentation: Note re Category:Starting Traits) |
m (→Documentation: Grammar/style) |
||
Line 90: | Line 90: | ||
Some of the variables: | 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 | * 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, <nowiki>bionic=Internal Storage</nowiki> | ||
* Set 'invalid' to '1' if the mutation is not a valid random mutation target. | * Set 'invalid' to '1' if the mutation is not a valid random mutation target. This means it can only be chosen as a starting trait, when using targeted mutagen, or using the debug menu. | ||
* Set 'mixed_effect' to '1' if the mutation has both good and bad effects, this overrides the normal points cost border color, turning it pink (same as ingame). Used for mutations with ones with <nowiki>'"mixed_effect" : true'</nowiki> in the json files. | * Set 'mixed_effect' to '1' if the mutation has both good and bad effects, this overrides the normal points cost border color, turning it pink (same as ingame). Used for mutations with ones with <nowiki>'"mixed_effect" : 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. This should also put the trait's page in Category:Starting Traits. | * 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. This should also put the trait's page in Category:Starting Traits. | ||
* Set 'profession' to '1' if the mutation is a profession trait. | * Set 'profession' to '1' if the mutation is a profession trait. These have <nowiki>'"profession" : true'</nowiki> in the json file. | ||
* Set 'threshold' to '1' if the mutation is a threshold mutation. Only use for threshold mutations | * 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. | * Set 'purifiable' to '1' if the mutation is not purifiable. These have <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 (mixed_effect will override this). | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> |
Revision as of 19:43, 18 February 2021
[[{{{2}}}]]
Point cost: {{{3}}} / Visibility: {{{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. This means it can only be chosen as a starting trait, when using targeted mutagen, or using the debug menu.
- Set 'mixed_effect' to '1' if the mutation has both good and bad effects, this overrides the normal points cost border color, turning it pink (same as ingame). Used for mutations with ones with '"mixed_effect" : true' 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 '"starting_trait" : true' in the json files. This should also put the trait's page in Category:Starting Traits.
- Set 'profession' to '1' if the mutation is a profession trait. These have '"profession" : true' in the json file.
- 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. These have '"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 (mixed_effect will override this).