Template:Trait: Difference between revisions

From The Cataclysm: Dark Days Ahead Wiki
Jump to navigation Jump to search
(Changed <nowiki>{{PAGENAME}} into Category:Templates </nowiki> as it didn't seem to do anything.)
(Added invalid variable. Added trait variable. Updated documentation.)
Line 10: Line 10:


-->{{#if:{{{bionic|}}}|&nbsp;[[{{{bionic}}}|<b style="border:1px dashed darkblue; color:darkblue; padding: 0 0.6em">Has bionic analog</b>]]}}<!--
-->{{#if:{{{bionic|}}}|&nbsp;[[{{{bionic}}}|<b style="border:1px dashed darkblue; color:darkblue; padding: 0 0.6em">Has bionic analog</b>]]}}<!--
-->{{#if:{{{invalid|}}}|&nbsp;[[{{{invalid}}}|<b style="border:1px dashed darkblue; color:darkblue; padding: 0 0.6em">[[Mutation#Sources_of_mutation|Not a valid mutation]]</b>]]}}<!--
-->{{#if:{{{trait|}}}|&nbsp;[[{{{trait}}}|<b style="border:1px dashed darkblue; color:darkblue; padding: 0 0.6em">[[Character#Traits|Trait]]</b>]]}}<!--


-->{{#if:{{{lizard|}}}|&nbsp;[[Mutation#Categories|<b style="border:1px solid DarkKhaki ; background-color:khaki; color:black; padding: 0 0.6em">LIZARD</b>]]}}<!--
-->{{#if:{{{lizard|}}}|&nbsp;[[Mutation#Categories|<b style="border:1px solid DarkKhaki ; background-color:khaki; color:black; padding: 0 0.6em">LIZARD</b>]]}}<!--
Line 70: Line 74:
| style="max-width:64em; border-left: 1px solid {{#if:{{{bad|}}}|darkred|darkgreen}}; padding: 0.1em 0.5em 0" | {{#if:{{{7|}}}|{{{7|}}}}}
| style="max-width:64em; border-left: 1px solid {{#if:{{{bad|}}}|darkred|darkgreen}}; padding: 0.1em 0.5em 0" | {{#if:{{{7|}}}|{{{7|}}}}}
|}
|}
</div><noinclude>[[Category:Templates]]
</div><noinclude>
==Documentation==
Documentation incomplete
 
Some of the variables:
* set 'bionic' to '1' if the mutation has a bionic that has a similar feature set. Add a link to the bionic in the notes. <!-- this will have to be changed into a direct link to the bionic later -->
* 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 <nowiki>'"starting_trait" : true'</nowiki> in the json files.
 
[[Category:Templates]]
</noinclude>
</noinclude>

Revision as of 19:04, 8 August 2016

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

Documentation

Documentation incomplete

Some of the variables:

  • set 'bionic' to '1' if the mutation has a bionic that has a similar feature set. Add a link to the bionic in the notes.
  • 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.