Template:Softredirect/Documentation: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
==Purpose==
==Purpose==
Notice template used to inform readers and editors that a page or section 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.
Notice template used to inform that a page or section exists as a [[Guidelines:Spoilers#Soft Redirects|soft redirect]] to avoid accidentally spoiling readers without warning, as opposed to redirecting the subject's name to another page (a hard redirect) that would immediately spoil. The template in turn links back to the 'main' subject page for further, complete reading. This practice should be done to curb spoilers involving alternate identities / forms of characters and other subjects. Pages that are soft redirects should be treated as distinct subject pages, covering only what is pertinent to that specific subject and avoiding anything about it that would be considered spoilery.


==Usage==
==Usage==
Line 10: Line 10:
| section || Must be given a value (such as "1" or "y") to display. Changes header to denote a section.
| section || Must be given a value (such as "1" or "y") to display. Changes header to denote a section.
|-
|-
| link || Links to the full page or section that contains complete, spoilery information. This must be the page name itself without brackets.
| link || Link to a main subject page or section for complete reading. E.g. the split subject's true identity, etc. This must be the page name itself without brackets.
|}
|}


Line 20: Line 20:
<pre>{{Softredirect|Guidelines:Spoilers}}</pre>
<pre>{{Softredirect|Guidelines:Spoilers}}</pre>
{{Softredirect|Guidelines:Spoilers}}
{{Softredirect|Guidelines:Spoilers}}
{{Documentation Footer}}
<noinclude>[[Category:Template Documentation]]</noinclude>

Latest revision as of 22:02, 18 October 2023

Purpose

Notice template used to inform that a page or section exists as a soft redirect to avoid accidentally spoiling readers without warning, as opposed to redirecting the subject's name to another page (a hard redirect) that would immediately spoil. The template in turn links back to the 'main' subject page for further, complete reading. This practice should be done to curb spoilers involving alternate identities / forms of characters and other subjects. Pages that are soft redirects should be treated as distinct subject pages, covering only what is pertinent to that specific subject and avoiding anything about it that would be considered spoilery.

Usage

Parameter Description
section Must be given a value (such as "1" or "y") to display. Changes header to denote a section.
link Link to a main subject page or section for complete reading. E.g. the split subject's true identity, etc. This must be the page name itself without brackets.

Code

{{Softredirect|link}}
{{Softredirect|section=|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.