Template:Implode characters with location: Difference between revisions

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

Latest revision as of 18:08, 27 July 2024