Difference between revisions of "Template:Category anchor"
Jump to navigation
Jump to search
imported>MSGJ (accept unnumbered parameter for letter) |
imported>MSGJ (treat blank category parameter same as undefined) |
||
| Line 1: | Line 1: | ||
| − | '''<span class="plainlinks">[{{fullurl:Category:{{{category|{{PAGENAME}} | + | '''<span class="plainlinks">[{{fullurl:Category:{{#if:{{{category|}}} |
| + | |{{{category}}} | ||
| + | |{{PAGENAME}} | ||
| + | }}|from={{{1|{{{letter}}}}}}}} {{{1|{{{letter}}}}}}]</span>'''{{#if:{{{description|}}}|: {{{description|}}}}}<noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> | ||
Revision as of 07:52, 21 April 2010
Wikipedia maintenance categories are often used to categorise different types of pages depending on their sort key. This template gives a way to index entries starting with different letters.
Syntax
{{Category anchor
| category =
| letter =
| description =
}}
Parameters
- category (optional) specifies the category (defaults to the current page);
- letter is the index letter (or character);
- description (optional) is a description of items listed under this letter.
Example
* {{Category anchor
| category = Pending AfC submissions
| letter = H
| description = Held submissions which have been looked at but need further attention.
}}
produces:
- H: Held submissions which have been looked at but need further attention.
See also
- {{Category TOC}}
id:Templat:Category anchor sl:Predloga:Category anchor
| The above documentation is transcluded from Template:Category anchor/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |