Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Translcude: Difference between revisions

Template page
(Created page with "{{#switch: {{NAMESPACE: {{{1}}} }} |#default = {{FULLPAGENAME: {{{1}}} }} <!-- eg "User:Foo" --> |{{ns:0}} = {{#ifeq: {{NAMESPACE: {{{1}}} }} | {{NAMESPACE: Template{{{...")
 
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#switch: {{NAMESPACE: {{{1}}} }}
<includeonly>{{{1}}}{{#if:{{{2|}}}|{{!}}{{{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 8:
       | {{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)]



Latest revision as of 02:54, 8 November 2017