Difference between revisions of "Template:Transclude"

From Crews Genealogy Wiki: focusing on the Wiregrass south, and related families
Jump to navigation Jump to search
m (1 revision)
 
m (1 revision imported)
 
(One intermediate revision by one other user 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 23:41, 14 March 2022

Template:{{{1}}}