Template:Transclude: Difference between revisions

From Project: Redcap
(Copied from http://en.wikipedia.org/w/index.php)
 
m (1 revision imported)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#switch: {{NAMESPACE: {{{1}}} }}
<onlyinclude>{{#switch: {{NAMESPACE: {{{1}}} }}
  |#default = {{FULLPAGENAME: {{{1}}} }} <!-- eg "User:Foo" -->
  |#default = {{FULLPAGENAME: {{{1}}} }} <!-- leading namespace prefix, eg "Template:Foo" -->
  |{{ns:0}} =  
  |{{ns:0}} =  
     {{#ifeq: {{NAMESPACE: {{{1}}} }} | {{NAMESPACE: Template{{{1}}} }}
     {{#ifeq: {{NAMESPACE: {{{1}}} }} | {{NAMESPACE: Template{{{1}}} }}
Line 6: Line 6:
       | {{PAGENAME: {{{1}}} }}      <!-- leading colon, eg ":Foo", so we want the article -->
       | {{PAGENAME: {{{1}}} }}      <!-- leading colon, eg ":Foo", so we want the article -->
     }}
     }}
}}<noinclude>
}}</onlyinclude>
{{documentation}}
{{Documentation}}
</noinclude>

Latest revision as of 08:56, 10 November 2024

Template:{{{1}}} Lua error: Module:TNT:172: '''Missing JsonConfig extension, or not properly configured; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Documentation.tab. See https://www.mediawiki.org/wiki/Extension:JsonConfig#Supporting_Wikimedia_templates'''.