Template:Category
From RationalWiki
See the main article for this category, Category.
CategoryArticles about category.Important Category articles |
Best of Category |
Usage
Everything a growing category needs!
Parameters
| Parameter name: | What it does: | Paste me: |
|---|---|---|
| 1st unnamed parameter | If it's empty, the template won't have the "Best of" or "Important articles" sections. Use for small categories that don't have many silver/gold ranked articles or important articles. | {{category|}}
|
| alt | Changes the main article linked to at the top. By default, links to {{PAGENAME}}
|
{{category|alt=RationalWiki}}
|
| icon | Adds the icon for the category. By default: first, searches for file "File:Icon"; second, searches for "File:alt.svg"; third, searches for "File:PAGENAME.svg"; if none exist, no file displays. | {{category|icon=Wigorw.svg}}
|
| text | Adds the description of the category. By default, says "Articles about PAGENAME". | {{category|text=Articles about goats.}}
|
| best | Manually adds to the "Best of PAGENAME" section. By default, does not display. Should be in the form "*Goats
*Goatse *RatWiki" |
{{category|best=*Goat
|
| imp | Manually adds to the "Important PAGENAME articles" section. By default, does not display. Should be in the form "*Goats
*Goatse *RatWiki" |
{{category|imp=*Goat
|
| quote | Adds a quote. By default, does not display. | {{category|quote=Goats goats goats!}}
|
| author | Adds the author of the quote. By default, does not display. | {{category|author=RationalWiki}}
|
| links | Adds any useful links, such as links to sidebar navigation templates. Should be in the form "*[[Goats]]
*[[Goatse]] *[[RatWiki]]" |
{{category|links=*[[Goat]]
|
| category | Sets what categories the "important" and "best of" sections draw articles from. Multiple categories must be separated with {{!}}. To get all the categories of a metacategory, go to Template:Category/meta, edit it, and follow its instructions.
|
{{category|category=Goats {{!}} Goatse {{!}} RatWiki}}
|
Paste me
{{category|1= <!-- If empty, defaults to "simple" category style. -->
|alt= <!-- Sets the "main article". -->
|icon= <!-- Sets the icon. -->
|text= <!-- Sets the text. -->
|best= <!-- Adds to the "best of" section. -->
|imp= <!-- Adds to the "important" section. -->
|quote= <!-- Adds a quote. -->
|author= <!-- Adds an author for the quote. -->
|links= <!-- Adds useful links. -->
|category= <!-- Sets categories for important and best of sections. -->
}}