Template:LexInfo
From NovaRoma
(Difference between revisions)
(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><!-- | + | __NOTOC__{{DEFAULTSORT:{{ucfirst:{{{sortkey}}}}}}}</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:32, 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.