Template:Pin section/sandbox
This section is pinned and will not be automatically archived. |
This is the template sandbox page for Template:Pin section (diff). |
This template should always be substituted (i.e., use {{subst:Pin section}} ). Any accidental transclusions will be automatically substituted by a bot. |
Purpose
[edit]"Pin" a discussion thread (a talk page section) so it does not automatically archive. Produces a box explaining to readers the thread will remain unarchived.
Effect
[edit]This is a wrapper for the invisible template {{do not archive until}} that is used to prevent bots archiving a discussion thread. It produces a visible message that the thread has been pinned.
The pin message will remain in the thread for a long time. Please see the template documentation on {{DNAU}} for details.
Usage
[edit]Place {{subst:Pin section}}
or {{subst:pinsec}}
at the top of a talk page section (on a new line after the section title). For example:
== Something ==
{{subst:Pin section}}
This template must be substituted.
Use |1=
to specify a number of days to keep the section pinned for. If this parameter is used, the message box will display the end date/time. For example, to keep a message pinned for 47 days:
== Something == {{subst:Pin section|47}}
Use |2=
to specify a time unit other than the default of days. For example, to keep a message pinned for 47 weeks:
== Something == {{subst:Pin section|47|weeks}}
See also
[edit]- Template:Pin message, which provides the box for this template. It should not normally be used by itself.
- Template:Bump another wrapper for {{do not archive until}}