Difference between revisions of "Template:AutoDEFAULTSORT"

From Disobiki
Jump to navigation Jump to search
(qSjfBooXInotfqhjUJA)
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
v7boeM  <a href="http://foyjabsaitym.com/">foyjabsaitym</a>, [url=http://yotzagdjbdgj.com/]yotzagdjbdgj[/url], [link=http://klfytdmjnhzm.com/]klfytdmjnhzm[/link], http://ahdqltztbigd.com/
+
<includeonly>{{#ifeq: {{#rmatch:{{PAGENAME}}|^(A{{!}}The)\s|1}} | 1 |
 +
  {{DEFAULTSORT:{{#rreplace:{{PAGENAME}}|^(A{{!}}The) |}}}}
 +
| }}</includeonly><noinclude>
 +
==Usage==
 +
 
 +
Given "The Sinful Dwarf", return <code><nowiki>{{DEFAULTSORT:Sinful Dwarf}}</nowiki></code>. Handles "A Fistful of Dollars" too.
 +
 
 +
<pre>
 +
{{AutoDEFAULTSORT}}
 +
</pre>
 +
 
 +
[[Category:Templates]]</noinclude>

Latest revision as of 12:57, 25 June 2014

Usage

Given "The Sinful Dwarf", return {{DEFAULTSORT:Sinful Dwarf}}. Handles "A Fistful of Dollars" too.

 {{AutoDEFAULTSORT}}