Template:Factions that teach the skill: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
m (attempted fix for single apostrophe page names)
Tag: Reverted
m (power -> skill)
 
(5 intermediate revisions by 3 users not shown)
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='{{#replace:{{{1|{{#titleparts:{{BASEPAGENAME}}}} }}}|&#39|\'}}'
|q?where=WaterRitualSkill="{{{1|{{#titleparts:{{BASEPAGENAME}}}} }}}"
|q?groupBy=PlainName
|q?groupBy=PlainName
|format = ul
|format = ul
|template = wikipage
|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 = {{Name}} 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:
* A list of factions that teach the skill as part of their water ritual
* A list of factions that teach the skill as part of their water ritual

Latest revision as of 13:08, 2 July 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.