Template:5e Creature Adventure List: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
<includeonly>
<includeonly>
{{#cargo_query:
<!--{{Type Array|{{{1|}}}}} are found in {{#cargo_query:
tables=5eMonster, 5e_Adventure_Creature
table=5e_Adventure_Creature_xRef
|join on=5eMonster._pageName=5e_Adventure_Creature._pageName
|where=5e_Adventure_Creature_xRef.Creature HOLDS "{{{1|}}}"
|where=5e_Adventure_Creature.Creature = '{{{1|}}}'
|fields=COUNT(5e_Adventure_Creature_xRef._pageName)
|fields=5e_Adventure_Creature.Adventure
}} adventures.
|order by=5e_Adventure_Creature.Adventure
-->{{#cargo_query:
table=5e_Adventure_Creature_xRef
|where=5e_Adventure_Creature_xRef.Creature HOLDS '{{{1|}}}'
|fields=5e_Adventure_Creature_xRef._pageName, 5e_Adventure_Creature_xRef.Adventure
|order by=5e_Adventure_Creature_xRef.Adventure
|format=template
|format=template
|template=5e Creature Adventure List/Format
|named args=yes
|template=5e Creature Adventure List/Format Adventure
|limit=1000
|limit=1000
|more results text=More creatures
|more results text=More creatures
Line 16: Line 21:


==Example==
==Example==
<pre>{{5e Creature Adventure List|Drowned One Overview}}</pre>
<pre>{{5e Creature Adventure List|Lizardfolk}}</pre>


{{5e Creature Adventure List|Drowned One Overview}}
{{5e Creature Adventure List|Lizardfolk}}


[[Category:5e Templates]]
[[Category:5e Templates]]
</noinclude>
</noinclude>

Revision as of 11:40, 28 April 2024