Difference between revisions of "Template:Addlanglinks/doc"

From Stardew Valley Wiki
Jump to navigation Jump to search
m (Text replacement - "tt>" to "samp>")
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:
 
This template eliminates the need to add inter-language links manually to all English template documentation pages.
 
This template eliminates the need to add inter-language links manually to all English template documentation pages.
  
Specifically, this template adds the following code (as of {{version|1.5|version 1.5}}):
+
Specifically, this template adds the following code:
 
<pre><nowiki>
 
<pre><nowiki>
 
[[de:Vorlage:{{PAGENAME}}]]
 
[[de:Vorlage:{{PAGENAME}}]]
Line 17: Line 17:
 
[[tr:Şablon:{{PAGENAME}}]]
 
[[tr:Şablon:{{PAGENAME}}]]
 
[[zh:Template:{{PAGENAME}}]]</nowiki></pre>
 
[[zh:Template:{{PAGENAME}}]]</nowiki></pre>
<noinclude>[[Category:Template documentation‎]]</noinclude>
+
<includeonly>[[Category:Templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>

Latest revision as of 20:37, 13 March 2023

Description

This template adds inter-language links to templates on the English-language wiki. In other languages, inter-language links are added via Template:Englishdoc (See, for example, German, Korean, Spanish.)

This template eliminates the need to add inter-language links manually to all English template documentation pages.

Specifically, this template adds the following code:

[[de:Vorlage:{{PAGENAME}}]]
[[es:Plantilla:{{PAGENAME}}]]
[[fr:Modèle:{{PAGENAME}}]]
[[it:Template:{{PAGENAME}}]]
[[ja:テンプレート:{{PAGENAME}}]]
[[ko:틀:{{PAGENAME}}]]
[[hu:Sablon:{{PAGENAME}}]]
[[pt:Predefinição:{{PAGENAME}}]]
[[ru:Шаблон:{{PAGENAME}}]]
[[tr:Şablon:{{PAGENAME}}]]
[[zh:Template:{{PAGENAME}}]]