Difference between revisions of "Template:Interproject box/doc"

From blackwiki
Jump to navigation Jump to search
imported>L293D
(created documentation)
 
imported>L293D
(→‎Parameters: removed section)
Line 14: Line 14:
 
}}
 
}}
 
</pre>
 
</pre>
 
== Parameters ==
 
For every parameter the page name must be entered separately. It should be noted that the localized name of the target wiki or the international name is used for the namespace (for example, ''user'' for the user-namespaces). A leading colon is not required.
 
 
For every sister project you can exactly specify one link. In sister projects with different languages (like Wikibooks), however, you can link to languages other than English: with <code><nowiki>{{Interprojekt|b=de:User:Example}}</nowiki></code> you link to the German-language Wikibooks.
 
  
 
==Example==
 
==Example==

Revision as of 14:33, 8 March 2018

This template is used to generate links to sister projects similar to 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.

Usage

{{Interproject box
|Alt text=
|Image=
|Project link=
|Project name=
|User name=
}}

Example

{{Interproject box
|Image = Commons-logo.svg
|Alt text = Wikimedia Commons
|Project link = commons:
|Project name = Wikimedia Commons
|User name = Example
}}

renders:

Wikimedia Commons Wikimedia Commons
User:
Example (talk)