Template:Implode characters: Difference between revisions

From WormRP
Jump to navigation Jump to search
Keira (talk | contribs)
m yet another cat
Keira (talk | contribs)
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 6: Line 6:


"None" for affiliation may help
"None" for affiliation may help
</noinclude><includeonly>{{#ifeq: {{{3|}}}| Active |{{#ask:
</noinclude><includeonly>
[[:+]]
{{#cargo_query:
{{#if: {{{1|}}} | [[Alignment::{{{1}}}]]  | }}
tables=characters
{{#if: {{{2|}}} | [[Affiliation::{{{2}}}]] | }}
|fields=characters._pageName
{{#if: {{{3|}}} | [[Status::{{{3}}}]]    | }}
|where=characters.status = "{{{3}}}" and characters.alignment = "{{{1}}}" and characters.affiliation HOLDS {{#if: {{{2|}}} |"{{{2}}}" | "None" }}
{{#if: {{{4|}}} | [[Location::{{{4}}}]]    | }}
|order by=characters.leader DESC, characters.name ASC
|format=ul}}|{{implode characters with location|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|hidelabels={{{hidelabels|}}}}}
|format=ul
|default=
}}</includeonly>
}}</includeonly>

Latest revision as of 18:26, 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