Template:Creatures with the mutation: Difference between revisions

Add mutation level
(add option to suppress default message)
(Add mutation level)
Line 2: Line 2:
|q?tables=CreatureMutations=CM,GeneralData=GD
|q?tables=CreatureMutations=CM,GeneralData=GD
|q?join=CM._pageName=GD._pageName
|q?join=CM._pageName=GD._pageName
|q?fields={{favilink format args}}
|q?fields={{favilink format args}}, CONCAT('(Lv ', MutationLevel, ')')=outro
|q?where=Mutation = '{{{1|{{PAGENAME}}}}}' AND CM._pageNamespace='0'
|q?where=Mutation = '{{{1|{{PAGENAME}}}}}' AND CM._pageNamespace='0'
|q?groupBy=CM._pageName
|q?groupBy=CM._pageName
Line 13: Line 13:


To suppress this message, you can add <code>no default message</code> as an argument to this template.
To suppress this message, you can add <code>no default message</code> as an argument to this template.
 
{{creatures with the mutation|regeneration}}
== Usage ==
== Usage ==
* <code><nowiki>{{creatures with the mutation}}</nowiki></code>
* <code><nowiki>{{creatures with the mutation}}</nowiki></code>