Difference between revisions of "Template:Books-inline"

From blackwiki
Jump to navigation Jump to search
imported>RegentsPark
m (Protected Template:Wikipedia-Books link: Highly visible template ([edit=autoconfirmed] (indefinite) [move=autoconfirmed] (indefinite)))
imported>Tothwolf
(Added {{pp-template}} template)
Line 1: Line 1:
 
<includeonly>[[Wikipedia:Books|Wikipedia Books]]: [[Wikipedia:Books/{{{1|{{PAGENAME}}}}}|{{{2|{{{1|{{PAGENAME}}}}}}}}]]</includeonly><noinclude>
 
<includeonly>[[Wikipedia:Books|Wikipedia Books]]: [[Wikipedia:Books/{{{1|{{PAGENAME}}}}}|{{{2|{{{1|{{PAGENAME}}}}}}}}]]</includeonly><noinclude>
 +
{{pp-template}}
 
{{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 14:49, 20 April 2009

Template documentation[view] [edit] [history] [purge]

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:

Wikipedia Books: Technology

If notext=yes is specified, only the word "Book" is displayed:

Wikipedia Books: Technology

See also