Jump to content

Translations:Template:TemplateUsage/1/en: Difference between revisions

From PokeHero Official Wiki
FuzzyBot (talk | contribs)
Importing a new version from external source
FuzzyBot (talk | contribs)
Importing a new version from external source
 
Line 3: Line 3:
<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 provided page in the same language as the interface language of the user if it exists.
|description=Links to the translation of the provided page in the same language as the interface language of the user if it exists.
}}
}}

Latest revision as of 19:32, 26 August 2025

Information about message (contribute)
This message has no documentation. If you know where or how this message is used, you can help other translators by adding documentation to this message.
Message definition (Template:TemplateUsage)
{{TemplateUsage
|usage=
<pre>
{{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.
}}
</pre>
|description=Creates an infobox detailing the purpose of a template and how to use it.<br />
Note that <u>'''p r e'''</u> should be replaced by <u>'''pre'''</u>.<br />
Usage was written this way to avoid problems on this page, as it uses itself to describe itself.
}}
<div class="plainlinks" style="font-size:90%; margin-top:1em; border-top:1px solid #aaa; padding-top:0.5em;">
<onlyinclude>{| class="template-usage" style="border:1px solid #aaa; background:#f9f9f9; padding:4px; font-size:90%; width:100%;"
|+
| style="font-weight:bold; width:20%;" | Usage
| {{{usage}}}
|-
| style="font-weight:bold;" | Description
| {{{description}}}
|}</onlyinclude>
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.