Template:Sister project/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>A1Cafel
No edit summary
meta>Matt Fitzpatrick
(add image links, cleanup header levels and dl pseudobold)
Line 5: Line 5:
This is a meta-template used for creating interwiki links 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 links 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.


=== Usage ===
== Usage ==


*{{para|text}} – text of the message
*{{para|text}} – text of the message
Line 12: Line 12:
*{{para|position}} &ndash; set to <tt>left</tt> for a left-floating box or, ideally, pass through with {{nowrap|<tt><nowiki>|position={{{position|}}}</nowiki></tt>}} to let this be set on a per-page basis.  
*{{para|position}} &ndash; set to <tt>left</tt> for a left-floating box or, ideally, pass through with {{nowrap|<tt><nowiki>|position={{{position|}}}</nowiki></tt>}} to let this be set on a per-page basis.  


;Example
'''Example'''
<pre>
<pre>
{{sister project
{{sister project
Line 28: Line 28:
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 [[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>. -->


===Template data===
==Template data==
{{TemplateDataHeader}}
{{TemplateDataHeader}}
<templatedata>{
<templatedata>{
Line 59: Line 59:
}}</templatedata>
}}</templatedata>


=== See also ===
==Images used==
This template potentially displays the following images.
* [[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:Wikibooks-logo-en-noslogan.svg|27x27px|link=|alt=]] [[:File:Wikibooks-logo-en-noslogan.svg|Wikibooks logo]] <code>wikibooks</code>, <code>wbk</code>, <code>wb</code>, or <code>b</code>
* [[File:Wikidata-logo.svg|27x27px|link=|alt=]] [[:File:Wikidata-logo.svg|Wikidata logo]] <code>wikidata</code> or <code>data</code>
* [[File:Wikiquote-logo.svg|27x27px|link=|alt=]] [[:File:Wikiquote-logo.svg|Wikiquote logo]] <code>wikiquote</code>, <code>quote</code>, <code>wqt</code>, or <code>q</code>
* [[File:Wikipedia-logo-v2.svg|27x27px|link=|alt=]] [[:File:Wikipedia-logo-v2.svg|Wikipedia logo]] <code>wikipedia</code>, <code>wp</code>, or <code>w</code>
* [[File:Wikisource-logo.svg|27x27px|link=|alt=]] [[:File:Wikisource-logo.svg|Wikisource logo]] <code>wikisource</code>, <code>source</code>, <code>ws</code>, or <code>s</code>
* [[File:Wiktionary-logo-v2.svg|27x27px|link=|alt=]] [[:File:Wiktionary-logo-v2.svg|Wiktionary logo]] <code>wiktionary</code>, <code>wkt</code>, <code>wdy</code>, or <code>d</code>
* [[File:Wikinews-logo.svg|27x27px|link=|alt=]] [[:File:Wikinews-logo.svg|Wikinews logo]] <code>wikinews</code>, <code>news</code>, <code>wnw</code>, or <code>n</code>
* [[File:Wikispecies-logo.svg|27x27px|link=|alt=]] [[:File:Wikispecies-logo.svg|Wikispecies logo]] <code>wikispecies</code> or <code>species</code>
* [[File:Wikiversity-logo.svg|27x27px|link=|alt=]] [[:File:Wikiversity-logo.svg|Wikiversity logo]] <code>wikiversity</code>, <code>wvy</code>, or <code>v</code>
* [[File:Wikivoyage-Logo-v3-icon.svg|27x27px|link=|alt=]] [[:File:Wikivoyage-Logo-v3-icon.svg|Wikivoyage logo]] <code>wikivoyage</code>, <code>voyage</code>, or <code>voy</code>
* [[File:Mediawiki.png|27x27px|link=|alt=]] [[:File:Mediawiki.png|MediaWiki logo]] <code>mediawiki</code> or <code>mw</code>
* [[File:Wikimedia Outreach.png|27x27px|link=|alt=]] [[:File:Wikimedia Outreach.png|Wikimedia Outreach logo]] <code>outreachwiki</code> or <code>outreach</code>
* [[File:Incubator-notext.svg|27x27px|link=|alt=]] [[:File:Incubator-notext.svg|Wikimedia Incubator logo]] <code>incubator</code>
* [[File:Wikimedia-logo.svg|27x27px|link=|alt=]] [[:File:Wikimedia-logo.svg|Wikimedia logo]] default
 
== See also ==


* {{tl|sister-inline}}, compatible template for inline use with preceding bullets or indentation
* {{tl|sister-inline}}, compatible template for inline use with preceding bullets or indentation

Revision as of 04:05, 30 April 2017

This is a meta-template used for creating interwiki links 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

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for this template in articles based on this TemplateData.

TemplateData for Sister project

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

Template parameters

ParameterDescriptionTypeStatus
Projectproject

The project to link to e.g. commons, meta, wikibooks, wikidata, 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.

See also