Template:Redirect template/doc template: Difference between revisions

m
by default transclude documentation page, if there is any
[checked revision][checked revision]
m (add second argument for extra text)
m (by default transclude documentation page, if there is any)
Line 1:
<noinclude>{{Documentation page|meta=1}}</noinclude><includeonly>{{Documentation|Template:Redirect template/doc template|</includeonly>
This template is supposed to be transcluded inside the first positional argument of [[Template:Redirect page]]. Assigns the category [[:Category:{{{1}}}]], unless template argument <code>nocat</code> is set. {{{2|{{#ifexist:{{FULLPAGENAME}}/doc|{{ {{PAGENAME}}/doc}}}}}}}
<includeonly>[[Category:Redirect templates]]
}}</includeonly>
<noinclude>[[Category:Meta-templates]]</noinclude>
{{#invoke: Link list | listPages }}