Template:Redirect page/doc: Difference between revisions

From OSDev.wiki
Jump to navigation Jump to search
[checked revision][checked revision]
Content added Content deleted
(add nocat option)
m (fix newline)
Line 1: Line 1:
<noinclude>{{Documentation page}}</noinclude>
<noinclude>{{Documentation page}}</noinclude><!--
This template serves as a base for all redirect pages. Without any arguments, it produces the message box on the top of the page, and the redirect in question is automatically categorized in [[:Category:Miscellaneous redirects]] (which can be disabled by setting the <code>nocat</code> parameter). This template takes a single positional argument, which should be a list of [[:Category:Redirect templates|redirect templates]], that each add a category to the redirect. For example:
-->This template serves as a base for all redirect pages. Without any arguments, it produces the message box on the top of the page, and the redirect in question is automatically categorized in [[:Category:Miscellaneous redirects]] (which can be disabled by setting the <code>nocat</code> parameter). This template takes a single positional argument, which should be a list of [[:Category:Redirect templates|redirect templates]], that each add a category to the redirect. For example:
<syntaxhighlight lang="wikitext">
<syntaxhighlight lang="wikitext">
{{Redirect page|
{{Redirect page|

Revision as of 21:12, 18 June 2024

This is a template documentation page

This template serves as a base for all redirect pages. Without any arguments, it produces the message box on the top of the page, and the redirect in question is automatically categorized in Category:Miscellaneous redirects (which can be disabled by setting the nocat parameter). This template takes a single positional argument, which should be a list of redirect templates, that each add a category to the redirect. For example:

{{Redirect page|
{{R to project page}}
}}

Will produce:

This page is a redirect.
This redirect is categorized in following manner: