Template:Transclude: Difference between revisions

408 bytes added ,  20:54, 24 April 2020
Added includeonly-tags. Added revision-note. Added empty documentation-structure
(Created page with "{{#switch: {{NAMESPACE: {{{1}}} }} |#default = {{FULLPAGENAME: {{{1}}} }} <!-- eg "User:Foo" --> |{{ns:0}} = {{#ifeq: {{NAMESPACE: {{{1}}} }} | {{NAMESPACE: Template{{{...")
 
(Added includeonly-tags. Added revision-note. Added empty documentation-structure)
 
Line 1: Line 1:
{{#switch: {{NAMESPACE: {{{1}}} }}
<includeonly>{{#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>[[Category:Templates]]</noinclude>
}}</includeonly><noinclude>
{{Needs revision
|reason = Needs full review / analysis.
|user = [[User:Helpful Herbert|Helpful Herbert]] ([[User talk:Helpful Herbert|talk]]) 20:54, 24 April 2020 (UTC)
}}
 
== About ==
TODO: Analyse what this template does. It is used in [[Template:Navbar]].
 
== Parameter-Usage ==
{| class="wikitable"
!Parameter
!Default
!Description
|-
!1
|???
|???
|}
 
== Examples ==
TODO
 
[[Category:Templates]]
</noinclude>
1,133

edits