Difference between revisions of "Template:Transclude"

From WPRDC Wiki
Jump to navigation Jump to search
>ExE Boss
 
(Replaced content with "Bbvbbbb")
Line 1: Line 1:
<onlyinclude>{{#switch: {{NAMESPACE: {{{1}}} }}
Bbvbbbb
|#default = {{FULLPAGENAME: {{{1}}} }} <!-- leading namespace prefix, eg "Template:Foo" -->
|{{ns:0}} =
    {{#ifeq: {{NAMESPACE: {{{1}}} }} | {{NAMESPACE: Template{{{1}}} }}
      | Template:{{{1}}}            <!-- no leading colon, eg "Foo" -->
      | {{PAGENAME: {{{1}}} }}      <!-- leading colon, eg ":Foo", so we want the article -->
    }}
}}</onlyinclude>
{{Documentation}}

Revision as of 12:06, 17 July 2021

Bbvbbbb