Difference between revisions of "Template:Books-inline"
Jump to navigation
Jump to search
imported>WOSlinker (remove {{pp-template}} since included in {{documentation}}) |
imported>The Evil IP address (fix caps; not sure if {{selfref}} is right here, but I leave it here for the moment) |
||
| Line 1: | Line 1: | ||
| − | {{selfref|[[Wikipedia:Books|Wikipedia | + | {{selfref|[[Wikipedia:Books|Wikipedia books]]: [[Book:{{{1|{{PAGENAME}}}}}|{{{2|{{{1|{{PAGENAME}}}}}}}}]]|inline}}<noinclude> |
{{documentation}} | {{documentation}} | ||
<!-- Add cats and interwikis to the /doc subpage, not here! --> | <!-- Add cats and interwikis to the /doc subpage, not here! --> | ||
</noinclude> | </noinclude> | ||
Revision as of 17:20, 16 August 2011
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. |