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.

TemplateData തിരുത്തുക

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Sister project links in articles based on its 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 Parameter1

Use if the ''search parameter'' differs from the pagename.

പദംഐച്ഛികം
Use wikidata to fill defaultsauto

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 namedisplay

Use if the ''display name'' is different from the search term. For example, the bear article would be 'Bears'.

പദംഐച്ഛികം
Wiktionary linkwikt

Wiktionary link to show. Acceptable values are a page name, "yes", and "no". The default is "Yes" (find page automatically).

സ്വതേ
Yes
പദംഐച്ഛികം
Commons linkc commons

Commons link to show. Acceptable values are a page name, "yes" and "no". The default is "Yes" (find page automatically).

സ്വതേ
Yes
പദംഐച്ഛികം
Commons category?commonscat

Specifies whether a link to a category on Wikimedia Commons is shown. Can be "yes" or "no". The default is "No".

സ്വതേ
No
പദംഐച്ഛികം
Wikinews linkn

Wikinews link to show. Acceptable values are a page name, "yes" and "no". The default is "Yes" (find page automatically).

സ്വതേ
Yes
പദംഐച്ഛികം
Wikiquote linkq

Wikiquote link to show. Acceptable values are a page name, "yes" and "no". The default is "Yes" (find page automatically).

സ്വതേ
Yes
പദംഐച്ഛികം
Wikisource links

Wikisource link to show. Acceptable values are a page name, "yes" and "no". The default is "Yes" (find page automatically).

സ്വതേ
Yes
പദംഐച്ഛികം
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".

സ്വതേ
No
പദംഐച്ഛികം
Wikibooks linkb

Wikibooks link to show. Acceptable values are a page name, "yes" and "no". The default is "Yes" (find page automatically).

സ്വതേ
Yes
പദംഐച്ഛികം
Wikivoyage linkvoy

Wikivoyage link to show. Acceptable values are a page name, "yes" (find page automatically), and "no". The default is "No".

സ്വതേ
No
പദംഐച്ഛികം
Wikiversity linkv

Wikiversity link to show. Acceptable values are a page name, "yes", and "no". The default is "Yes" (find page automatically).

സ്വതേ
Yes
പദംഐച്ഛികം
Wikidata linkd

Wikidata link to show. Acceptable values are a QID, "yes" (find page automatically), and "no". The default is "No".

സ്വതേ
No
പദംഐച്ഛികം
Wikispecies taxon linkspecies

Wikispecies link to show. Acceptable values are a page name, "yes" (find page automatically), and "no". The default is "No".

സ്വതേ
No
പദംഐച്ഛികം
Wikispecies author linkspecies_author

Wikispecies author link to show. Acceptable values are a page name, "yes"(find page automatically), and "no". The default is "No".

സ്വതേ
No
പദംഐച്ഛികം
Meta linkm

Meta link to show. Acceptable values are a page name, "yes" (find page automatically), and "no". The default is "No".

സ്വതേ
No
പദംഐച്ഛികം
MediaWiki linkmw

MediaWiki link to show. Acceptable values are a page name, "yes" (find page automatically) and "no". The default is "No".

സ്വതേ
No
പദംഐച്ഛികം
Positionposition

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 stylestyle

Optional CSS style specifications. Use with caution. (And don't use for evil!)

പദംഐച്ഛികം

Location തിരുത്തുക

If using a large, graphical template produces odd layout problems, like the excessive white space shown on the right of this screenshot, then switch to a different sister template.

Generally:

☒N Do not place this template in a section all by itself.
☒N Do not place this template in a section containing columns.

Specifically:

Tracking categories തിരുത്തുക

Images used തിരുത്തുക

This template potentially displays the following images:

Wiktionary logo wikt
Wikimedia Commons logo c or commons
Wikinews logo n
Wikiquote logo q
Wikisource logo s
Wikibooks logo b
Wikivoyage logo voy
Wikiversity logo v
Wikidata logo d
Wikispecies logo species or species_author
Meta-Wiki logo m
MediaWiki logo mw

See also തിരുത്തുക


"https://ml.wikipedia.org/w/index.php?title=ഫലകം:Sister_project_links/doc&oldid=3712027" എന്ന താളിൽനിന്ന് ശേഖരിച്ചത്