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 |
||
Line 1: | Line 1: | ||
==Purpose== | ==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. | 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. | ||
==Usage== | ==Usage== | ||
Line 7: | Line 7: | ||
|- | |- | ||
! Parameter !! Description | ! Parameter !! Description | ||
|- | |||
| 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 || Links to the full page or section that contains complete, spoilery information. This must be the page name itself without brackets. | ||
Line 13: | Line 15: | ||
===Code=== | ===Code=== | ||
<pre>{{Softredirect|link}}</pre> | <pre>{{Softredirect|link}}</pre> | ||
<pre>{{Softredirect|section=|link}}</pre> | |||
===Example=== | ===Example=== |
Revision as of 19:05, 27 July 2023
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.
Usage
Parameter | Description |
---|---|
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. |
Code
{{Softredirect|link}}
{{Softredirect|section=|link}}
Example
{{Softredirect|Guidelines:Spoilers}}
![](/images/thumb/b/b3/Redirect_Icon.png/30px-Redirect_Icon.png)
This is the template documentation page for Template:Softredirect. It should be transcluded onto the template page.