Template:Soft redirect: Difference between revisions

From The Sims Wiki, a collaborative database for The Sims series
Jump to navigation Jump to search
Content added Content deleted
sims>K6ka
(Created page with "64px|Soft redirect to:|link=<span class="redirectText" id="softredirect">[[:{{{1}}}|{{{2|{{{1}}}}}}]]</span><br /><span style="font-size:85%; paddi...")
No edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[File:Softredirarrow.svg|64px|Soft redirect to:|link=]]<span class="redirectText" id="softredirect">[[:{{{1}}}|{{{2|{{{1}}}}}}]]</span><br /><span style="font-size:85%; padding-left:48px;">This page is a [[Project:Soft redirect|soft redirect]].</span><includeonly>[[Category:Soft redirects|{{PAGENAME}}]]</includeonly><noinclude>
[[File:Softredirarrow.svg|64px|Soft redirect to:|link=]]<span class="redirectText" id="softredirect">[[:{{{1}}}|{{{2|{{{1}}}}}}]]</span><br /><span style="font-size:85%; padding-left:48px;">This page is a [[Help:Redirect#Soft redirects|soft redirect]].</span><includeonly>{{#ifeq:{{{nocat|}}}|yes|<!--
{{Documentation}}[[Category:Redirect templates|{{PAGENAME}}]]
Don't add categories -->|[[Category:Soft redirects|{{PAGENAME}}]]}}</includeonly><noinclude>
{{Documentation}}


<!-- UNUSED TEMPLATE CODE, RETAIN FOR REFERENCE:
<!-- UNUSED TEMPLATE CODE, RETAIN FOR REFERENCE:

Latest revision as of 11:59, 2 September 2019

Soft redirect to:[[:{{{1}}}|{{{1}}}]]
This page is a soft redirect.

Template documentation (View · Edit · History · Purge)

Description[edit source]

This template is used to create soft redirects. Simply put, a short redirect does not automatically redirect users like a "hard" 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.

Usage[edit source]

{{Soft redirect|<Title of page you want to redirect to>|<Displayed text (optional)>}}

For example:

{{Soft redirect|The Sims Wiki:Sandbox}}

Produces:

Soft redirect to:The Sims Wiki:Sandbox
This page is a soft redirect.

The second parameter changes the displayed text. It is optional.

{{Soft redirect|The Sims Wiki:Sandbox|A place to make mud pies}}

Produces:

Soft redirect to:A place to make mud pies
This page is a soft redirect.

This template will automatically add pages to Category:Soft redirects. You can disable this using the parameter |nocat = yes.

{{Soft redirect|The Sims Wiki:Sandbox|nocat=yes}}

Credits[edit source]

This template's code was taken from Template:Soft redirect on the English Wikipedia.


Visit Template:Soft redirect/doc to edit this text! (How does this work?) (Refresh this text - why?)