Terraria Wiki
Terraria Wiki
K (Aktualisiert.)
K ({{langList}} should really be the only location to store the list of languages. {{lang}} is not needed in {{langList}}, so it doesn't cause a template loop.)
Zeile 1: Zeile 1:
 
<includeonly><!--
 
<includeonly><!--
 
// auto detect if needed, only once per page.
 
// auto detect if needed, only once per page.
-->{{#var:__global__lang|<!--
+
-->{{#var:__global__lang|{{#vardefineecho:__global__lang|<!--
-->{{#vardefineecho:__global__lang|<!--
 
-->de<!--
 
-->}}<!--
 
-->}}<!--
 
--></includeonly><!--
 
   
  +
------ ↓↓↓ EN wiki only! ↓↓↓ ------
--><noinclude>
 
  +
-->{{#ifeq:{{PAGENAME}}|{{SUBPAGENAME}}|en|{{#or:{{#lstfnd:{{SUBPAGENAME}}|{{langList|onWiki}},{{langList|offWiki}}|,}}|en}}}}<!--
{{übersetzung}}
 
  +
------ ↑↑↑ EN wiki only! ↑↑↑ ------
Return language setting, auto detect based on page URL or manually set, used by other templates for l10n.
 
   
  +
------ ↓↓↓ Language wikis only! ↓↓↓ ------
== Usage ==
 
  +
--><!--<language code><!-- replace the "<!--<language code>" with your wiki's language code, e.g. de/fr/pt/zh
Get language code (auto detect or previously set):
 
  +
------ ↑↑↑ Language wikis only! ↑↑↑ ------
   
 
-->}}}}<!--
<code><nowiki>{{lang}}</nowiki></code> → {{lang}}
 
 
--></includeonly><!--
 
== See also ==
 
* {{tl|lang/set}}
 
   
</noinclude>
+
--><noinclude>{{doc}}</noinclude>

Version vom 8. Februar 2021, 20:00 Uhr

Template-noinfo.svg Documentation

No documentation subpage exists yet for this template. Create one now.Vorlage:Category/db-en