Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Sister project/doc: Difference between revisions

Template page
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 2: Line 2:
{{Documentation subpage}}
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE -->
<!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE -->
{{High-risk}}
{{Lua|Module:Side box}}
{{Lua|Module:Side box}}
{{Uses TemplateStyles|Template:Sister project/styles.css}}
{{Uses TemplateStyles|Template:Sister project/styles.css}}
This is a '''meta-template''' used for creating [[#Other Templates using this template|interwiki link boxes]] to other [[Wikipedia:Wikimedia sister projects|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.
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==
==Usage==
Line 23: Line 22:
{{Sister project
{{Sister project
|project=commons
|project=commons
|text=[[Wikimedia Commons]] has media related to: '''''[[Commons:{{{1|Special:Search/{{PAGENAME}}}}}|{{{2|{{{1|{{PAGENAME}}}}}}}}]]''''' }}
|text=Wikimedia Commons has media related to: '''''Commons:{{{1|Special:Search/{{PAGENAME}}}}}|{{{2|{{{1|{{PAGENAME}}}}}}}}''''' }}


===Location===
===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 [[WP:EL|external links]].  If no such section exists, then please place it at the top of the last section in <nowiki>the article</nowiki>.  
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 <nowiki>the article</nowiki>.  


On [[WP:DAB|disambiguation pages]], this template should be listed above other text, but below any cleanup templates, images, infoboxes or navboxes.<!-- Per WP:ACCESS, cleanup templates, images, infoboxes, and navboxes are always<nowiki> first</nowiki>. -->
On disambiguation pages, this template should be listed above other text, but below any cleanup templates, images, infoboxes or navboxes.<!-- Per WP:ACCESS, cleanup templates, images, infoboxes, and navboxes are always<nowiki> first</nowiki>. -->


==Template data==
==Template data==
Line 60: Line 59:
}}</templatedata>
}}</templatedata>


==Other templates using this template==
<!-- the sequence of projects is the same as in [[Template:Sister project links]] Box -->
<div style="display: flex; flex-wrap: wrap">
{{Wiktionary}}
{{Commons}}
{{Wikinews}}
{{Wikiquote}}
{{Wikisourcecat}}
{{Wikibooks}}
{{Wikivoyage}}
{{Wikiversity}}
{{Wikispecies}}
{{Wikidata property}}
{{Meta}}
{{MediaWiki}}
{{Incubator|en}}
{{Wikifunctions|Template:Main page#sister}}<!-- no actual "sister project" function -->
</div>
{{div col |colwidth=15em}}
* {{tl|Wiktionary}}
* {{tl|Commons}}
* {{tl|Wikinews}}
* {{tl|Wikiquote}}
* {{tl|Wikisourcecat}}
* {{tl|Wikibooks}}
* {{tl|Wikivoyage}}
* {{tl|Wikiversity}}
* {{tl|Wikispecies}}
* {{tl|Wikidata property}}
* {{tl|Meta}}
* {{tl|MediaWiki}}
* {{tl|Incubator}}
* {{tl|Wikifunctions}}
{{div col end}}


==Images used==
==Images used==
This template potentially displays the following images.
This template potentially displays the following images.
{{div col}}
* [[File:Commons-logo.svg|27x27px|link=|alt=]] [[:File:Commons-logo.svg|Wikimedia Commons logo]] <code>commons</code>
* [[File:Commons-logo.svg|27x27px|link=|alt=]] [[:File:Commons-logo.svg|Wikimedia Commons logo]] <code>commons</code>
* [[File:Wikimedia Community Logo.svg|27x27px|link=|alt=]] [[:File:Wikimedia Community Logo.svg|Meta-Wiki logo]] <code>meta</code>, <code>metawiki</code>, or <code>m</code>
* [[File:Wikimedia Community Logo.svg|27x27px|link=|alt=]] [[:File:Wikimedia Community Logo.svg|Meta-Wiki logo]] <code>meta</code>, <code>metawiki</code>, or <code>m</code>
Line 115: Line 79:
* [[File:Wikimedia-logo.svg|27x27px|link=|alt=]] [[:File:Wikimedia-logo.svg|Wikimedia logo]] default
* [[File:Wikimedia-logo.svg|27x27px|link=|alt=]] [[:File:Wikimedia-logo.svg|Wikimedia logo]] default
* [[File:Wikifunctions-logo.svg|27x27px|link=|alt=]] [[:File:Wikifunctions-logo.svg|Wikifunctions logo]] <code>wikifunctions</code> or <code>f</code>
* [[File:Wikifunctions-logo.svg|27x27px|link=|alt=]] [[:File:Wikifunctions-logo.svg|Wikifunctions logo]] <code>wikifunctions</code> or <code>f</code>
{{div col end}}


==See also==
* {{tl|Sister-inline}}, compatible template for inline use with preceding bullets or indentation
* {{tl|Sister project links}}
* {{tl|Wikipedia's sister projects}}
* {{tl|Side box}}, the meta-template used for floated side boxes like {{tl|sister project}}
* {{tl|Subject bar}}, a comprehensive horizontal template


<includeonly>{{Sandbox other||
<includeonly>{{Sandbox other||
[[Category:Interwiki link sidebar templates| ]]
[[Category:Interwiki link sidebar templates| ]]
}}</includeonly>
}}</includeonly>

Latest revision as of 08:06, 14 April 2025

This page uses Creative Commons Licensed content from Wikipedia (view authors).

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

  • |text= – text of the message
  • |project= – the sister project to link to. Used to select which project logo is displayed.
  • |below= – optional text to display in a full-width row below the main content. Use sparingly
  • |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

{{Sister project
|project=commons
|text=[[Wikimedia Commons]] has media related to: '''''[[Commons:{{{1|Special:Search/{{PAGENAME}}}}}|{{{2|{{{1|{{PAGENAME}}}}}}}}]]'''''
}}

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

Creates a small box with a links to an article on a sister project of wikipedia.

Template parameters

ParameterDescriptionTypeStatus
Projectproject

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.

Stringrequired
Texttext

Text of the message e.g. [[Wikimedia Commons]] has media related to: '''''[[Commons:Alcatraz]]'''''

Stringrequired
Belowbelow

Optional text to display in a full-width row below the main content. Use sparingly.

Stringoptional
Positionposition

Position to display the box: 'left' floats the box to the left rather than the default, which is on the right.

Stringoptional


Images used

This template potentially displays the following images.