Template:Sister project: Difference between revisions
meta>Happy-melon allow full image tag |
m 1 revision imported |
||
(38 intermediate revisions by 27 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Side box | ||
|position = {{{position|}}} | | metadata=no | ||
|image = | | position = {{{position|}}} | ||
| image = | |||
{{#switch: {{{image|}}} | |||
| none = <!-- "image=none", do nothing --> | |||
| = <!-- No image fed, select an image --> | |||
[[File:{{#switch: {{lc: {{{project|}}} }} | |||
| commons|c = Commons-logo.svg | |||
| meta|metawiki|m = Wikimedia Community Logo.svg | |||
| wikibooks|wbk|wb|b = Wikibooks-logo-en-noslogan.svg | |||
| wikidata|data = Wikidata-logo.svg | |||
| wikiquote|quote|wqt|q = Wikiquote-logo.svg | |||
| wikipedia|wp|w|iw = Wikipedia-logo-v2.svg | |||
| wikisource|source|ws|s = Wikisource-logo.svg | |||
| wiktionary|wikt|wkt|wdy|d = Wiktionary-logo-en-v2.svg | |||
| wikinews|news|wnw|n = Wikinews-logo.svg | |||
| wikispecies|species = Wikispecies-logo.svg | |||
| wikiversity|wvy|v = Wikiversity logo 2017.svg | |||
| wikivoyage|voyage|voy = Wikivoyage-Logo-v3-icon.svg | |||
}}| | | mediawiki|mw = MediaWiki-2020-icon.svg | ||
| outreachwiki|outreach = Wikimedia Outreach.png | |||
| incubator = Incubator-notext.svg | |||
|text = {{{text}}} | | #default = Wikimedia-logo.svg | ||
|below = {{{below|}}} | }}|40x40px|class=noviewer|alt=|link= | ||
|imageright = {{{imageright|}}} | ]] | ||
}}<noinclude> | | #default = {{{image|}}} | ||
{{ | }} | ||
| textclass = {{{textclass|plainlist}}} | |||
</noinclude> | | textstyle = {{{textstyle|}}} | ||
| text = {{{text}}} | |||
| below = {{{below|}}} | |||
| imageright = {{{imageright|}}} | |||
| class = plainlinks sistersitebox | |||
}}<noinclude>{{Documentation}}<!-- Add categories and interwikis to the /doc subpage, not here! --></noinclude> |
Latest revision as of 17:47, 30 November 2023
This template is used on approximately 962,000 pages, or roughly 14166% 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. |
This template uses Lua: |
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 <syntaxhighlight lang="moin">
</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
TemplateData for Sister project
Creates a small box with a links to an article on a sister projects of wikipedia.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Project | project | 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. | String | required |
Text | text | Text of the message e.g. [[Wikimedia Commons]] has media related to: '''''[[Commons:Alcatraz]]''''' | String | required |
Below | below | Optional text to display in a full-width row below the main content. Use sparingly. | String | optional |
Position | position | Position to display the box: 'left' floats the box to the left rather than the default, which is on the right. | String | optional |
Images used
This template potentially displays the following images.
- File:Commons-logo.svg Wikimedia Commons logo
commons
- Meta-Wiki logo
meta
,metawiki
, orm
- Wikibooks logo
wikibooks
,wbk
,wb
, orb
- Wikidata logo
wikidata
ordata
- Wikiquote logo
wikiquote
,quote
,wqt
, orq
- File:Wikipedia-logo-v2.svg Wikipedia logo
wikipedia
,wp
, orw
- Wikisource logo
wikisource
,source
,ws
, ors
- Wiktionary logo
wiktionary
,wkt
,wdy
, ord
- Wikinews logo
wikinews
,news
,wnw
, orn
- Wikispecies logo
wikispecies
orspecies
- File:Wikiversity-logo.svg Wikiversity logo
wikiversity
,wvy
, orv
- Wikivoyage logo
wikivoyage
,voyage
, orvoy
- File:Mediawiki.png MediaWiki logo
mediawiki
ormw
- Wikimedia Outreach logo
outreachwiki
oroutreach
- File:Incubator-notext.svg 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