Template:Outdated/doc: Difference between revisions

Jump to navigation Jump to search
Updated. Added info on section flagging.
(Added category.)
(Updated. Added info on section flagging.)
Line 2: Line 2:
__NOTOC__
__NOTOC__
==Usage==
==Usage==
{{tl|outdated}} creates an information box with a warning 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 and vertically depending on how many rows of text are needed. It is based upon {{tl|warning}}.
{{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.


==Parameter==
==Parameter==
There is only one parameter, which is unnamed (below called <code>1</code>) and optional. The text inside the box can be formatted using wiki-code.
There is only 1 parameter, which is named and optional.


===Syntax===
===Syntax===
To use the template, type {{tlc|outdated}} or {{tlc|outdated|''custom text''}}.
To use the template for an entire page, put the code
:{{tlc|outdated}}
on the top of the page.
 
To use it for a sub-section of a page, put the code
:{{tlc|outdated|section{{=}}yes}}
directly beneath the sub-section's header.


===Optional parameter===
===Optional parameter===
====1====
====section====
;<code>Custom text</code>
;<big>Changes the word "page" to "section"</big>
This parameter is used for entering additional message text. It is unnamed, so no parameter name needs to be entered.
If you want to inform the user that a section of the page is outdated, use this parameter.
 
The text you enter will be prefixed by the string "'''<tt>The content of this article may be out of date.&nbsp;</tt>'''".
 
;Usage
* {{tlc|outdated|'''custom text'''}}
 
==Examples==
{| class="wikitable"
|-
! Example case !! What you write !! What you see
|-
| No parameter || {{tlc|outdated}} || {{outdated}}
|-
| Plain text || {{tlc|outdated|This is your message.}} || {{outdated|This is your message.}}
|-
| Wiki-coding || <pre><nowiki>{{outdated
|<br>Wiki-formatting {{sup|can}} '''be''' ''used''
'''''in the''''' <sub>message</sub>. <br />
You can use wiki-code to, e.g.
[[link to stuff]],
* list things,
make text <small>small</small> or <big>big</big>,
and include pre-format boxes.
You can even
 
 
 
 
 
 
insert empty rows.}}</nowiki></pre> || {{outdated|<br>Wiki-formatting {{sup|can}} '''be''' ''used'' '''''in the''''' <sub>message</sub>. <br />
You can use wiki-code to, e.g.
[[link to stuff]],
* list things,
make text <small>small</small> or <big>big</big>,
and include pre-format boxes.
You can
even
 
 
 
 


Any value you specify will be interpreted as "{{samp|true}}", and invoke the parameter; i.e. {{para|section|yes}} will yield the same result as {{para|section|haggis}}.


insert empty rows.}}
;<big>Usage</big>
|}
* {{tlc|outdated|<big>'''section'''</big>{{=}}yes}}


==See also==
==See also==
* {{tl|blackboxwarning}}
* {{tl|delete}}
* {{tl|delete}}
* {{tl|draft}}
* {{tl|draft}}
* {{tl|restricted}}
* {{tl|spam}}
* {{tl|warning}}
* {{tl|warning}}
* {{tl|blackboxwarning}}


<!-- Add categories below -->
<!-- Add categories below -->
<includeonly>
<includeonly>
[[Category:MozillaWiki maintenance templates]]
[[Category:MozillaWiki maintenance templates|outdated]]
[[Category:Outdated articles]]
</includeonly>
</includeonly>
3,860

edits

Navigation menu