Template:Wikipedia books
![]() | 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. For more info please see Wikipedia:Village pump (technical)/Archive 176 |
Template:Not to be confused with
![]() | この記事は、クリエイティブ・コモンズ・表示・継承ライセンス3.0のもとで公表されたウィキペディアの項目Template:Wikipedia booksを素材として二次利用しています。 Lua error in Module:Itemnumber at line 91: attempt to concatenate local 'qid' (a nil value). |
Function
This template links to books created via Wikipedia:Books.
Usage
The {{Wikipedia books}} template accepts three 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.
- The
|position=
parameter accepts one keyword,left
, to float the box to the left instead of to the right.
Examples:
# of books | What you write | What you get |
---|---|---|
One book plain |
{{Wikipedia books|Chemical elements (sorted by number)}} |
|
One book renamed |
{{Wikipedia books |Chemical elements (sorted by number) |Chemical elements }} |
|
Three books plain |
{{Wikipedia books |1=Chemistry |3=Chemical elements (sorted by number) |5=Chemical elements (sorted alphabetically) }} |
|
Three books renamed |
{{Wikipedia books |1=Chemistry |2=Chemistry |3=Chemical elements (sorted by number) |4=Chemical Elements (#) |5=Chemical elements (sorted alphabetically) |6=Chemical Elements (A–Z) }} |
The template supports up to five books, following the parameter numbering pattern shown above.
Location
Within articles, this template is meant to be placed at the bottom of the article in the See also section.