Misplaced Pages

Template:Archive top: Difference between revisions

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Browse history interactively← Previous editContent deleted Content addedVisualWikitext
Revision as of 23:46, 20 December 2007 view sourceViridae (talk | contribs)13,898 edits aww bt i liked the pink :)← Previous edit Latest revision as of 06:12, 27 October 2024 view source Tamzin (talk | contribs)Autopatrolled, Administrators68,765 edits class param to allow Template:Archive top red to override templatestyles without affecting calls to the parent template 
(70 intermediate revisions by 37 users not shown)
Line 1: Line 1:
{{ safesubst:<noinclude/>ifsubst||<templatestyles src="Archive top/styles.css"/>}}<div class="boilerplate archived archive-top mw-archivedtalk {{{class|}}}" style="{{safesubst:<noinclude />#if:{{{bg|}}}|background-color: {{{bg|}}}; color:{{Greater color contrast ratio|{{{bg|}}}|#FFF|#000}}}}">{{safesubst:<noinclude />#if:{{{body|{{{outcome|{{{reason|{{{result|{{{1|}}}}}}}}}}}}}}}
<div class="boilerplate metadata" style="background-color: #edeaff; margin: 2em 0 0 0; padding: 0 10px 0 10px; border: 1px solid #8779DD;">
|{{Side box
:''The following discussion is preserved as an ]. <span style="color:red">'''Please do not modify it.'''</span> Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.'' <!-- from Template:Archive top-->
| above = {{safesubst:<noinclude />#switch:{{safesubst:<noinclude />lc:{{{heading|{{{header|{{{head|{{{status|{{{2|}}}}}}}}}}}}}}}}}
<noinclude>
|resolved=RESOLVED

|withdrawn=WITHDRAWN
</div>This template is used to archive discussions on a talk page or a noticeboard. Place this template '''below''' the header containing the discussion, then place ] at the end of the discussion.
|moved=MOVED

|none=NO ACTION
Again: '''Place it below the header. Do not include the header, it will break archiving bots!'''
|{{safesubst:<noinclude />#if:{{{heading|{{{header|{{{head|{{{status|{{{2|}}}}}}}}}}}}}}}|{{safesubst:<noinclude />uc:{{{heading|{{{header|{{{head|{{{status|{{{2|}}}}}}}}}}}}}}}}} }} }}

| text = {{{body|{{{outcome|{{{reason|{{{result|{{{1|}}}}}}}}}}}}}}}
Example:
| textstyle =
<nowiki> ==Header==
padding: 0;
{{Archive top}}
| textclass = <!-- remove default 'plainlist', this parameter must not be empty or it is ignored --><nowiki />
Hi, I would like to discuss...
| style =
{{Archive bottom}}</nowiki>
padding: 10px;

line-height: inherit;
]
| class=archive-top-result
}} }}
<div class="boilerplate-header" style="margin-left: 1.6em; font-style: italic;">
The following discussion is closed. <strong style="color: var(--color-error, red);">Please do not modify it.</strong> {{safesubst:<noinclude />#switch: {{safesubst:<noinclude />PAGENAME}} | Administrators&#39; noticeboard/Incidents = | Administrators&#39; noticeboard = | Subsequent comments should be made on the appropriate discussion page.}} No further edits should be made to this discussion.<!-- from Template:Archive top-->
</div>
----<noinclude></div>
{{documentation}}
</noinclude> </noinclude>

Latest revision as of 06:12, 27 October 2024

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


Template documentation[view] [edit] [history] [purge]
WarningThis template is used on approximately 36,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.
Shortcut
CSSThis template uses TemplateStyles:
"Template:RMB" redirects here. For the renminbi currency template, see Template:CNY.

This template is used to close discussions on a talk page or a noticeboard.

When used on a talk page this template should only be used by uninvolved editors or administrators in conjunction with the talk page guidelines and relevant advice at Misplaced Pages:Refactoring talk pages. It should not be used by involved parties to end a discussion over the objections of other editors; see WP:SUPERHAT.

Usage

{{Archive top|status=|result=}}

Place the {{Archive top}} template below the header containing the discussion, then place {{Archive bottom}} at the end of the discussion.

Do not include main section headers: including main headers will disrupt archiving bots.

Parameters

This template takes three optional parameters, used for creating a floating box for discussion results:

  • status: resolved, withdrawn, moved, none, or any short custom phrase. A brief header (uppercased) to indicate the status of the discussion. Another name for this parameter is "head".
  • result: the result of the discussion. Another name for this parameter is "body".
  • bg: the background color for the discussion box. Accepts any valid HTML color name or hex triplet. Default is EDEAFF.

These parameters are passed through to Template:Quote box to create the result box.

Examples

Plain archival

{{Archive top}}
{{lorem ipsum}}
{{Archive bottom}}

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

The discussion above is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.

Result box

{{Archive top
|status = none
|result = Twas brillig, and the slithy toves / Did gyre and gimble in the wabe: / All mimsy were the borogoves, / And the mome raths outgrabe.
}}
{{lorem ipsum}}
{{Archive bottom}}
NO ACTION Twas brillig, and the slithy toves / Did gyre and gimble in the wabe: / All mimsy were the borogoves, / And the mome raths outgrabe.

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

The discussion above is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.

Result box, no header, bulleted list

{{Archive top 
|result = <nowiki/>
* Twas brillig, and the slithy toves
* Did gyre and gimble in the wabe: 
* All mimsy were the borogoves, 
* And the mome raths outgrabe. }}
{{lorem ipsum}}
{{Archive bottom}}
  • Twas brillig, and the slithy toves
  • Did gyre and gimble in the wabe:
  • All mimsy were the borogoves,
  • And the mome raths outgrabe.

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

The discussion above is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.

Additional information

TemplateData

Places a purple archive box around archived discussions

Template parameters

ParameterDescriptionTypeStatus
Body1 body outcome reason result

Body text of the box in the upper right for describing the close.

Contentoptional
Background colorbg

Color of the box

Default
#EDEAFF
Unknownoptional
Statusstatus head header heading 2

Header of the box in the upper right for declaring the result of the discussion

Suggested values
resolved withdrawn moved none
Example
none
Stringsuggested
classclass

A custom CSS class or classes (separated by spaces) that will apply to the entire template output. Mostly for child templates.

Stringoptional

See also

  • {{Afd top}} "For closed AfD discussions"
  • {{Archive top green}} and {{Archive top red}} – For archival templates in a color other than the default of blue
  • {{Collapse top}} – "Extended content" with a collapse box around the talk page discussion
  • {{Discussion top}} – "The following discussion is closed ..."
  • {{Hidden archive top}} – "This discussion has been closed ..." with a collapse box around the discussion
Templates for archiving
Recommended
Side box
Headers
With
navigation
Without
navigation
With
search
  • {{Talk header}} (contains an automatically appearing archive search box and nav)
Content
formatting
Lists
Discussion
Automatic
archiving
systems
The above documentation is transcluded from Template:Archive top/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Add categories to the /doc subpage. Subpages of this template. Category: