Template:TransLink: Difference between revisions

No edit summary
mNo edit summary
 
(17 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<translate><!--T:1-->
Usage: <code><nowiki>{{TransLink|Page name}}</nowiki></code>
{{TemplateUsage
|usage=<pre>{{TransLink|Page Name|Link Text|Section}}</pre>
|description=Links to the translation of the provided page in the same language as the interface language of the user if it exists. Section is not required and will add a section specifier to the link, please add it with <code>section=</code>.
}}</translate>


Links to the translation of the page in the same language as the page being viewed.
<onlyinclude>{{#if:{{{section|{{{3|}}}}}}
</noinclude>
|[[Special:MyLanguage/{{{1}}}#{{{section|3}}}|{{{2}}}]]
|[[Special:MyLanguage/{{{1}}}|{{{2|{{{1}}}}}}]]}}</onlyinclude>


[[{{#translate:{{{1}}}|target=|source={{#language:}}}}|{{#translate:{{{1}}}|target=|source={{#language:}}}}]]
{{BulbAttrib|Template:Main}}
[[Category:Link templates]]