Difference between revisions of "Template:No redirect"

From RimWorld Wiki
Jump to navigation Jump to search
(Taken from https://en.wikipedia.org/wiki/Template:No_redirect)
 
Line 2: Line 2:
 
| <span class="plainlinks">[{{safesubst:<noinclude/>fullurl:{{{1}}}|redirect=no}} {{{2|{{{1}}}}}}]</span>
 
| <span class="plainlinks">[{{safesubst:<noinclude/>fullurl:{{{1}}}|redirect=no}} {{{2|{{{1}}}}}}]</span>
 
| {{safesubst:<noinclude/>#if:{{{2|}}}|[[:{{safesubst:<noinclude/>FULLPAGENAME:{{{1}}}}}|{{{2}}}]]|[[:{{safesubst:<noinclude/>FULLPAGENAME:{{{1}}}}}]]}}
 
| {{safesubst:<noinclude/>#if:{{{2|}}}|[[:{{safesubst:<noinclude/>FULLPAGENAME:{{{1}}}}}|{{{2}}}]]|[[:{{safesubst:<noinclude/>FULLPAGENAME:{{{1}}}}}]]}}
}}<noinclude>
+
}}<noinclude>{{Documentation wanted}}
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 02:46, 22 December 2024

[[:]]

Documentation icon Template documentation[view] [edit] [history] [purge]

When the page name of a redirect is used as the for variable a redirect it links to the redirect page rather to the destination of the redirect

Example

{{No redirect|Terrain}}

produces: Terrain