Difference between revisions of "Template:Books-inline/doc"
Jump to navigation
Jump to search
(→Usage) |
imported>NicoScribe (Undid revision 954476149 by 190.53.132.213 (talk) ?) |
||
| Line 10: | Line 10: | ||
The second parameter is the text to use for the wikilink. If omitted the template will either use the name of the book given as the first parameter or 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 book given as the first parameter or the name of the page. | ||
| − | <nowiki>{{books-inline|book | + | <nowiki>{{books-inline|book name|link text}}</nowiki> |
| − | |||
| − | name| | ||
Example: | Example: | ||
| Line 32: | Line 30: | ||
<includeonly>{{Sandbox other|| | <includeonly>{{Sandbox other|| | ||
<!-- ADD CATEGORIES BELOW THIS LINE --> | <!-- ADD CATEGORIES BELOW THIS LINE --> | ||
| − | + | [[Category:Internal link templates]] | |
| + | <!-- ADD INTERWIKIS BELOW THIS LINE --> | ||
}}</includeonly> | }}</includeonly> | ||
Latest revision as of 16:49, 2 May 2020
| This is a documentation subpage for Template:Books-inline. It contains usage information, categories and other content that is not part of the original template page. |
Link to books created via Wikipedia:Books.
Usage
The {{books-inline}} template accepts two optional parameters for linking to books.
The first parameter is the name of the book within the Wikipedia:Books project. 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 book given as the first parameter or the name of the page.
{{books-inline|book name|link text}}
Example:
{{books-inline|Technology|Technology}}
Appears as:
If notext=yes is specified, only the word "Book" is displayed:
See also