Difference between revisions of "Template:Sort"

From blackwiki
Jump to navigation Jump to search
test>BD2412
(This edit has been reported as causing trouble for some tables.)
test>TheDJ
(2nd attempt, now with sortkey escaping, and protection against incorrect usage the sort templates like {{sort|{{dts|2013|07|07}}|{{dts|1990|12|01}}}})
Line 1: Line 1:
<span style="display:none;" class="sortkey">{{{1}}}&#32;!</span><span class="sorttext">{{{2|[[{{{1}}}]]}}}</span><noinclude>
+
<span data-sort-value="{{#invoke:sortkey|encode|{{{1}}} !}}">{{{2|[[{{{1}}}]]}}}</span><noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 21:39, 22 June 2018

[[{{{1}}}]]

Template documentation[create]