Template:Transclude: Difference between revisions
From Test Wiki
Content deleted Content added
mediawiki>94rain m Protected "Template:Transclude": Highly visible page or template: 7475 transclusions ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite)) |
m 1 revision imported |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{#switch: {{NAMESPACE: {{{1}}} }} |
|||
|#default = {{FULLPAGENAME: {{{1}}} }} <!-- |
|#default = {{FULLPAGENAME: {{{1}}} }} <!-- eg "User: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> |
||
{{ |
{{documentation}} |
||
</noinclude> |
|||