Template:Implode characters with location: Difference between revisions

From WormRP
Jump to navigation Jump to search
Keira (talk | contribs)
m maybe maybe maybe
Keira (talk | contribs)
No edit summary
 
(23 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#ask: [[Category:Locations]]
<includeonly>{{#ifexpr: {{#cargo_query:
|format=template
tables=characters
|template=Implode characters with location/render
|fields=COUNT(*)
|userparam={{{1|}}},{{{2|}}},{{{3|}}}
|where=characters.alignment = "{{{1}}}" and characters.status = "{{{3}}}" and characters.affiliation HOLDS "{{{2}}}" and characters.location = "{{{4}}}"
}}</includeonly>
|format=list
}} | <table class="nowraplinks navbox-subgroup" style="border-spacing:0">{{#cargo_query:
tables=characters
|fields=characters._pageName
|where=characters.alignment = "{{{1}}}" and characters.status = "{{{3}}}" and characters.affiliation HOLDS "{{{2}}}" and characters.location = "{{{4}}}"
|order by=characters.leader DESC, characters.name ASC
|format=ul
}}</table> | }}</includeonly>

Latest revision as of 18:08, 27 July 2024