More actions
Hachimitsu (talk | contribs) (Created page with "{{#switch: {{NAMESPACE: {{{1}}} }} |#default = {{FULLPAGENAME: {{{1}}} }} <!-- eg "User:Foo" --> |{{ns:0}} = {{#ifeq: {{NAMESPACE: {{{1}}} }} | {{NAMESPACE: Template{{{...") |
m (borrowing this as a template very briefly, also its name has a typo -- it should be transclude not translcude) |
||
Line 1: | Line 1: | ||
{{#switch: {{NAMESPACE: {{{1}}} }} | <includeonly>{{{1}}}|{{{2}}}</includeonly><noinclude>{{#switch: {{NAMESPACE: {{{1}}} }} | ||
|#default = {{FULLPAGENAME: {{{1}}} }} <!-- eg "User:Foo" --> | |#default = {{FULLPAGENAME: {{{1}}} }} <!-- eg "User:Foo" --> | ||
|{{ns:0}} = | |{{ns:0}} = | ||
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> | }}</noinclude><noinclude> | ||
From [http://en.wikipedia.org/w/index.php?title=Template:Transclude&oldid=275377931 Wikipedia:Template:Transclude (12:09, 6 March 2009 UTC)] | From [http://en.wikipedia.org/w/index.php?title=Template:Transclude&oldid=275377931 Wikipedia:Template:Transclude (12:09, 6 March 2009 UTC)] | ||
Revision as of 02:52, 8 November 2017
Template:{{{1}}} From Wikipedia:Template:Transclude (12:09, 6 March 2009 UTC)