Template:Outdated/doc: Difference between revisions
(Updated. Added info on section flagging.) |
(Added category.) |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 3: | Line 3: | ||
==Usage== | ==Usage== | ||
{{tl|outdated}} creates an information box with a message telling the user that the content of the page is outdated. The box will show at the position on the page where you put the template, and stretch horizontally to fill the width of the available space. | {{tl|outdated}} creates an information box with a message telling the user that the content of the page is outdated. The box will show at the position on the page where you put the template, and stretch horizontally to fill the width of the available space. | ||
The template will automatically add the page to the category {{category|Outdated articles}}. | |||
==Parameter== | ==Parameter== | ||
| Line 18: | Line 20: | ||
===Optional parameter=== | ===Optional parameter=== | ||
====section==== | ====section==== | ||
;<big>Changes the word "page" to "section"</big> | ;<big>Changes the word "page" and "article" to "section"</big> | ||
If you want to inform the user that a section of the page is outdated, use this parameter. | If you want to inform the user that a section of the page is outdated, use this parameter. | ||
| Line 25: | Line 27: | ||
;<big>Usage</big> | ;<big>Usage</big> | ||
* {{tlc|outdated|<big>'''section'''</big>{{=}}yes}} | * {{tlc|outdated|<big>'''section'''</big>{{=}}yes}} | ||
==Examples== | |||
This is how the messagebox looks for entire pages, and for page sections (i.e. when invoking {{para|section}}). | |||
===Page=== | |||
{| class="messagebox standard-talk" style="margin-bottom: 1em; width:100%; border:5px solid #B0C4DE; background-color:#f6f4ec;" | |||
| rowspan="3" style="padding:0px 10px 0px;" | [[File:Ambox outdated.png|65px|Do not edit this page|link=]] | |||
| style="padding:0px 40px 0px 10px; font-size: large; text-align:center;" | '''THIS PAGE MAY BE OUTDATED''' | |||
|- | |||
| style="padding:0px 40px 0px 10px; text-align:left;" | This article is in parts, or in its entirety, outdated. Hence, the information presented on this page may be incorrect, and should be treated with due caution until this flag has been lifted. Help by [{{fullurl:{{FULLPAGENAME}}|action=edit}} editing] the article, or discuss its contents on the [[{{TALKPAGENAME}}|talk page]]. | |||
|} | |||
===Section=== | |||
{| class="messagebox standard-talk" style="margin-bottom: 1em; width:100%; border:5px solid #B0C4DE; background-color:#f6f4ec;" | |||
| rowspan="3" style="padding:0px 10px 0px;" | [[File:Ambox outdated.png|65px|Do not edit this page|link=]] | |||
| style="padding:0px 40px 0px 10px; font-size: large; text-align:center;" | '''THIS SECTION MAY BE OUTDATED''' | |||
|- | |||
| style="padding:0px 40px 0px 10px; text-align:left;" | This section is in parts, or in its entirety, outdated. Hence, the information presented under it may be incorrect, and should be treated with due caution until this flag has been lifted. Help by [{{fullurl:{{FULLPAGENAME}}|action=edit}} editing] the section, or discuss its contents on the [[{{TALKPAGENAME}}|talk page]]. | |||
|} | |||
==See also== | ==See also== | ||
| Line 37: | Line 58: | ||
<includeonly> | <includeonly> | ||
[[Category:MozillaWiki maintenance templates|outdated]] | [[Category:MozillaWiki maintenance templates|outdated]] | ||
[[Category:Message box templates]] | |||
</includeonly> | </includeonly> | ||
Latest revision as of 09:48, 29 January 2015
Usage
{{outdated}} creates an information box with a message telling the user that the content of the page is outdated. The box will show at the position on the page where you put the template, and stretch horizontally to fill the width of the available space.
The template will automatically add the page to the category Category:Outdated articles.
Parameter
There is only 1 parameter, which is named and optional.
Syntax
To use the template for an entire page, put the code
{{outdated}}
on the top of the page.
To use it for a sub-section of a page, put the code
{{outdated|section=yes}}
directly beneath the sub-section's header.
Optional parameter
section
- Changes the word "page" and "article" to "section"
If you want to inform the user that a section of the page is outdated, use this parameter.
Any value you specify will be interpreted as "true", and invoke the parameter; i.e. |section=yes will yield the same result as |section=haggis.
- Usage
{{outdated|section=yes}}
Examples
This is how the messagebox looks for entire pages, and for page sections (i.e. when invoking |section).
Page
Section
See also
- {{blackboxwarning}}
- {{delete}}
- {{draft}}
- {{restricted}}
- {{spam}}
- {{warning}}