Template:Category-inline

From WikiAlpha
Jump to: navigation, search
The below content was derived from the Wikipedia page Template:Category-inline, with the list of authors located at the talk page, and is licensed according to the Creative Commons Attribution-ShareAlike 3.0 Unported License contrary to the public domain logo at the foot of the page.
16x16px [[:Category:{{{1}}}|Category: {{{1}}}]]
[edit] [purge] Template documentation

Link to categories with an icon and accompanying text.

Usage

The {{category-inline}} template accepts two optional parameters for linking to books.

The first parameter is the name of the category. If omitted the template will use the name of the page.

The second parameter is the text to use for the wikilink. If omitted the template will either use the name of the category given as the first parameter or the name of the page.

{{category-inline|cat name|link text}}

Example:

{{category-inline|Technology|Technology}}

Appears as:

16x16px Technology

If notext is specified, only the word "Category" is displayed:

16x16px Category

See also