Difference between revisions of "Template:Category"
m |
m |
||
Line 106: | Line 106: | ||
}}</noinclude><includeonly>{{#if: {{{description|}}} | {{{description}}} | }}</noinclude><includeonly>{{#if: {{{description|}}} | {{{description}}} | ||
− | {{#if: {{{see|}}} | '''See:''' {{{see}}} }} | {{#if: {{{see|}}} | '''See:''' {{{see}}} }} }} | + | {{#if: {{{see|}}} | '''See:''' [[{{{see}}}]] }} | {{#if: {{{see|}}} | '''See:''' [[{{{see}}}]] }} }} |
{{#ifeq: {{PAGENAME}} | UOGuide | | {{#if: {{{category|}}} | {{Categorize|{{{category}}}}} | {{Categorize|Uncategorized Categories}} }} }}{{#if: {{{category2|}}} | {{Categorize|{{{category2}}}}} }}{{#if: {{{category3|}}} | {{Categorize|{{{category3}}}}} }}{{#if: {{{category4|}}} | {{Categorize|{{{category4}}}}} }}{{#if: {{{category5|}}} | {{Categorize|{{{category5}}}}} }}{{#if: {{{category6|}}} | {{Categorize|{{{category6}}}}} }}{{#if: {{{category7|}}} | {{Categorize|{{{category7}}}}} }}{{#if: {{{category8|}}} | {{Categorize|{{{category8}}}}} }}{{#if: {{{category9|}}} | {{Categorize|{{{category9}}}}} }}{{#if: {{{category10|}}} | {{Categorize|{{{category10}}}}} }}</includeonly> | {{#ifeq: {{PAGENAME}} | UOGuide | | {{#if: {{{category|}}} | {{Categorize|{{{category}}}}} | {{Categorize|Uncategorized Categories}} }} }}{{#if: {{{category2|}}} | {{Categorize|{{{category2}}}}} }}{{#if: {{{category3|}}} | {{Categorize|{{{category3}}}}} }}{{#if: {{{category4|}}} | {{Categorize|{{{category4}}}}} }}{{#if: {{{category5|}}} | {{Categorize|{{{category5}}}}} }}{{#if: {{{category6|}}} | {{Categorize|{{{category6}}}}} }}{{#if: {{{category7|}}} | {{Categorize|{{{category7}}}}} }}{{#if: {{{category8|}}} | {{Categorize|{{{category8}}}}} }}{{#if: {{{category9|}}} | {{Categorize|{{{category9}}}}} }}{{#if: {{{category10|}}} | {{Categorize|{{{category10}}}}} }}</includeonly> |
Revision as of 07:09, 13 April 2010
Template:Category is designed for use on category pages to standardize their look and feel and to make them easier to create and manage.
Template
{{Category |description= |see= |category= |category2= |category3= |category4= |category5= |category6= |category7= |category8= |category9= |category10= }}
Parameters
description
- Usage: Optional
- Description: The description parameter takes a string or strings denoting a basic description of the category and its contents. This is used to generate the description section at the top of the page.
- Valid Value(s): Any string or strings.
see
- Usage: Optional
- Description: The see parameter takes a string denoting the article or articles to which the category directly relates. This is used to generate a "See: PAGENAME" line underneath the description.
- Valid Value(s): Any string or strings that correspond to the name of a valid article or articles on UOGuide.
category
- Usage: Mandatory
- Description: The category parameter takes a string denoting the main category to which the category page should belong. This is used to generate the main category of the page. The only category on UOGuide that this parameter is not mandatory for is Category:UOGuide, as it is the root of the category hierarchy. Any other category will be added to Category:Uncategorized Categories if this parameter is left blank.
- Valid Value(s): Any string that corresponds to a valid category on UOGuide.
category2
- Usage: Optional
- Description: The category2 parameter takes a string denoting a second, auxiliary category to which the category page should belong. This is used to generate the second category of the page.
- Valid Value(s): Any string that corresponds to a valid category on UOGuide.
category3
- Usage: Optional
- Description: The category3 parameter takes a string denoting a third, auxiliary category to which the category page should belong. This is used to generate the third category of the page.
- Valid Value(s): Any string that corresponds to a valid category on UOGuide.
category4
- Usage: Optional
- Description: The category4 parameter takes a string denoting a fourth, auxiliary category to which the category page should belong. This is used to generate the fourth category of the page.
- Valid Value(s): Any string that corresponds to a valid category on UOGuide.
category5
- Usage: Optional
- Description: The category5 parameter takes a string denoting a fifth, auxiliary category to which the category page should belong. This is used to generate the fifth category of the page.
- Valid Value(s): Any string that corresponds to a valid category on UOGuide.
category6
- Usage: Optional
- Description: The category6 parameter takes a string denoting a sixth, auxiliary category to which the category page should belong. This is used to generate the sixth category of the page.
- Valid Value(s): Any string that corresponds to a valid category on UOGuide.
category7
- Usage: Optional
- Description: The category7 parameter takes a string denoting a seventh, auxiliary category to which the category page should belong. This is used to generate the seventh category of the page.
- Valid Value(s): Any string that corresponds to a valid category on UOGuide.
category8
- Usage: Optional
- Description: The category8 parameter takes a string denoting a eighth, auxiliary category to which the category page should belong. This is used to generate the eighth category of the page.
- Valid Value(s): Any string that corresponds to a valid category on UOGuide.
category9
- Usage: Optional
- Description: The category9 parameter takes a string denoting a ninth, auxiliary category to which the category page should belong. This is used to generate the ninth category of the page.
- Valid Value(s): Any string that corresponds to a valid category on UOGuide.
category10
- Usage: Optional
- Description: The category10 parameter takes a string denoting a tenth, auxiliary category to which the category page should belong. This is used to generate the tenth category of the page.
- Valid Value(s): Any string that corresponds to a valid category on UOGuide.