Template:Implode characters: Difference between revisions

From WormRP
Jump to navigation Jump to search
Keira (talk | contribs)
maybe this make it less......slow?
Keira (talk | contribs)
No edit summary
Line 6: Line 6:


"None" for affiliation may help
"None" for affiliation may help
</noinclude><includeonly>{{#ifeq: {{{4|}}}| {{WormRP:Active location}} |{{#ask:
</noinclude><includeonly>
[[Category:Capes]]
{{#ifeq: {{{4|}}}| {{WormRP:Active location}} |{{#cargo_query:
{{#if: {{{1|}}} | [[Alignment::{{{1}}}]]  | }}
tables=characters
{{#if: {{{2|}}} | [[Affiliation::{{{2}}}]] | }}
|fields=characters._pageName
{{#if: {{{3|}}} | [[Status::{{{3}}}]]    | }}
|where=characters.alignment = "{{{1}}}" and characters.status = "{{{3}}}" and characters.affiliation HOLDS "{{{2}}}"
{{#if: {{{4|}}} | [[Location::{{{4}}}]]    | }}
|order by=characters.leader DESC, characters.name ASC
|?Leader
|format=ul
|sort=Leader,Cape Name
}}|{{implode characters with location|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|hidelabels={{{hidelabels|}}}}}
|order=desc,asc
|template=Implode characters/formatcapes
|format=ul}}|{{implode characters with location|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|hidelabels={{{hidelabels|}}}}}
}}</includeonly>
}}</includeonly>

Revision as of 18:02, 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