Difference between revisions of "Template:DEFAULTSORT/doc"

From blackwiki
Jump to navigation Jump to search
imported>Alison
(-prot)
imported>Mattbr
(Moved notice up, added category from template)
Line 1: Line 1:
 
<includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude>
 
<includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude>
 
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
 
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
 +
 +
{{important|Please use '''<nowiki>{{DEFAULTSORT:Sortkey}}</nowiki>''' rather than <nowiki>{{DEFAULTSORT|Sortkey}}</nowiki>, with a colon (":"), not a pipe symbol ("&#124;"). This uses the [[m:magic word|magic word]] directly instead of using the template to call the magic word.}}
  
 
'''<nowiki>{{DEFAULTSORT:<sort key>}}</nowiki>''' is a [[Help:Magic words|magic word]] used to apply a sort key to many categories at once. It can be overridden for individual categories applied to an article by manually applying a sort key.  
 
'''<nowiki>{{DEFAULTSORT:<sort key>}}</nowiki>''' is a [[Help:Magic words|magic word]] used to apply a sort key to many categories at once. It can be overridden for individual categories applied to an article by manually applying a sort key.  
 
{{important|Please use '''<nowiki>{{DEFAULTSORT:Sortkey}}</nowiki>''' rather than <nowiki>{{DEFAULTSORT|Sortkey}}</nowiki>, with a colon (":"), not a pipe symbol ("&#124;"). This uses the [[m:magic word|magic word]] directly instead of using the template to call the magic word.}}
 
  
 
See also:
 
See also:
Line 13: Line 13:
 
<includeonly>
 
<includeonly>
 
<!-- ADD CATEGORIES BELOW THIS LINE -->
 
<!-- ADD CATEGORIES BELOW THIS LINE -->
 +
[[Category:Sorting templates|Defaultsort]]
  
 
<!-- ADD INTERWIKIS BELOW THIS LINE -->
 
<!-- ADD INTERWIKIS BELOW THIS LINE -->

Revision as of 17:44, 14 August 2007

Template:Template doc page viewed directly

{{DEFAULTSORT:<sort key>}} is a magic word used to apply a sort key to many categories at once. It can be overridden for individual categories applied to an article by manually applying a sort key.

See also: