Jump to content

Template:TransLink: Difference between revisions

From PokeHero Official Wiki
Created page with "<noinclude> Usage: {{TransLinkContent|Page name}} Links to the translation of the page in the same language as the page being viewed. </noinclude> [[{{#translate:{{{1}}}|target=|source={{#language:}}}}|{{#translate:{{{1}}}|target=|source={{#language:}}}}]]"
 
mNo edit summary
 
(19 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<translate><!--T:1-->
Usage: {{TransLinkContent|Page name}}
{{TemplateUsage
Links to the translation of the page in the same language as the page being viewed.
|usage=<pre>{{TransLink|Page Name|Link Text|Section}}</pre>
</noinclude>
|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>


[[{{#translate:{{{1}}}|target=|source={{#language:}}}}|{{#translate:{{{1}}}|target=|source={{#language:}}}}]]
<onlyinclude>{{#if:{{{section|{{{3|}}}}}}
|[[Special:MyLanguage/{{{1}}}#{{{section|3}}}|{{{2}}}]]
|[[Special:MyLanguage/{{{1}}}|{{{2|{{{1}}}}}}]]}}</onlyinclude>
 
{{BulbAttrib|Template:Main}}
[[Category:Link templates]]

Latest revision as of 13:43, 5 October 2025

Usage
{{TransLink|Page Name|Link Text|Section}}
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 section=.

[[Special:MyLanguage/{{{1}}}|{{{1}}}]]