Template:Creature mutation: Difference between revisions

changed default and made level invisible if set to 0
mNo edit summary
(changed default and made level invisible if set to 0)
Line 1: Line 1:
<noinclude>{{#cargo_declare:_table=CreatureMutations|Mutation=Page|MutationLevel=Integer}}</noinclude><includeonly>{{#cargo_store:_table=CreatureMutations|Mutation={{{1|}}}|MutationLevel={{{2|1}}}}}
<noinclude>{{#cargo_declare:_table=CreatureMutations|Mutation=Page|MutationLevel=Integer}}</noinclude><includeonly>{{#cargo_store:_table=CreatureMutations|Mutation={{{1|}}}|MutationLevel={{{2|0}}}}}
[[{{{1|}}}]] ({{{2|1}}})</includeonly><noinclude>[[Category:Templates]]  
[[{{{1|}}}]] {{#ifeq: {{{2|}}}|0||({{{2|1}}})}}</includeonly><noinclude>[[Category:Templates]]  


Template for use in [[Template:Character]] only.  
Template for use in [[Template:Character]] only.  


The first argument is the mutation name, and the second is the mutation level (defaults to 1):
The first argument is the mutation name, and the second is the mutation level (defaults to 0). If mutation level is 0, the mutation level will not be shown (used for 1 pt mutations):


<syntaxhighlight lang="xml">
<syntaxhighlight lang="xml">