Template:Pin section/doc
| This is a documentation subpage for Template:Pin section. It may contain usage information, categories and other content that is not part of the original template page. |
This template should always be substituted – use {{subst:Pin section}}. Any accidental transclusions will be automatically substituted by a bot. |
Purpose
"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
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
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}}
TemplateData
This template should '''ALWAYS''' be substituted! "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. Expires after ten years by default.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Expires after | 1 | Specify a number of days ('time unit') to keep the section pinned for. 'Number of days' is the time unit by default, if "Time unit" or second unnamed parameter not specified. The message box will display the end date or time. For example, setting 30 will set an expiry of 30 days.
| Number | suggested |
| "Time unit" for expiry | 2 | Specify the time unit in days, weeks, months, years.
| String | suggested |
See also
- 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}}
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.