Difference between revisions of "Template:Tl"

From Archiepyedia
Jump to navigation Jump to search
en>Darklama
(added namespace detection, and optional subst, LANG, and SISTER parameters)
 
en>Capankajsmilyo
(Copied from enwiki)
Line 1: Line 1:
<includeonly><nowiki>{{</nowiki>{{#if:{{{subst|}}}|[[Help:Templates#Substitution|subst]]:}}{{#ifeq:{{NAMESPACE:{{{1|{{FULLPAGENAME}}}}}}}||<!--
+
&#123;&#123;[[Template:{{{1}}}|{{{1}}}]]&#125;&#125;<noinclude>
this is intended to be either a page in the main namespace or in the template namespace
+
{{documentation}}
-->{{#ifeq:{{{1|{{FULLPAGENAME}}}}}|:{{PAGENAME:{{{1|{{FULLPAGENAME}}}}}}}<!--
+
<!-- Categories go on the /doc subpage and interwikis go on Wikidata. -->
this is intended to be in the main namespace
 
-->|<nowiki>:</nowiki>[[:{{{LANG|}}}{{{SISTER|}}}{{{1|{{PAGENAME}}}}}|{{PAGENAME:{{{1|{{FULLPAGENAME}}}}}}}]]<!--
 
this is intended to be in the template namespace
 
-->|[[:{{{LANG|}}}{{{SISTER|}}}Template:{{{1|{{PAGENAME}}}}}|{{{1|{{PAGENAME}}}}}]]}}<!--
 
namespace was included
 
-->|[[:{{{LANG|}}}{{{SISTER|}}}{{{1|{{FULLPAGENAME}}}}}|{{{1|{{FULLPAGENAME}}}}}]]
 
}}<nowiki>}}</nowiki></includeonly><noinclude>
 
{{Documentation}}
 
 
</noinclude>
 
</noinclude>

Revision as of 14:54, 19 April 2020

{{[[Template:{{{1}}}|{{{1}}}]]}} Lua error in Module:TNT at line 159: Missing JsonConfig extension; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Documentation.tab.