Template:Sister project

From WikiAlpha
Jump to: navigation, search
The below content was derived from the Wikipedia page Template:Sister project, with the list of authors located at the revision history page, and is licensed according to the Creative Commons Attribution-ShareAlike 3.0 Unported License contrary to the public domain logo at the foot of the page.
[edit] [purge] Template documentation

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 documentation for this template used by VisualEditor and other tools.

See the monthly error report for this template.

TemplateData for Sister project

<templatedata>{ "description": "Creates a small box with a links to an article on a sister projects of wikipedia.", "params": {

 "project": {
   "label": "Project",
   "description": "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.",
   "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>

See also