Template:Subject bar/doc

This navigational template offers a variant to several floating box templates that link to portals, and Wikipedia's sister projects but also typically cause formatting issues because of their size and alignment.

It is intended to be placed at the end of an article, after the references, external links, navboxes and before any authority control template or categories.

Usage
No single parameter is required, however, at least one portal or sister project should be utilized with the use of this template. Since Wikipedia articles typically are in the domain of one or more WikiProjects, and since WikiProjects often have a portal, almost every article should list at least one portal. None of the parameters should be capitalized.

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 the historical "books", that part of the template will not appear on the page.

Parameter meanings (quick list). Alphabetical order: b: Wikibooks. commons: WikiMedia Commons. d: Wikidata. n: Wikinews. q: Wikiquote. s: Wikisource. species: Wikispecies. v: Wikiversity. voy: Wikivoyage. wikt: Wiktionary.


 * All parameters, horizontal. Parameters in order they show up in subject bar.


 * All parameters, horizontal. In alphabetical order. Except for  and  . Those 2 are often removed.


 * All parameters, vertical. In alphabetical order. Except for  and  . Those 2 are often removed.

Parameters explained

 * b : Setting any value for this parameter will result in a link to Wikibooks
 * b-search : To replace the default (article name) search string
 * commons : Setting any value for this parameter will result in a link to WikiMedia Commons
 * commons-search : To replace the default (article name) search string
 * To search by category, start with


 * d : Setting any value for this parameter will result in a link to Wikidata
 * d-search : To replace the default (article name) search string
 * n : Setting any value for this parameter will result in a link to Wikinews
 * n-search : To replace the default (article name) search string
 * q : Setting any value for this parameter will result in a link to Wikiquote
 * q-search : To replace the default (article name) search string


 * s : Setting any value for this parameter will result in a link to Wikisource
 * s-search : To replace the default (article name) search string
 * To search by author, start with


 * species : Setting any value for this parameter will result in a link to Wikispecies
 * species-search : To replace the default (article name) search string
 * v : Setting any value for this parameter will result in a link to Wikiversity
 * v-search : To replace the default (article name) search string
 * voy : Setting any value for this parameter will result in a link to Wikivoyage
 * voy-search : To replace the default (article name) search string
 * wikt : Setting any value for this parameter will result in a link to Wiktionary
 * wikt-search : To replace the default (article name) search string

Other parameters

 * portal : Use   where ### is any number to link to a portal
 * spoken : To provide a link to the spoken Wikipedia, provide the name of the sound file, omitting the  prefix
 * auto : set 1 to use Wikidata to find sister links
 * display : set the display string on the sister links bar

Note: positional arguments are interpreted as portals, will be appended after any named portal arguments.

Examples
Example. Simplest.

All set to "y". In order of use. Portal and spoken removed. Try this first. It will use the article name for all the sister links. Test them all, and adjust as necessary by adding other search terms. Quotes can be placed around search terms to require search results to include the complete phrase.
 * Markup

Example page: Lemur
 * Markup


 * Result

Example page: Ring-tailed lemur
 * Markup


 * Result

Portal bar
Portal bar may be better since portals are internal links. Portal bars are narrower too, and so they use less space. An example: