Jump to content

Template:TemplateUsage: Difference between revisions

From PokeHero Official Wiki
Marked this version for translation
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 4: Line 4:
<pre>
<pre>
{{TemplateUsage
{{TemplateUsage
|usage=<p r e>{{TransLink|Page name}}</p r e>
|usage=<p r e>{{TransLink|Page name|Link Text}}</p r e>
|description=Links to the translation of the page in the same language as the page being viewed.
|description=Links to the translation of the provided page in the same language as the interface language of the user if it exists.
}}
}}
</pre>
</pre>
Line 22: Line 22:
|}</onlyinclude>
|}</onlyinclude>
</translate>
</translate>
[[Category: Templates]]

Latest revision as of 19:30, 26 August 2025

Usage
{{TemplateUsage
|usage=<p r e>{{TransLink|Page name|Link Text}}</p r e>
|description=Links to the translation of the provided page in the same language as the interface language of the user if it exists.
}}
Description Creates an infobox detailing the purpose of a template and how to use it.

Note that p r e should be replaced by pre.
Usage was written this way to avoid problems on this page, as it uses itself to describe itself.