Template:Category-inline/doc: Difference between revisions
Template page
More actions
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 == The <nowiki>{{category-inline}}</nowiki> 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 e..." |
(No difference)
|
Latest revision as of 20:43, 23 February 2025
| This is a documentation subpage for Template:Category-inline. It may contain usage information, categories and other content that is not part of the original template page. |
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:
If notext is specified, only the word "Category" is displayed: