Jump to content

Template:Englishdoc: Difference between revisions

From Stardew Valley Wiki
imported>Nebulous Maestress
m nowiki+pre to fully isolate the include commands
imported>Nebulous Maestress
m Text moved to doc page
Line 1: Line 1:
<noinclude>This is a semi-placeholder template on the English wiki. Adding it to the end of other templates allows english-language templates to be as similar as possible to the versions ported to other languages.
<noinclude>
 
For example, the following noinclude section can be used at the end of any template, and can be copied as-is to all other languages:
 
<pre><nowiki>
<noinclude>{{Englishdoc}}{{#ifexist:{{FULLPAGENAME}}/doc |<nowiki/>
{{{{FULLPAGENAME}}/doc}} }}</noinclude>
</nowiki></pre>
 
On the english wiki, the only real purpose of this template is to add interlanguage links (replacing [[Template:Addlanglinks]]), but it does not display any text on other template pages.
 
</noinclude><includeonly>
</noinclude><includeonly>
[[de:Vorlage:{{PAGENAME}}]]
[[de:Vorlage:{{PAGENAME}}]]
Line 22: Line 12:
[[tr:Şablon:{{PAGENAME}}]]
[[tr:Şablon:{{PAGENAME}}]]
[[zh:Template:{{PAGENAME}}]]
[[zh:Template:{{PAGENAME}}]]
</includeonly><noinclude>[[Category:General wiki templates]]</noinclude>
</includeonly><noinclude>[[Category:General wiki templates]]<nowiki/>
{{{{FULLPAGENAME}}/doc}}</noinclude>

Revision as of 23:25, 3 September 2020