Template:Category-inline/doc

Revision as of 10:17, 22 June 2016 by wikipedia>PanchoS (refine template category)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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:

 Technology

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

 Category

See also