Template:Softredirect/Documentation: Difference between revisions
Jump to navigation
Jump to search
Note: This page exists as a soft redirect to avoid major spoilers without warning. For the full page or section, click here.
No edit summary |
No edit summary |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
==Purpose== | ==Purpose== | ||
Notice template used to inform | 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 8: | Line 8: | ||
! Parameter !! Description | ! Parameter !! Description | ||
|- | |- | ||
| link || | | 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=== | ===Code=== | ||
<pre>{{Softredirect|link}}</pre> | <pre>{{Softredirect|link}}</pre> | ||
<pre>{{Softredirect|section=|link}}</pre> | |||
===Example=== | ===Example=== | ||
<pre>{{Softredirect|Guidelines:Spoilers}}</pre> | <pre>{{Softredirect|Guidelines:Spoilers}}</pre> | ||
{{Softredirect|Guidelines:Spoilers}} | {{Softredirect|Guidelines:Spoilers}} | ||
<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}}
![](/images/thumb/b/b3/Redirect_Icon.png/30px-Redirect_Icon.png)