Template:Soft redirect/doc: Difference between revisions

no edit summary
sims>K6ka
mNo edit summary
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 1:
 
==Description==
This template is used to create [[ProjectHelp:Soft redirectRedirect#Soft_redirects|soft redirects]]. Simply put, a short redirect does not automatically redirect users like a "hard" [[Help:Redirect|redirect]] would, but instead requires readers to click on another link in order to get to where they need to go.
 
It is useful for linking to wikis on other websites, where it is not technically possible to create a hard redirect for. It is also good for redirecting any page outside of K6ka's Wiki, in order to avoid confusion by readers when they are suddenly redirected to a page outside of this wiki.
Line 10:
For example:
 
{{tlx|Soft redirect|K6ka'sThe Sims Wiki:Sandbox}}
 
Produces:
 
{{Soft redirect|K6ka'sThe Sims Wiki:Sandbox|nocat=yes}}
 
The second parameter changes the displayed text. It is optional.
 
{{tlx|Soft redirect|K6ka'sThe Sims Wiki:Sandbox|A place to make mud pies}}
 
Produces:
 
{{Soft redirect|K6ka'sThe Sims Wiki:Sandbox|A place to make mud pies|nocat=yes}}
 
This template will automatically add pages to [[:Category:Soft redirects]]. You can disable this using the parameter <code>{{!}}nocat = yes</code>.
 
{{tlx|Soft redirect|K6ka'sThe Sims Wiki:Sandbox|nocat{{=}}yes}}
 
==Credits==
This template's code was taken from [[wikipediaw:en:Template:Soft redirect|Template:Soft redirect]] on the English Wikipedia.
 
<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
<includeonly>[[Category:Redirect templates|{{PAGENAME}}]]</includeonly>