Template:Sister project
Revision as of 17:36, 22 September 2022 by Gwyneth Llewelyn (talk | contribs) (Removed empty line at beginning; changed WikiCommons logo to use PNG, since SVG support on SL Wiki is broken)
{{{text}}} |
This documentation is transcluded from Template:Sister project/doc. (Edit | history)
Note to editors: Please don't categorize this template by editing it directly. Instead, place the category in its documentation page, in its "includeonly" section.
Note to editors: Please don't categorize this template by editing it directly. Instead, place the category in its documentation page, in its "includeonly" section.
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}}}}}}}}]]'''''
}}
Wikimedia Commons has media related to: __p2= |
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. Click here to see a monthly parameter usage report for this template based on this TemplateData.
TemplateData for Sister project
{
"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, 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
}
}}
Images used
This template potentially displays the following images.
- Wikimedia Commons logo
commons
- 27x27px Meta-Wiki logo
meta
,metawiki
, orm
- 27x27px Wikibooks logo
wikibooks
,wbk
,wb
, orb
- Wikidata logo
wikidata
ordata
- 27x27px Wikiquote logo
wikiquote
,quote
,wqt
, orq
- 27x27px Wikipedia logo
wikipedia
,wp
, orw
- 27x27px Wikisource logo
wikisource
,source
,ws
, ors
- 27x27px Wiktionary logo
wiktionary
,wkt
,wdy
, ord
- 27x27px Wikinews logo
wikinews
,news
,wnw
, orn
- 27x27px Wikispecies logo
wikispecies
orspecies
- 27x27px Wikiversity logo
wikiversity
,wvy
, orv
- 27x27px Wikivoyage logo
wikivoyage
,voyage
, orvoy
- 27x27px MediaWiki logo
mediawiki
ormw
- 27x27px Wikimedia Outreach logo
outreachwiki
oroutreach
- 27x27px Wikimedia Incubator logo
incubator
- Wikimedia logo default
See also
- {{Sister-inline}}, compatible template for inline use with preceding bullets or indentation
- {{Sister project links}}
- {{Side box}}, the meta-template used for floated side boxes like {{sister project}}
- {{Subject bar}}, a comprehensive horizontal template