Template:Subject bar/doc
![]() | This is a documentation subpage for Template:Subject bar. It may contain usage information, categories and other content that is not part of the original template page. |
This navigational template is intended be placed at the bottom of an article, after the References or External Links and before the categories. It offers an alternative to several floating box templates that link to books, portals, and Wikipedia's sister projects but also typically cause formatting issues because of their size and alignment.
Usage
Note: None of the parameters should be capitalized. For example, use "commons", "v", etc. - not "Commons", "V", etc.
All parameters
When copying all parameters in either the vertical or horizontal layouts, delete those which are not needed. If no links are needed for a particular type, such as "books", that part of the template will not appear on the page.
- All parameters, horizontal layout
{{Subject bar |book= |portal= |commons= |commons-search= |species= |species-search= |n= |n-search= |wikt= |wikt-search= |b= |b-search= |q= |q-search= |wikt= |wikt-search= |s= |s-search= |v= |v-search= }}
- All parameters, vertical layout
{{Subject bar |book = |portal = |commons = |commons-search = |species = |species-search = |n = |n-search = |wikt = |wikt-search = |b = |b-search = |q = |q-search = |s = |s-search = |v = |v-search = }}
Using multiple books and portals
The for articles linking to a single book or portal, use the sample code below. If more than one book or portal is needed (up to 10 of each), append a number as follows:
{{Subject bar |book1= |book2= |book3= | ... | |portal1= |portal2= |portal3= |...}}
User:Visionholder/Template:Subject bar
See also
- Template:Sister project links
- Wikipedia:Template messages/Sister projects
- Template:Commons
- Template:Commons category
- Template:Commons category multi
- Template:Commons and category
- Template:Commons-inline
- Template:Commons category-inline
- Template:Portal
- Template:Portal box
- Template:Portal bar
- Template:Wikipedia-Books
- Template:Book bar