Template:Creature mutation: Difference between revisions
Jump to navigation
Jump to search
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| | <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"> |
Revision as of 15:34, 26 July 2019
This template defines the table "CreatureMutations". View table.
Template for use in Template:Character only.
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):
{{creature mutation|Burrowing Claws|3}}
Burrowing Claws (3)