Santa Fe Institute Collaboration Platform

COMPLEX TIME: Adaptation, Aging, & Arrow of Time

Get Involved!
Contact: Caitlin Lorraine McShea, Program Manager, cmcshea@santafe.edu

Difference between revisions of "Template:SortUsersBy"

From Complex Time
Line 1: Line 1:
<includeonly>{{#ask: [[{{#arraymap:{{{1}}}|;|XXX|User:XXX|{{!}}{{!}}}}]] [[Name::+]] |mainlabel=- |?{{{2}}}= |limit=30 |sort={{{2}}} |order={{{3}}} |limit=100000 |searchlabel= |link=none |format=array |sep=; }}</includeonly>
+
<noinclude>
 +
 
 +
Sorts users list (; as separator), eg:
 +
 
 +
<nowiki><pre>
 +
{{SortUSersBy|AbdullahAlNayeem;AdamSmith;AfsalA;AishaDasgupta;AjapnwaAkamin|Last name|asc}}
 +
</pre></nowiki>
 +
 
 +
</noinclude><includeonly>{{#ask: [[{{#arraymap:{{{1}}}|;|XXX|User:XXX|{{!}}{{!}}}}]] [[Name::+]] |mainlabel=- |?{{{2}}}= |limit=30 |sort={{{2}}} |order={{{3}}} |limit=100000 |searchlabel= |link=none |format=array |sep=; }}</includeonly>

Revision as of 11:38, November 1, 2019


Sorts users list (; as separator), eg:

<pre> {{SortUSersBy|AbdullahAlNayeem;AdamSmith;AfsalA;AishaDasgupta;AjapnwaAkamin|Last name|asc}} </pre>