Difference between revisions of "Template:Ccl/doc"
From MidrangeWiki
MrDolomite (talk | contribs) (wrote sub-page documentation) |
MrDolomite (talk | contribs) m (change name to Complete Category Link) |
||
Line 3: | Line 3: | ||
=Documentation= | =Documentation= | ||
<big>{{tl|ccl}}</big> is a shorthand notation for displaying a category's name with a link, but not actually putting an article INTO said category. It automatically adds the leading <code>[[</code> and trailing <code>]]</code> brackets and the <code>Category:</code> prefix for ease of copy/paste. | <big>{{tl|ccl}}</big> is a shorthand notation for displaying a category's name with a link, but not actually putting an article INTO said category. It automatically adds the leading <code>[[</code> and trailing <code>]]</code> brackets and the <code>Category:</code> prefix for ease of copy/paste. | ||
− | :'''{{PAGENAME}}''' stands for {{bu|C}}omplete {{bu|C}}ategory {{bu|L}} | + | :'''{{PAGENAME}}''' stands for {{bu|C}}omplete {{bu|C}}ategory {{bu|L}}ink |
== Usage == | == Usage == |
Revision as of 16:19, 7 March 2007
Documentation
{{ccl}} is a shorthand notation for displaying a category's name with a link, but not actually putting an article INTO said category. It automatically adds the leading [[
and trailing ]]
brackets and the Category:
prefix for ease of copy/paste.
- Ccl/doc stands for Complete Category Link
Usage
{{ccl|categoryname}}
- Note that the Category: prefix is NOT to be used.
Examples
Code | Result |
---|---|
{{ccl|Definitions}} |
[[Category:Definitions]] |
{{ccl|Programming}} |
[[Category:Programming]] |
- This template is a self-reference and so is part of the MidrangeWiki project rather than the content itself.