Difference between revisions of "Template:Category"
m |
|||
Line 104: | Line 104: | ||
|generates=the tenth category of the page | |generates=the tenth category of the page | ||
|validvalues=Any string that corresponds to a valid category on UOGuide. | |validvalues=Any string that corresponds to a valid category on UOGuide. | ||
− | }}</noinclude><includeonly>{{#if: {{{description|}}} | {{{description | + | }}</noinclude><includeonly>{{#if: {{{description|}}} | {{{description}}}{{#if: {{{see|}}} | |
− | See: [[{{{see}}}]] }} | + | See: [[{{{see}}}]] }} | {{#if: {{{see|}}} | See: [[{{{see}}}]] }} |
{{#ifeq: {{PAGENAME}} | UOGuide | | {{Categorize|{{{category}}}}} }}{{#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 | | {{Categorize|{{{category}}}}} }}{{#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 12:31, 31 March 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 to which the category directly corresponds. This is used to generate a "See: PAGENAME" line underneath the description.
- Valid Value(s): Any string that corresponds to the name of a valid article 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.
- 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.