Jump to content

Template:Sister/doc: Difference between revisions

From Wikibooks, open books for an open world
[unreviewed revision][checked revision]
Content deleted Content added
interwiki
 
(9 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Documentation subpage}}
{{Documentation subpage}}
{{high-risk| 210,000+ }}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->


This is a meta-template used for creating interwiki links to other [[WP: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 sister projects of Wikibooks. Note that links to other ''language'' Wikibooks should ''not'' use links in this form, instead use interwiki links to add them to the sidebar.


=== Usage ===
=== Parameters ===


*{{para|text}} &ndash; text of the message
*{{para|text}} &ndash; text of the message
*{{para|project}} &ndash; the sister project to link to. Used to select which project logo is displayed.
*{{para|project}} &ndash; the sister project to link to. Used to select which project logo is displayed.
*{{para|below}} &ndash; optional text to display in a full-width row below the main content. Use sparingly
*{{para|below}} &ndash; optional text to display in a full-width row below the main content. Use sparingly
*{{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 <kbd>left</kbd> for a left-floating box or, ideally, pass through with {{nowrap|<kbd><nowiki>|position={{{position|}}}</nowiki></kbd>}} to let this be set on a per-page basis.


;Example
===Example===
<pre style="overflow:auto;">
<pre>
{{sister
{{sister
|project=commons
|project=commons
|text=[[Wikimedia Commons]] has media related to: '''''[[Commons:{{{1|Special:Search/{{PAGENAME}}}}}|{{{2|{{{1|{{PAGENAME}}}}}}}}]]'''''
|text=[[commons:Wikimedia Commons|]] has media related to: '''''[[Commons:{{{1|Special:Search/{{PAGENAME}}}}}|{{{2|{{{1|{{PAGENAME}}}}}}}}]]'''''
}}
}}
</pre>
</pre>
{{sister
{{sister
|project=commons
|project=commons
|text=[[Wikimedia Commons]] has media related to: '''''[[Commons:{{{1|Special:Search/{{PAGENAME}}}}}|{{{2|{{{1|{{PAGENAME}}}}}}}}]]''''' }}
|text=[[commons:Wikimedia Commons|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 [[WP:EL|external links]]. If no such section exists, then please place it at the top of the last section in the article.

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 first. -->


=== See also ===
=== See also ===
*{{tl|side box}}

*{{tlx|side box}}

<includeonly>
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Interwiki link templates| ]]
[[Category:Interwiki link templates| ]]
[[Category:Exclude in print|{{PAGENAME}}]]
[[Category:Exclude in print|{{PAGENAME}}]]
[[Category:Metatemplates|{{PAGENAME}}]]

[[ar:قالب:شقيقة]]
[[id:Templat:Sister]]
[[ja:Template:Sister]]
[[tr:Şablon:Kardeş proje]]
[[uk:Шаблон:Sister]]
[[vi:Tiêu bản:Dự án liên quan]]
</includeonly>
</includeonly>

Latest revision as of 13:39, 15 August 2020

This is a meta-template used for creating interwiki links to other sister projects of Wikibooks. Note that links to other language Wikibooks should not use links in this form, instead use interwiki links to add them to the sidebar.

Parameters

[edit source]
  • |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

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

See also

[edit source]