Template:Sister project
{{#ifeq:sister project |doc
|
{{#ifeq:show |show
|| icon | This is a documentation subpage for Template:Terminate sentence It may contain usage information, categories and other content that is not part of the original {{#if: |{{{text2}}} |{{#if: |{{{text1}}} |{{#ifeq:Template |User |template template page |{{#if:Template |template page|article}}}}}}}}. |
}}{{#if:|
|{{#ifexist:Template:Sister project
| [[Category:{{#switch:Template |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]]
|
}}
}}
|
}}
| Warning | This template is used on approximately 1,120,000 pages, or roughly 80692% of all pages. To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. |
| File:Lua-Logo.svg | This template uses Lua: |
Lua error in Module:TNT at line 159: Missing JsonConfig extension; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Uses TemplateStyles.tab. This is a meta-template used for creating interwiki link boxes to other sister projects of Wikipedia. Note that links to other language Wikipedias should not use links in this form, instead use interwiki links to add them to the sidebar.
Usage
|{{SAFESUBST:#if:text|text=}}– text of the message|{{SAFESUBST:#if:project|project=}}– the sister project to link to. Used to select which project logo is displayed.|{{SAFESUBST:#if:below|below=}}– optional text to display in a full-width row below the main content. Use sparingly|{{SAFESUBST:#if:position|position=}}– set to left for a left-floating box or, ideally, pass through with |position={{{position|}}} to let this be set on a per-page basis.
Example <syntaxhighlight lang="wikitext">
</syntaxhighlight>
Location
This template should normally be placed at the top of the External links section at the end of an article, if the article has a section for external links. If no such section exists, then please place it at the top of the last section in the article.
On disambiguation pages, this template should be listed above other text, but below any cleanup templates, images, infoboxes or navboxes.
Template data
|=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=%7B%7B%23if%3ASister+project%7CSister+project%7CSister+project%7D%7D {{#ifeq:{{safesubst:#switch: {{{lc}}} |no |n |f |false |off |0 = no | = no |¬ = no |yes |y |t |true |on |1 = yes |#default = no
}}|no|S|s}}ee a monthly parameter usage report] for {{#if:Sister project|Template:Sister project|this template}} in articles{{#ifeq:{{safesubst:#switch: y
|no |n |f |false |off |0 = no | = no |¬ = no |yes |y |t |true |on |1 = yes |#default = no
}}|yes| based on {{#if:Sister project|its|this}} TemplateData}}.
|None|none=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=%7B%7B%23if%3ASister+project%7CSister+project%7CSister+project%7D%7D {{#ifeq:{{safesubst:#switch: {{{lc}}} |no |n |f |false |off |0 = no | = no |¬ = no |yes |y |t |true |on |1 = yes |#default = no
}}|no|P|p}}arameter usage report]{{#ifeq:{{safesubst:#switch: y
|no |n |f |false |off |0 = no | = no |¬ = no |yes |y |t |true |on |1 = yes |#default = no
}}|yes| based on {{#if:Sister project|its|this}} TemplateData}}
|for|For=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=%7B%7B%23if%3ASister+project%7CSister+project%7CSister+project%7D%7D {{#ifeq:{{safesubst:#switch: {{{lc}}} |no |n |f |false |off |0 = no | = no |¬ = no |yes |y |t |true |on |1 = yes |#default = no
}}|no|P|p}}arameter usage report] for {{#if:Sister project|Template:Sister project|Template:Sister project}}{{#ifeq:{{safesubst:#switch: y
|no |n |f |false |off |0 = no | = no |¬ = no |yes |y |t |true |on |1 = yes |#default = no
}}|yes| based on {{#if:Sister project|its|this}} TemplateData}}.
|#default=[1]{{#ifeq:{{safesubst:#switch: y |no |n |f |false |off |0 = no | = no |¬ = no |yes |y |t |true |on |1 = yes |#default = no
}}|yes| based on {{#if:Sister project|its|this}} TemplateData}} }}|This is the {{#if:|TemplateData|TemplateData}} for this template used by TemplateWizard, VisualEditor and other tools. {{#switch:
|=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=%7B%7B%23if%3ASister+project%7CSister+project%7CSister+project%7D%7D {{#ifeq:{{safesubst:#switch: {{{lc}}} |no |n |f |false |off |0 = no | = no |¬ = no |yes |y |t |true |on |1 = yes |#default = no
}}|no|S|s}}ee a monthly parameter usage report] for {{#if:Sister project|Template:Sister project|this template}} in articles{{#ifeq:{{safesubst:#switch: y
|no |n |f |false |off |0 = no | = no |¬ = no |yes |y |t |true |on |1 = yes |#default = no
}}|yes| based on {{#if:Sister project|its|this}} TemplateData}}.
|None|none=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=%7B%7B%23if%3ASister+project%7CSister+project%7CSister+project%7D%7D {{#ifeq:{{safesubst:#switch: {{{lc}}} |no |n |f |false |off |0 = no | = no |¬ = no |yes |y |t |true |on |1 = yes |#default = no
}}|no|P|p}}arameter usage report]{{#ifeq:{{safesubst:#switch: y
|no |n |f |false |off |0 = no | = no |¬ = no |yes |y |t |true |on |1 = yes |#default = no
}}|yes| based on {{#if:Sister project|its|this}} TemplateData}}
|for|For=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=%7B%7B%23if%3ASister+project%7CSister+project%7CSister+project%7D%7D {{#ifeq:{{safesubst:#switch: {{{lc}}} |no |n |f |false |off |0 = no | = no |¬ = no |yes |y |t |true |on |1 = yes |#default = no
}}|no|P|p}}arameter usage report] for {{#if:Sister project|Template:Sister project|Template:Sister project}}{{#ifeq:{{safesubst:#switch: y
|no |n |f |false |off |0 = no | = no |¬ = no |yes |y |t |true |on |1 = yes |#default = no
}}|yes| based on {{#if:Sister project|its|this}} TemplateData}}.
|#default=[2]{{#ifeq:{{safesubst:#switch: y |no |n |f |false |off |0 = no | = no |¬ = no |yes |y |t |true |on |1 = yes |#default = no
}}|yes| based on {{#if:Sister project|its|this}} TemplateData}} }}}}
TemplateData for Sister project
{{#if:
| {{{demospace}}}
| {{#ifeq:Template|Template
| template
| other
}}
}}
| template = {{safesubst:#if:{{safesubst:#ifeq:Sister |sandbox|1}}{{safesubst:#ifeq:Sister project|doc|1}}||
}} | other | #default = }} <templatedata>{ "description": "Creates a small box with a links to an article on a sister project of wikipedia.", "params": {
"project": {
"label": "Project",
"description": "The project to link to e.g. commons, meta, wikibooks, wikidata, wikifunctions, wikiquote, wikipedia, wikisource, wiktionary, wikinews, wikispecies, wikiversity, wikivoyage, mediawiki, outreachwiki, or incubator. The default displays the Wikimedia logo.",
"type": "string",
"required": true
},
"text": {
"label": "Text",
"description": "Text of the message e.g. Wikimedia Commons has media related to: Commons:Alcatraz",
"type": "string",
"required": true
},
"below": {
"label": "Below",
"description": "Optional text to display in a full-width row below the main content. Use sparingly.",
"type": "string",
"required": false
},
"position": {
"label": "Position",
"description": "Position to display the box: 'left' floats the box to the left rather than the default, which is on the right.",
"type": "string",
"required": false
}
}}</templatedata>
Other templates using this template
|{{#if:
|,
| or
}} [[wiktionary:{{{2}}}|{{{2}}}]]
}}{{#if:
|{{#if:
|,
|, or
}} [[wiktionary:{{{3}}}|{{{3}}}]]
}}{{#if:
|{{#if:
|,
|, or
}} [[wiktionary:{{{4}}}|{{{4}}}]]
}}{{#if:
|{{#if:
|,
|, or
}} [[wiktionary:{{{5}}}|{{{5}}}]]
}}{{#if:
|{{#if:
|,
|, or
}} [[wiktionary:{{{6}}}|{{{6}}}]]
}}{{#if:
|{{#if:
|,
|, or
}} [[wiktionary:{{{7}}}|{{{7}}}]]
}}{{#if:
|{{#if:
|,
|, or
}} [[wiktionary:{{{8}}}|{{{8}}}]]
}}{{#if:
|{{#if:
|,
|, or
}} [[wiktionary:{{{9}}}|{{{9}}}]]
}}{{#if:
|, or [[wiktionary:{{{10}}}|{{{10}}}]]
}} in Wiktionary, the free dictionary.- Sister project
- {{#if:|[[wikinews:{{{2}}}|{{{2}}}]]}}
- {{#if:|[[wikinews:{{{3}}}|{{{3}}}]]}}
- {{#if:|[[wikinews:{{{4}}}|{{{4}}}]]}}
- {{#if:|[[wikinews:{{{5}}}|{{{5}}}]]}}
- {{#if:|[[wikinews:{{{6}}}|{{{6}}}]]}}
- {{#if:|[[wikinews:{{{7}}}|{{{7}}}]]}}
- {{#if:|[[wikinews:{{{8}}}|{{{8}}}]]}}
- {{#if:|[[wikinews:{{{9}}}|{{{9}}}]]}}
| [[wikibooks:{{#if:x| {{safesubst:#if:1|{{{1}}} }} }}{{#if:|/{{#if:x| {{safesubst:#if:1| {{{2}}} }} }} }}|{{safesubst:#if:1|{{{3}}}}}]]
| {{#if:
| [[wikibooks:{{#if:x| {{safesubst:#if:1| {{{1}}} }} }}/{{#if:x| {{safesubst:#if:1| {{{2}}} }} }}|{{safesubst:#if:1| {{{2}}} }}]]
| {{#if:
| [[wikibooks:{{safesubst:#if:1| {{{1}}} }} |{{safesubst:#if:1| {{{1}}} }}]]
| Sister project
}}
}}
}}-
}}[[:incubator:{{#switch:|wikipedia=Wp|wiktionary=Wt|wikibooks=Wb|wikinews=Wn|wikiquote=Wq|#default=Wp}}/en|Sister project test]] of Wikipedia {{#if:| - [[:incubator:{{#switch:|wikipedia=Wp|wiktionary=Wt|wikibooks=Wb|wikinews=Wn|wikiquote=Wq|#default=Wp }}/{{{3}}}|Template:ISO 639 name test]] of Wikipedia | at Wikimedia Incubator}}{{#if:|
- [[:incubator:{{#switch:{{{6}}}|wikipedia=Wp|wiktionary=Wt|wikibooks=Wb|wikinews=Wn|wikiquote=Wq|#default=Wp}}/{{{5}}}|Template:ISO 639 name test]] of Wikipedia }}{{#if:|
- [[:incubator:{{#switch:|wikipedia=Wp|wiktionary=Wt|wikibooks=Wb|wikinews=Wn|wikiquote=Wq|#default=Wp}}/{{{7}}}|Template:ISO 639 name test]] of Wikipedia }}{{#if:|
- {{Wiktionary}}
- {{Commons}}
- {{Wikinews}}
- {{Wikiquote}}
- {{Wikisourcecat}}
- {{Wikibooks}}
- {{Wikivoyage}}
- {{Wikiversity}}
- {{Wikispecies}}
- {{Wikidata property}}
- {{Meta}}
- {{MediaWiki}}
- {{Incubator}}
- {{Wikifunctions}}
Images used
This template potentially displays the following images.
- File:Commons-logo.svg Wikimedia Commons logo
commonsorc - File:Wikimedia Community Logo.svg Meta-Wiki logo
meta,metawiki, orm - File:Wikibooks-logo.svg Wikibooks logo
wikibooks,wbk,wb, orb - File:Wikidata-logo.svg Wikidata logo
wikidataordata - File:Wikiquote-logo.svg Wikiquote logo
wikiquote,quote,wqt, orq - File:Wikipedia-logo-v2.svg Wikipedia logo
wikipedia,wp, orw - File:Wikisource-logo.svg Wikisource logo
wikisource,source,ws, ors - File:Wiktionary-logo-v2.svg Wiktionary logo
wiktionary,wkt,wdy, ord - File:Wikinews-logo.svg Wikinews logo
wikinews,news,wnw, orn - File:Wikispecies-logo.svg Wikispecies logo
wikispeciesorspecies - File:Wikiversity logo 2017.svg Wikiversity logo
wikiversity,wvy, orv - File:Wikivoyage-Logo-v3-icon.svg Wikivoyage logo
wikivoyage,voyage, orvoy - File:MediaWiki-2020-icon.svg MediaWiki logo
mediawikiormw - File:Wikimedia Outreach.png Wikimedia Outreach logo
outreachwikioroutreach - File:Incubator-notext.svg Wikimedia Incubator logo
incubator - File:Wikimedia-logo.svg Wikimedia logo default
- File:Wikifunctions-logo.svg Wikifunctions logo
wikifunctionsorf
See also
- {{Sister-inline}}, compatible template for inline use with preceding bullets or indentation
- {{Sister project links}}
- {{Wikipedia's sister projects}}
- {{Side box}}, the meta-template used for floated side boxes like {{sister project}}
- {{Subject bar}}, a comprehensive horizontal template
{{safesubst:#if:{{safesubst:#ifeq:Sister |sandbox|1}}{{safesubst:#ifeq:Sister project|doc|1}}|| }}