Template:Category-inline/sandbox
Appearance
[[:Category:{{{1}}}|Category: {{{1}}}]]
This is the template sandbox page for Template:Category-inline (diff). |
This template is used on approximately 9,100 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Link to categories with an icon and accompanying text.
Usage
[edit]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:
If notext
is specified, only the word "Category" is displayed: