Difference between revisions of "Template:SortUsersBy"
From Complex Time
WikiWorks3 (talk | contribs) |
WikiWorks3 (talk | contribs) |
||
Line 19: | Line 19: | ||
<pre></pre> | <pre></pre> | ||
− | </noinclude><includeonly>{{#replace:{{#ask: [[{{#arraymap:{{{1}}}|;|XXX|User:XXX|{{!}}{{!}} | + | </noinclude><includeonly>{{#replace:{{#ask: [[{{#arraymap:{{{1}}}|;|XXX|User:XXX|{{!}}{{!}}}}]] [[Name::+]] [[{{{2}}}::+]] |mainlabel= |limit=30 |sort={{{2}}} |order={{{3}}} |limit=100000 |searchlabel= |link=none |format=array |sep=; }}|User:|}}</includeonly> |
Revision as of 12:29, November 1, 2019
Sorts users list (; as separator), eg:
{{SortUsersBy |AbdullahAlNayeem;AdamSmith;AfsalA;AishaDasgupta;AjapnwaAkamin |Last name |asc }}
- Input string, list of user pages names separated by ;
- Property to sort by
- Sorting order (asc/desc)
The output format is a sorted string similar to the inputted one, eg: