Template:Out of date: Difference between revisions

From diaspora* project wiki
(copied the out of date messagebox template from wikipedia)
 
(mention category this adds things to)
(9 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<!--{{Out of date}} begin-->{{Ambox
{{ #msgbox: name=Out of date  
| name  = Out of date
| type=warn
| subst = <includeonly>{{subst:</includeonly><includeonly>substcheck}}</includeonly>
| date={{{date|}}}
| type  = content
| image=Ambox outdated content.svg  
| class = ambox-out_of_date
{{#ifeq:{{NAMESPACE}}|Template||{{!}} cat=Out of date}}
| image = [[Image:Ambox outdated content.svg|42px|alt=|link=]]
| sub=Please help [{{fullurl:{{FULLPAGENAME}}|action=edit}} improve the {{{space|page}}}] by updating it. There may be additional information on the [[:{{NAMESPACE}} talk:{{PAGENAME}}|talk page]].  
| issue = This {{{part|{{{1|article}}}}}}'s '''accuracy may be compromised due to out-of-date information'''.
| This {{{part|page}}}'s '''accuracy may be compromised due to out-of-date information'''.
| fix  = Please help [{{fullurl:{{FULLPAGENAME}}|action=edit}} improve the {{{space|article}}}] by updating it. There may be additional information on the [[:{{NAMESPACE}} talk:{{PAGENAME}}|talk page]].
}}
| date  = {{{date|}}}
<includeonly>
| cat  = Obsolete
[[Category:Needs update]]
}}<!--{{Out of date}} end--><noinclude>
</includeonly>
For documentation, see: http://en.wikipedia.org/wiki/Template:Out_of_date
<noinclude>
This will add pages to [[:Category:Needs update]].
 
== Possible template arguments ==
 
* '''date'''<br>Insert a date, specifying when the message was inserted into the page. (Will be displayed in a smaller font after the main message.) Can be anything like "July 2012" or "2012-11-10" (as long as people know what it means). Default is to show no date.
* '''space'''<br>specifies the superordinate labeling of the page this template is included in. (The part where it says ''"...help improve the'' [article] '' by updating..."'' Default is "article", but could be "image" or "help page" or something.
* '''part'''<br>denominate the context which the template message is referring to. E.g. the whole article or just a section of one. (Will be used in ''"This'' [article] ''<nowiki>'</nowiki>s accuracy may be..."''.) Default: "article", could be "section" or anything else that makes sense in that sentence.
 
[[Category:Templates]]
</noinclude>
</noinclude>

Revision as of 05:10, 7 November 2014

{{ #msgbox: name=Out of date | type=warn | date= | image=Ambox outdated content.svg

| sub=Please help improve the page by updating it. There may be additional information on the talk page. | This page's accuracy may be compromised due to out-of-date information. }}


This will add pages to Category:Needs update.

Possible template arguments

  • date
    Insert a date, specifying when the message was inserted into the page. (Will be displayed in a smaller font after the main message.) Can be anything like "July 2012" or "2012-11-10" (as long as people know what it means). Default is to show no date.
  • space
    specifies the superordinate labeling of the page this template is included in. (The part where it says "...help improve the [article] by updating..." Default is "article", but could be "image" or "help page" or something.
  • part
    denominate the context which the template message is referring to. E.g. the whole article or just a section of one. (Will be used in "This [article] 's accuracy may be...".) Default: "article", could be "section" or anything else that makes sense in that sentence.