Difference between revisions of "Template:Category-inline/doc"
Jump to navigation
Jump to search
imported>Quest for Truth |
imported>PanchoS m (refine template category) |
||
| Line 30: | Line 30: | ||
* [[Template:Books-inline]] | * [[Template:Books-inline]] | ||
| − | <includeonly>{{ | + | <includeonly>{{sandbox other|| |
| − | + | [[Category:Internal category-link templates]] | |
| − | [[Category:Internal link templates]] | ||
}}</includeonly> | }}</includeonly> | ||
Latest revision as of 09:17, 22 June 2016
| This is a documentation subpage for Template:Category-inline. It contains 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:
See also