සැකිල්ල:විෂයය තීරුව
මෙම සැකිල්ල ලුවා භාවිතා කරයි: |
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.
{{Subject bar|commons = y|species = y|voy = y|n = y|wikt = y|b = y|q = y|s = y|v = y|d = y|portal = }}
- All parameters, horizontal. In alphabetical order, except for
portal
which is often removed. {{Subject bar|b = |commons = |d = |n = |q = |s = |species = |v = |voy = |wikt = |portal = }}
- All parameters, vertical. In alphabetical order, except for
portal
which is often removed.
{{විෂයය තීරුව
|b =
|commons =
|d =
|n =
|q =
|s =
|species =
|v =
|voy =
|wikt =
|portal =
}}
Parameters explained
[සංස්කරණය]- b
- Wikibooks page to link to, "yes" means use wikidata to search for page
- commons
- WikiMedia Commons page (or Category:) to link to, "yes" means use wikidata to search for page
- d
- Wikidata page to link to, "yes" means use wikidata to search for page
- n
- Wikinews page to link to, "yes" means use wikidata to search for page
- q
- Wikiquote page to link to, "yes" means use wikidata to search for page
- s
- Wikisource page (or Author:) to link to, "yes" means use wikidata to search for page
- species
- Wikispecies page to link to, "yes" means use wikidata to search for page
- v
- Wikiversity page to link to, "yes" means use wikidata to search for page
- voy
- Wikivoyage page to link to, "yes" means use wikidata to search for page
- wikt
- Wiktionary page to link to, "yes" means use wikidata to search for page
Other parameters
[සංස්කරණය]- portal
- Use
portal###
where ### is any number to link to a portal - auto
- set
|auto=1
to use Wikidata to find sister links - search
- override default search string (= title of page)
- display
- set the display string on the sister links bar
- commonscat
- link to Commons category instead of gallery
- author
- link to Species author instead of taxon
Note: positional arguments are interpreted as portals, will be appended after any named portal arguments.
Examples
[සංස්කරණය]Example: Simplest case.
auto=1: Try this first to look up sister project links in Wikidata.
- Markup
{{Subject bar|auto=1}}
- Result (if used on Lemur)
Example page: Lemur
- Markup
{{Subject bar|commons= Category:Lemuriformes|species = Lemuriformes|portal1 = Primates|portal2 = Madagascar}}
- Result
Example page: Ring-tailed lemur
- Markup
{{Subject bar|portal1 = Primates|portal2 = Madagascar|commons = Category:Lemur catta |species = Lemur catta|n = Ring-tailed lemur|wikt = Lemur|b = Ring-tailed lemur|q = Ring-tailed lemur|s = Ring-tailed lemur|v = Ring-tailed lemur|voy = Madagascar}}
- Result
Portal bar
[සංස්කරණය]{{Portal bar}} is a subset of {{Subject bar}}, where only positional arguments are allowed. For example:
- Markup
{{Portal bar|COVID-19|Medicine|Viruses}}
- Result
See also
[සංස්කරණය]- Wikipedia:Template messages/Sister projects
- {{Commons}}
- {{Commons category}}
- {{Commons category multi}}
- {{Commons and category}}
- {{Commons-inline}}
- {{Commons category-inline}}
- {{Portal}}
- {{Portal bar}}
- {{Sister project links}}
- {{Sister bar}}
- {{Cross-wiki user}}
TemplateData
[සංස්කරණය]TemplateData documentation used by VisualEditor and other tools
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Click here to see a monthly parameter usage report for this template based on this TemplateData.
TemplateData for විෂයය තීරුව This template adds a bar of portals and sister links. It is usually used just above an article's navboxes.
|