Template:Category-inline/doc

Safer nicotine wiki Tobacco Harm Reduction
Revision as of 18:21, 4 December 2022 by Richardpruen (talk | contribs) (1 revision imported: Templates and CSS files)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Lua error: Internal error: The interpreter exited with status 1.

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:

Lua error: Internal error: The interpreter exited with status 1. Technology

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

Lua error: Internal error: The interpreter exited with status 1. Category

See also