• Home
  • Random
  • Nearby
  • Log in
  • Settings
Donate Now If Wikipedia is useful to you, please give today.
  • About Wikipedia
  • Disclaimers
Wikipedia

Template:Pin section

  • Template
  • Talk
  • Language
  • Watch
  • Edit
icon
This section is pinned and will not be automatically archived.
Template documentation[view] [edit] [history] [purge]
This template should always be substituted – use {{subst:Pin section}}. Any accidental transclusions will be automatically substituted by a bot.
Shortcuts
  • {{subst:pinTemplate:Pin}}
  • {{subst:pinsecTemplate:Pinsec}}

Contents

  • 1 Purpose
  • 2 Effect
  • 3 Usage
  • 4 TemplateData
  • 5 See also

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}}

TemplateData

edit

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.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Expires after1

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.

Default
3650
Example
30
Numbersuggested
"Time unit" for expiry2

Specify the time unit in days, weeks, months, years.

Default
days
Example
weeks
Stringsuggested

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}}
  • v
  • t
  • e
Templates for archiving
  • Archiving (simple)
  • Archiving (technical)
  • Choosing the right bot
Recommended
  • {{Archives}} (configurable side box or banner for main talk page)
  • {{Archive}} (banner placed on archive pages with navigation)
  • {{Talk header}} (banner with talk page guidelines and archives)
  • {{Archive top}} / {{Atop}} (archives/closes discussion)
  • lowercase sigmabot III (MiszaBot) (most popular auto archiving bot) {{subst:Setup auto archiving}} (default options)
  • Wikipedia:One click archiving (archiver scripts)
Headers
With
navigation
  • {{Annual archive}}
  • {{Archived annually}}
  • {{Archive}} (does not need parameter)
  • {{Archives by months}}
  • {{Month-year archive nav}}
  • {{Monthly archived talk}}
Without
navigation
  • {{Archiving}}
With
search
  • {{Talk header}} (contains an automatically appearing archive search box and nav)
Content
formatting
  • {{Archive top}} / {{atop}}
  • {{Archive top green}} / {{atopg}}
  • {{Archive top red}} / {{atopr}}
  • {{Archive top yellow}} / {{atopy}}
  • {{Archive bottom}} / {{abot}}
  • {{Closed rfc top}}
  • {{Collapse}}
  • {{Collapse top}} / {{cot}}
  • {{Collapse bottom}} / {{cob}}
  • {{Collapse AI top}} / {{cait}}
  • {{Hidden archive top}} / {{hat}}
  • {{Hidden archive bottom}} / {{hab}}
Lists
  • {{Archive list}} (numbered archives usually the default)
  • {{Archive list alpha}}
  • {{Monthly archive list}}
  • {{Yearly archive list}}
Discussion
  • {{Archive request}}
  • {{Please archive}}
  • {{uw-archive}}
Automatic
archiving
systems
lowercase
sigmabot III

(MiszaBot)
  • {{subst:Setup auto archiving}}
  • {{User:MiszaBot/config}}
ClueBot III
  • {{subst:Setup cluebot archiving}}
  • {{subst:Archive now}}
  • {{User:ClueBot III/ArchiveThis}}
other
  • HBC Archive Indexerbot (Legobot)
general
  • {{Archive basics}}
  • {{subst:Bump}}
  • {{subst:Do not archive until}}
  • {{subst:Pin section}}
  •  Category:Archival templates
The above documentation is transcluded from Template:Pin section/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Pin_section&oldid=955689210"
Last edited on 9 May 2020, at 06:29

Languages

    • Deutsch
    • فارسی
    • Français
    • کٲشُر
    • 日本語
    • සිංහල
    • کوردی
    • 中文
    Wikipedia
    • Wikimedia Foundation
    • Powered by MediaWiki
    • This page was last edited on 9 May 2020, at 06:29 (UTC).
    • Content is available under CC BY-SA 4.0 unless otherwise noted.
    • Privacy policy
    • About Wikipedia
    • Disclaimers
    • Contact Wikipedia
    • Code of Conduct
    • Developers
    • Statistics
    • Cookie statement
    • Terms of Use
    • Desktop