Template:Creatures with the mutation: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
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}}, CONCAT('(Lv ', MutationLevel, ')')=outro
|q?fields={{favilink format args}}, CONCAT('(Level ', 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

Revision as of 13:20, 19 January 2023

Add to a mutation page to generate a bulleted list of creatures that have the mutation.

If no creatures have the mutation, the statement "No creatures have this mutation by default." is printed instead.

To suppress this message, you can add no default message as an argument to this template.

Usage

  • {{creatures with the mutation}}
  • {{creatures with the mutation|no default message}}