Jump to content

Template:TransLink: Difference between revisions

From PokeHero Official Wiki
Added support for sections
No edit summary
Line 2: Line 2:
{{TemplateUsage
{{TemplateUsage
|usage=<pre>{{TransLink|Page Name|Link Text|Section}}</pre>
|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></code>.
|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>



Revision as of 10:32, 29 September 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}}}|{{{2}}}]]