Bản mẫu:Wikipedia-Books/doc
Đây là một trang con tài liệu sử dụng bản mẫu dành cho Bản mẫu:Wikipedia-Books. Nó gồm có các thông tin hướng dẫn sử dụng, thể loại và các nội dung khác không thuộc về phần trang bản mẫu gốc. |
Chức năng[sửa mã nguồn]
This template links to books created via Wikipedia:Books.
Cách sử dụng[sửa mã nguồn]
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 }} |
|||
Up to three books plain |
{{Wikipedia-Books |1=Chemistry |3=Chemical elements (sorted by number) |5=Chemical elements (sorted alphabetically) }} |
| ||
Up to 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) }} |
|