Difference between revisions of "Template:Interproject box/doc"
Jump to navigation
Jump to search
imported>L293D (→Parameters: removed section) |
imported>L293D (added interlanguage link) |
||
| Line 2: | Line 2: | ||
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. --> | <!-- Categories go at the bottom of this page and interwikis go in Wikidata. --> | ||
| − | This template is used to generate links to sister projects similar to [[Help:Interlanguage links|Interlanguage links]]. The template creates a box with the listed links above the display of interwiki links in the sidebar. It is not intended for use in the article namespace. | + | This template is used to generate links to sister projects similar to [[Help:Interlanguage links|Interlanguage links]] or Interproject links. The template creates a box with the listed links above the display of interwiki links in the sidebar. It is not intended for use in the article namespace. |
== Usage == | == Usage == | ||
| Line 15: | Line 15: | ||
</pre> | </pre> | ||
| − | ==Example== | + | ==Interproject Example== |
<pre style="white-space:pre-wrap;"> | <pre style="white-space:pre-wrap;"> | ||
{{Interproject box | {{Interproject box | ||
| Line 32: | Line 32: | ||
|Project name = Wikimedia Commons | |Project name = Wikimedia Commons | ||
|User name = Example}} | |User name = Example}} | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | ==Interlanguage Example== | ||
| + | <pre style="white-space:pre-wrap;"> | ||
| + | {{Interproject box | ||
| + | |Image = Wikipedia's W.svg | ||
| + | |Alt text= Wikipedia, la enciclopedia libre | ||
| + | |Project link = w:es: | ||
| + | |Project name = Spanish Wikipedia | ||
| + | |User name = Example | ||
| + | }} | ||
| + | </pre> | ||
| + | renders: | ||
| + | {{Interproject box | ||
| + | |Image = Wikipedia's W.svg | ||
| + | |Alt text= Wikipedia, la enciclopedia libre | ||
| + | |Project link = w:es: | ||
| + | |Project name = Spanish Wikipedia | ||
| + | |User name = Example | ||
| + | }} | ||
Revision as of 14:42, 8 March 2018
| This is a documentation subpage for Template:Interproject box. It contains usage information, categories and other content that is not part of the original template page. |
This template is used to generate links to sister projects similar to Interlanguage links or Interproject links. The template creates a box with the listed links above the display of interwiki links in the sidebar. It is not intended for use in the article namespace.
Usage
{{Interproject box
|Alt text=
|Image=
|Project link=
|Project name=
|User name=
}}
Interproject Example
{{Interproject box
|Image = Commons-logo.svg
|Alt text = Wikimedia Commons
|Project link = commons:
|Project name = Wikimedia Commons
|User name = Example
}}
renders:
| Wikimedia Commons User: Example (talk) |
Interlanguage Example
{{Interproject box
|Image = Wikipedia's W.svg
|Alt text= Wikipedia, la enciclopedia libre
|Project link = w:es:
|Project name = Spanish Wikipedia
|User name = Example
}}
renders:
| Spanish Wikipedia User: Example (talk) |