Template:Implode characters: Difference between revisions

From WormRP
Jump to navigation Jump to search
Keira (talk | contribs)
m Test this
Keira (talk | contribs)
No edit summary
 
(5 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: {{{4|}}}| Unknown |{{#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
|?Leader
|format=ul
|sort=Leader,Cape Name
|default=
|order=desc,asc
|template=Implode characters/formatcapes
|format=ul}}|{{implode characters with location|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|hidelabels={{{hidelabels|}}}}}
}}</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