Difference between revisions of "Template:Books-inline"
Jump to navigation
Jump to search
imported>Moxy (Revert as per insulting comments on my talk.) |
imported>Moxy |
||
| Line 1: | Line 1: | ||
| − | [[File:Open book nae 02.svg|16x16px|link=|alt=]] ''[[Book:{{{1|{{PAGENAME}}}}}|{{#if:{{{notext|}}}|Book|{{{2|{{{1|{{PAGENAME}}}}}}}}}}]]'' {{#if:{{{notext|}}}||– [[Wikipedia:Books|Wikipedia book]]}}<noinclude> | + | <!--[[File:Open book nae 02.svg|16x16px|link=|alt=]] ''[[Book:{{{1|{{PAGENAME}}}}}|{{#if:{{{notext|}}}|Book|{{{2|{{{1|{{PAGENAME}}}}}}}}}}]]'' {{#if:{{{notext|}}}||– [[Wikipedia:Books|Wikipedia book]]}}--><noinclude> |
| − | + | {{Historical}} | |
{{documentation}}<!-- Add categories and interwikis to the /doc subpage, not here! --></noinclude> | {{documentation}}<!-- Add categories and interwikis to the /doc subpage, not here! --></noinclude> | ||
Revision as of 19:03, 1 January 2020
| This page is currently inactive and is retained for historical reference. Either the page is no longer relevant or consensus on its purpose has become unclear. To revive discussion, seek broader input via a forum such as the village pump. |
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
| The above documentation is transcluded from Template:Books-inline/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |