Template:Sister/doc: Difference between revisions
Appearance
[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 |
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 === |
||
*{{para|text}} – text of the message |
*{{para|text}} – text of the message |
||
*{{para|project}} – the sister project to link to. Used to select which project logo is displayed. |
*{{para|project}} – the sister project to link to. Used to select which project logo is displayed. |
||
*{{para|below}} – optional text to display in a full-width row below the main content. Use sparingly |
*{{para|below}} – optional text to display in a full-width row below the main content. Use sparingly |
||
*{{para|position}} – set to < |
*{{para|position}} – 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=== |
|||
<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 === |
||
⚫ | |||
⚫ | |||
<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 documentation subpage for Template:Sister It contains usage information, categories and other content that is not part of the original template page. |
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}}}}}}}}]]''''' }}
Wikimedia Commons has media related to: Sister/doc |
See also
[edit source]- {{side box}}