Template:Implode characters: Difference between revisions

From WormRP
Jump to navigation Jump to search
Keira (talk | contribs)
No edit summary
Keira (talk | contribs)
No edit summary
Line 7: Line 7:
"None" for affiliation may help
"None" for affiliation may help
</noinclude><includeonly>
</noinclude><includeonly>
{{#ifeq: {{{4|}}}| {{WormRP:Active location}} |{{#cargo_query:
{{#cargo_query:
tables=characters
tables=characters
|fields=characters._pageName
|fields=characters._pageName
|where=characters.alignment = "{{{1}}}" and characters.status = "{{{3}}}" and characters.affiliation HOLDS "{{{2}}}"
|where=characters.status = "{{{3}}}" and characters.affiliation HOLDS {{#if: {{{2|}}} |"{{{2}}}" | "None" }}
|order by=characters.leader DESC, characters.name ASC
|order by=characters.leader DESC, characters.name ASC
|format=ul
|format=ul
}}|{{implode characters with location|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|hidelabels={{{hidelabels|}}}}}
|default=
}}</includeonly>
}}</includeonly>

Revision as of 18:21, 27 July 2024

usage:

{{implode characters|ALIGNMENT|AFFILIATION|STATUS|LOCATION|}}

toss in a hidelabels=1 if u want

leave ones you dont want blank.

"None" for affiliation may help