Template:Redirect template/doc template: Difference between revisions

From OSDev.wiki
Jump to navigation Jump to search
[unchecked revision][unchecked revision]
Content deleted Content added
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 }}

Revision as of 20:39, 18 June 2024

This is a template documentation page
This is a template for the documentation of templates based on Template:Redirect template.

This template is supposed to be transcluded inside the first positional argument of Template:Redirect page. Assigns the category [[:Category:{{{1}}}]], unless template argument nocat is set.