ഫലകം:Sister project links
This template is used on approximately 10,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template uses Lua: |
The {{Sister project links}} template provides links corresponding pages on various Wikimedia sister projects. The following pages are sought, in order:
- An explicit page chosen by an editor (if provided)
- A sitelink in Wikidata (if exists)
- A search page on the sister project
Sending a reader to a search page can be an unpleasant experience, if there is no corresponding page for that subject. Editors have a choice between two methods to prevent this negative experience:
- Manually check each project for a relevant page, if missing, then set argument to "no" (e.g.,
|wikt=n
) - Use "automatic mode", which only displays a sister project by default if sitelink exists (e.g.,
|auto=yes
)
Note that {{Sister project auto}} is equivalent to {{Sister project links|auto=yes}}
.
Parameters
[തിരുത്തുക]{{Sister project links <!-- Configuration parameters. Do not leave empty; populate, or remove --> |1= |auto= |collapsible= |display= |position= |style= <!-- Projects that default to "yes" when auto=no --> |b= |c= |n= |q= |s= |v= |wikt= <!-- Projects that default to "no" when auto=no --> |d= |m= |mw= |species= |species_author= |voy= |author= <!-- force search for author name in wikisource --> |commonscat= <!-- force link to commons category --> }} All parameters: {{Sister project links |1= |author= |auto= |b= |c= |collapsible= |commonscat= |d= |display= |m= |mw= |n= |position= |q= |qid= |s= |species= |species_author= |style= |v= |voy= |wikt= }}
Default display
[തിരുത്തുക]For any project parameter, there are four acceptable values:
- "yes" means find a reasonable link for the sister project (wikidata, or default back to search)
- "no" means exclude this sister project: no link
- a string means link to the page with whose name is that string
- blank or missing means use the default
- If
|auto=yes
, default is either use wikidata (if present), or drop the link - If
|auto=no
, if project is in the "yes" list above, either use wikidata or search. Otherwise drop the link.
- If
TemplateData
[തിരുത്തുക]TemplateData for Sister project links
Displays a terminal window with a set of commands. If the titles in the individual sister projects differ, use the following parameters, which are taken from [[Help:Interwiki linking]].
ചരം | വിവരണം | തരം | സ്ഥിതി | |
---|---|---|---|---|
Search Parameter | 1 | Use if the ''search parameter'' differs from the pagename. | പദം | ഐച്ഛികം |
Use wikidata to fill defaults | auto | If auto="yes", then sister projects with wikidata sitelinks are filled-in, others are off by default. Each project can be overridden with its own parameter. | പദം | ഐച്ഛികം |
Collapsible? | collapsible | Set to "yes" to make the template collapsible. Set to "collapsed" to make the template collapsible and initially collapsed. | പദം | ഐച്ഛികം |
Display name | display | Use if the ''display name'' is different from the search term. For example, the bear article would be 'Bears'. | പദം | ഐച്ഛികം |
Wiktionary link | wikt | Wiktionary link to show. Acceptable values are a page name, "yes", and "no". The default is "Yes" (find page automatically).
| പദം | ഐച്ഛികം |
Commons link | c commons | Commons link to show. Acceptable values are a page name, "yes" and "no". The default is "Yes" (find page automatically).
| പദം | ഐച്ഛികം |
Commons category? | commonscat | Specifies whether a link to a category on Wikimedia Commons is shown. Can be "yes" or "no". The default is "No".
| പദം | ഐച്ഛികം |
Wikinews link | n | Wikinews link to show. Acceptable values are a page name, "yes" and "no". The default is "Yes" (find page automatically).
| പദം | ഐച്ഛികം |
Wikiquote link | q | Wikiquote link to show. Acceptable values are a page name, "yes" and "no". The default is "Yes" (find page automatically).
| പദം | ഐച്ഛികം |
Wikisource link | s | Wikisource link to show. Acceptable values are a page name, "yes" and "no". The default is "Yes" (find page automatically).
| പദം | ഐച്ഛികം |
Wikisource author? | author | Use for articles about authors to force the Wikisource links to include the "Author:" prefix. Can be set to "yes" or "no". The default is "No".
| പദം | ഐച്ഛികം |
Wikibooks link | b | Wikibooks link to show. Acceptable values are a page name, "yes" and "no". The default is "Yes" (find page automatically).
| പദം | ഐച്ഛികം |
Wikivoyage link | voy | Wikivoyage link to show. Acceptable values are a page name, "yes" (find page automatically), and "no". The default is "No".
| പദം | ഐച്ഛികം |
Wikiversity link | v | Wikiversity link to show. Acceptable values are a page name, "yes", and "no". The default is "Yes" (find page automatically).
| പദം | ഐച്ഛികം |
Wikidata link | d | Wikidata link to show. Acceptable values are a QID, "yes" (find page automatically), and "no". The default is "No".
| പദം | ഐച്ഛികം |
Wikispecies taxon link | species | Wikispecies link to show. Acceptable values are a page name, "yes" (find page automatically), and "no". The default is "No".
| പദം | ഐച്ഛികം |
Wikispecies author link | species_author | Wikispecies author link to show. Acceptable values are a page name, "yes"(find page automatically), and "no". The default is "No".
| പദം | ഐച്ഛികം |
Meta link | m | Meta link to show. Acceptable values are a page name, "yes" (find page automatically), and "no". The default is "No".
| പദം | ഐച്ഛികം |
MediaWiki link | mw | MediaWiki link to show. Acceptable values are a page name, "yes" (find page automatically) and "no". The default is "No".
| പദം | ഐച്ഛികം |
Position | position | Specifies whether the box floats to the left or right. The only acceptable value is "left" which causes the box to float to the left. Any other value (not specifying this parameter) activates the default. (Float to the right.) | പദം | ഐച്ഛികം |
CSS style | style | Optional CSS style specifications. Use with caution. (And don't use for evil!) | പദം | ഐച്ഛികം |
Location
[തിരുത്തുക]Generally:
- Do not place this template in a section all by itself.
- Do not place this template in a section containing columns.
Specifically:
- In articles, this template should normally be placed at the top of the External links section, if it exists. Otherwise, place this template at the top of the last section in the article.
- See Wikipedia:Wikimedia sister projects#Where to place links for more information and alternatives.
- In disambiguation pages, this template should be listed above other text, but below any cleanup templates, images, infoboxes or navboxes.
Tracking categories
[തിരുത്തുക]- Category:Pages using Sister project links with unknown parameters (0)
- Category:Pages using Sister project links with default search (0)
- Category:Pages using Sister project links with hidden wikidata (0)
- Category:Pages using Sister project links with wikidata namespace mismatch (0)
- Category:Pages using Sister project links with wikidata mismatch (0)
- Category:Pages with empty sister project links (0)
Images used
[തിരുത്തുക]This template potentially displays the following images:
- Wiktionary logo
wikt
- Wikimedia Commons logo
c
orcommons
- Wikinews logo
n
- Wikiquote logo
q
- Wikisource logo
s
- Wikibooks logo
b
- Wikivoyage logo
voy
- Wikiversity logo
v
- Wikidata logo
d
- Wikispecies logo
species
orspecies_author
- Meta-Wiki logo
m
- MediaWiki logo
mw
See also
[തിരുത്തുക]- Template:Commons
- Template:Cross-wiki user
- Template:Sister project
- Template:Sister bar – a horizontal version
- Template:Subject bar – a horizontal version that includes optional portals
- Help:Interwiki linking
- Wikipedia:Template index/Sister projects
- Wikipedia:Wikimedia sister projects
മുകളിൽ കാണുന്ന വിവരണം ഫലകം:Sister project links/doc എന്ന ഉപതാളിൽ നിന്ന് ഉൾപ്പെടുത്തിയിട്ടുള്ളതാണ്. (തിരുത്തുക | നാൾവഴി) താങ്കൾക്ക് പരീക്ഷണങ്ങൾ ഫലകത്തിന്റെ എഴുത്തുകളരി (നിർമ്മിക്കുക) താളിലോ testcases (നിർമ്മിക്കുക) താളിലോ നടത്താവുന്നതാണ്. ദയവായി വർഗ്ഗങ്ങളും ബഹുഭാഷാകണ്ണികളും /വിവരണം ഉപതാളിൽ മാത്രം ഇടുക. ഈ ഫലകത്തിന്റെ ഉപതാളുകൾ. |