Template:Softredirect/Documentation: Difference between revisions

Jump to navigation Jump to search
m (Protected "Template:Softredirect/Documentation" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
No edit summary
Line 3: Line 3:


==Usage==
==Usage==
{| class="wikitable"
|+
|-
! Parameter !! Description
|-
| link || Links to the full page or section that contains complete, spoilery information. This must be the page name itself without brackets.
|}
===Code===
===Code===
<pre>{{Softredirect}}</pre>
<pre>{{Softredirect|link}}</pre>
{{Softredirect}}
 
===Example===
<pre>{{Softredirect|Guidelines:Spoilers}}</pre>
{{Softredirect|Guidelines:Spoilers}}
{{Documentation Footer}}
{{Documentation Footer}}

Revision as of 18:24, 26 July 2023

Purpose

Notice template used to inform readers and editors that a page exists as a soft redirect to avoid accidentally spoiling without warning, as opposed to redirecting the page name to its intended target which would immediately spoil. This practice typically applies to alternate identities of characters or other forms of locations. Pages that are soft redirects should only cover the subject it is relevant to, i.e. the singular identity or form of a subject.

Usage

Parameter Description
link Links to the full page or section that contains complete, spoilery information. This must be the page name itself without brackets.

Code

{{Softredirect|link}}

Example

{{Softredirect|Guidelines:Spoilers}}
Note: This page exists as a soft redirect to avoid major spoilers without warning. For the full page or section, click here.


This is the template documentation page for Template:Softredirect. It should be transcluded onto the template page.