Template:LexInfo

From NovaRoma
(Difference between revisions)
Jump to: navigation, search
(add external reference option, begin work on "type" variable)
m (explain why we have to ucfirst the sortkey)
Line 27: Line 27:
  
 
==Text of {{PAGENAME}}==
 
==Text of {{PAGENAME}}==
{{DEFAULTSORT:{{ucfirst:{{{sortkey}}}}}}}<noinclude><!-- Force first letter to upper case because category sorting is case-sensitive --></noinclude>__NOTOC__
+
__NOTOC__{{DEFAULTSORT:{{ucfirst:{{{sortkey}}}}}}}</includeonly><noinclude>
</includeonly><noinclude>
+
 
 +
<!-- NB: We force the first letter of "sortkey" to uppercase because category sorting is case-sensitive. This has no impact on the display name in the category as the canonical form of the page name is used. -->
  
 
This template uses MAGICWORDS and ParserFunctions to build the head area for laws articles. It automates inclusion into categories.
 
This template uses MAGICWORDS and ParserFunctions to build the head area for laws articles. It automates inclusion into categories.
  
 
Usage: Save '''<nowiki>{{subst:Template_talk:LexInfo}}</nowiki>''' on the first line to put the template framework on any page.</noinclude>
 
Usage: Save '''<nowiki>{{subst:Template_talk:LexInfo}}</nowiki>''' on the first line to put the template framework on any page.</noinclude>

Revision as of 06:33, 16 September 2007


This template uses MAGICWORDS and ParserFunctions to build the head area for laws articles. It automates inclusion into categories.

Usage: Save {{subst:Template_talk:LexInfo}} on the first line to put the template framework on any page.

Personal tools