Difference between revisions of "User:Fimbulvetr/Sandbox 3"

From A3! Wiki
Line 2: Line 2:
 
! colspan="{{#expr: 1 + {{#cargo_query:tables=Characters|fields=COUNT(troupe)=count|group by=troupe|order by=count DESC|more results text=|no html|limit=1}}}}"|[[Character Hub|Characters]]
 
! colspan="{{#expr: 1 + {{#cargo_query:tables=Characters|fields=COUNT(troupe)=count|group by=troupe|order by=count DESC|more results text=|no html|limit=1}}}}"|[[Character Hub|Characters]]
 
|-
 
|-
|<div style="float:left;padding-right:5px;">[[File:Spring troupe.png|30px]]</div> '''Spring:'''
+
|style="width:25em"|<div style="float:left;padding-right:5px;">[[File:Spring troupe.png|30px]]</div> '''Spring:'''
 
{{#cargo_query:tables=Characters
 
{{#cargo_query:tables=Characters
 
|fields=firstname
 
|fields=firstname
|order by=troupeorder DESC
+
|order by=troupeorder ASC
 
|where=troupe="Spring" AND maincast=1
 
|where=troupe="Spring" AND maincast=1
 
|more results text=
 
|more results text=
 
|no html
 
|no html
|format=template
+
|format=ul}}
|template=Navbox Link}}
 
 
|-
 
|-
 
|<div style="float:left;padding-right:5px;">[[File:Summer troupe.png|30px]]</div> '''Summer:'''
 
|<div style="float:left;padding-right:5px;">[[File:Summer troupe.png|30px]]</div> '''Summer:'''
 
{{#cargo_query:tables=Characters
 
{{#cargo_query:tables=Characters
 
|fields=firstname
 
|fields=firstname
|order by=troupeorder DESC
+
|order by=troupeorder ASC
 
|where=troupe="Summer" AND maincast=1
 
|where=troupe="Summer" AND maincast=1
 
|more results text=
 
|more results text=
|no html
+
|no html}}
|format=template
 
|template=Navbox Link}}
 
 
|-
 
|-
 
|<div style="float:left;padding-right:5px;">[[File:Autumn troupe.png|30px]]</div> '''Autumn:'''
 
|<div style="float:left;padding-right:5px;">[[File:Autumn troupe.png|30px]]</div> '''Autumn:'''
 
{{#cargo_query:tables=Characters
 
{{#cargo_query:tables=Characters
 
|fields=firstname
 
|fields=firstname
|order by=troupeorder DESC
+
|order by=troupeorder ASC
 
|where=troupe="Autumn" AND maincast=1
 
|where=troupe="Autumn" AND maincast=1
 
|more results text=
 
|more results text=
|no html
+
|no html}}
|format=template
 
|template=Navbox Link}}
 
 
|-
 
|-
 
|<div style="float:left;padding-right:5px;">[[File:Winter troupe.png|30px]]</div> '''Winter:'''
 
|<div style="float:left;padding-right:5px;">[[File:Winter troupe.png|30px]]</div> '''Winter:'''
 
{{#cargo_query:tables=Characters
 
{{#cargo_query:tables=Characters
 
|fields=firstname
 
|fields=firstname
|order by=troupeorder DESC
+
|order by=troupeorder ASC
 
|where=troupe="Winter" AND maincast=1
 
|where=troupe="Winter" AND maincast=1
 
|more results text=
 
|more results text=
|no html
+
|no html}}
|format=template
 
|template=Navbox Link}}
 
 
|}
 
|}

Revision as of 09:32, 8 October 2017

Characters
Spring troupe.png
Spring:
Error: Table Characters not found.
Summer troupe.png
Summer:
Error: Table Characters not found.
Autumn troupe.png
Autumn:
Error: Table Characters not found.
Winter troupe.png
Winter:
Error: Table Characters not found.