Actions

Template

Difference between revisions of "Rituals Cards"

From Titan's Teeth

(Created page with "<noinclude>Creates a grid of cards with ritual descriptions. '''Variables:''' 1 The variable contains the sphere that should be queried. Only rituals of less than level 4 wi...")
 
 
(2 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
The variable contains the sphere that should be queried. Only rituals of less than level 4 will be returned.
 
The variable contains the sphere that should be queried. Only rituals of less than level 4 will be returned.
 
</noinclude><includeonly>{{#cargo_query:tables=Rituals
 
</noinclude><includeonly>{{#cargo_query:tables=Rituals
|where=Sphere LIKE "%{{{1}}}%" AND Level < 4
+
|where=Sphere LIKE "%{{{1}}}%"
|order by=Level,Name
+
|order by=Name
 
|fields=_pageName=PageName, Name, Fluff, Sphere, Level, CastingTime, ScrollTime, Components, Focus, RitualRange, Duration, SavingThrow, SpellResistance, Description
 
|fields=_pageName=PageName, Name, Fluff, Sphere, Level, CastingTime, ScrollTime, Components, Focus, RitualRange, Duration, SavingThrow, SpellResistance, Description
 
|format=template
 
|format=template
 
|template=Rituals_Card
 
|template=Rituals_Card
 +
|named args=yes
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 06:34, 30 December 2021

Creates a grid of cards with ritual descriptions.

Variables: 1

The variable contains the sphere that should be queried. Only rituals of less than level 4 will be returned.