Difference between revisions of "Template:Books-inline/doc"

From blackwiki
Jump to navigation Jump to search
imported>GermanJoe
(→‎Usage: clarify parameter syntax)
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
Line 28: Line 28:
 
*[[Template:Wikipedia books]]
 
*[[Template:Wikipedia books]]
  
<includeonly>
+
<includeonly>{{Sandbox other||
 
<!-- ADD CATEGORIES BELOW THIS LINE -->
 
<!-- ADD CATEGORIES BELOW THIS LINE -->
 
[[Category:Internal link templates]]
 
[[Category:Internal link templates]]
 
<!-- ADD INTERWIKIS BELOW THIS LINE -->
 
<!-- ADD INTERWIKIS BELOW THIS LINE -->
</includeonly>
+
}}</includeonly>

Revision as of 00:13, 24 April 2020

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