Template:Factions that teach the skill: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 2: Line 2:
{{#invoke:CargoQuery|main
{{#invoke:CargoQuery|main
|q?tables=Factions
|q?tables=Factions
|q?fields=CONCAT('[[:',_pageName,'{{!}}',PlainName,']]')=Page
|q?fields=CONCAT(_pageName,'{{!}}',PlainName)=Page
|q?where=WaterRitualSkill='{{{1|{{#titleparts:{{BASEPAGENAME}}}} }}}'
|q?where=WaterRitualSkill='{{{1|{{#titleparts:{{BASEPAGENAME}}}} }}}'
|q?groupBy=PlainName
|q?groupBy=PlainName
|format = ul
|format = ul
|template = wikipage
|default = This skill is not taught by any of Qud's persistent factions. However, procedurally generated factions such as [[Village#Procedurally_Generated_Villages|village factions]] can teach randomly chosen skills as part of their water ritual.}}</includeonly><noinclude>
|default = This skill is not taught by any of Qud's persistent factions. However, procedurally generated factions such as [[Village#Procedurally_Generated_Villages|village factions]] can teach randomly chosen skills as part of their water ritual.}}</includeonly><noinclude>
This template outputs either:
This template outputs either:

Revision as of 18:56, 5 April 2022

This template outputs either:

  • A list of factions that teach the skill as part of their water ritual
  • Or a standard statement noting that the skill might be randomly taught by procedurally generated factions

Place this template on a Skill page.