Template:Roster/core: Difference between revisions

From Absit Omen Lexicon
mNo edit summary
mNo edit summary
 
Line 1: Line 1:
<includeonly>
|{{#cargo_query:
|{{#cargo_query:
tables=Characters
tables=Characters
|fields=_pageName, status
|fields=_pageName, status
|where=school_year="Seventh Year" AND status<>"retired"
|where=school_year="{{{1}}}" AND status<>"retired" AND house="Gryffindor"
|order by=status,surname,given_name
|order by=status,surname,given_name
|default=
|default=
Line 8: Line 9:
|template=Roster/format
|template=Roster/format
}}
}}
 
|{{#cargo_query:
{{#ask: [[Category:Gryffindor {{{year}}} Year]] [[status::active||inactive||secondary||npc]]|? status|sort=status, |order=ascending, ascending|format=template|template=activity|introtemplate=activity/before|outrotemplate=activity/after}}
tables=Characters
|{{#ask: [[Category:Hufflepuff {{{year}}} Year]] [[status::active||inactive||secondary||npc]]|? status|sort=status, |order=ascending, ascending|format=template|template=activity|introtemplate=activity/before|outrotemplate=activity/after}}
|fields=_pageName, status
|{{#ask: [[Category:Ravenclaw {{{year}}} Year]] [[status::active||inactive||secondary||npc]]|? status|sort=status, |order=ascending, ascending|format=template|template=activity|introtemplate=activity/before|outrotemplate=activity/after}}
|where=school_year="{{{1}}}" AND status<>"retired" AND house="Hufflepuff"
|{{#ask: [[Category:Slytherin {{{year}}} Year]] [[status::active||inactive||secondary||npc]]|? status|sort=status, |order=ascending, ascending|format=template|template=activity|introtemplate=activity/before|outrotemplate=activity/after}}</includeonly>
|order by=status,surname,given_name
|default=
|format=template
|template=Roster/format
}}
|{{#cargo_query:
tables=Characters
|fields=_pageName, status
|where=school_year="{{{1}}}" AND status<>"retired" AND house="Ravenclaw"
|order by=status,surname,given_name
|default=
|format=template
|template=Roster/format
}}
|{{#cargo_query:
tables=Characters
|fields=_pageName, status
|where=school_year="{{{1}}}" AND status<>"retired" AND house="Slytherin"
|order by=status,surname,given_name
|default=
|format=template
|template=Roster/format
}}</includeonly>

Latest revision as of 00:31, 3 December 2015