Difference between revisions of "Template:InterWiki/doc"

From blackwiki
Jump to navigation Jump to search
imported>Ibadibam
(→‎See also: add direct link to inline template)
imported>DePiep
(sandbox not in categories)
Line 22: Line 22:
 
* [[Template:ill]], for inline InterWiki links
 
* [[Template:ill]], for inline InterWiki links
  
<includeonly>
+
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
 
<!-- CATEGORIES HERE, THANKS -->
 
<!-- CATEGORIES HERE, THANKS -->
 
[[Category:Interwiki link templates|{{PAGENAME}}]]
 
[[Category:Interwiki link templates|{{PAGENAME}}]]
</includeonly>
+
}}</includeonly>

Revision as of 11:21, 17 October 2014

Purpose

This template allows you to add a link from the en.wikipedia article on a language to the Wikipedia project in that language. Just add the following code to the language article in the External links section, just before the first link:

{{InterWiki|code=lang_code}}

Where lang_code is the language code as described in meta:Complete list of language Wikipedias available.

Example

===External links===

{{InterWiki|code=fr}}

External links

Template:Sister project

See also