Template:Category-inline/doc

From WikiAlpha
< Template:Category-inline
Revision as of 11:38, 13 January 2018 by LuisAnton (Talk | contribs) (Created page with "{{Documentation subpage}} <!-- Categories go at the bottom of this page and interwikis go in Wikidata. --> Link to categories with an icon and accompanying text. == Usage ==...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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