Template:Outdated/Doc: Difference between revisions
No edit summary |
No edit summary |
||
Line 7: | Line 7: | ||
It is simply sufficient to include this template with no other information inside an outdated section or article. The following example will produce a very simple notice: | It is simply sufficient to include this template with no other information inside an outdated section or article. The following example will produce a very simple notice: | ||
< | {{code|lang=mediawiki|line=no|<nowiki>{{Outdated}}</nowiki>}} | ||
{{Outdated}} | |||
</ | |||
{{Outdated|category=no}} | {{Outdated|category=no}} | ||
Line 15: | Line 13: | ||
However, you are encouraged to, at the very least, provide the current month and date in order to keep track of ''how'' outdated a piece of information is; the month and year should suffice: | However, you are encouraged to, at the very least, provide the current month and date in order to keep track of ''how'' outdated a piece of information is; the month and year should suffice: | ||
< | {{code|lang=mediawiki|line=no|<nowiki>{{Outdated|date=July 2029}}</nowiki>}} | ||
{{Outdated|date=July 2029}} | |||
</ | |||
{{Outdated|category=no|date=July 2029}} | {{Outdated|category=no|date=July 2029}} | ||
Line 23: | Line 19: | ||
You are also encouraged to provide a reason for why a piece of information is outdated. For example, this section would be outdated because the syntax is not supported in the new version of MediaWiki: | You are also encouraged to provide a reason for why a piece of information is outdated. For example, this section would be outdated because the syntax is not supported in the new version of MediaWiki: | ||
< | {{code|lang=mediawiki|line=no|<nowiki>{{Outdated|reason=The syntax is no longer supported in new versions of MediaWiki.}}</nowiki>}} | ||
{{Outdated|reason=The syntax is no longer supported in new versions of MediaWiki.}} | |||
</ | |||
{{Outdated|category=no|reason=The syntax is no longer supported in new versions of MediaWiki.}} | {{Outdated|category=no|reason=The syntax is no longer supported in new versions of MediaWiki.}} | ||
Line 31: | Line 25: | ||
Finally, it might be that only a specific section, or a specific element of an article, is outdated. You can specify the scope of the outdated information: | Finally, it might be that only a specific section, or a specific element of an article, is outdated. You can specify the scope of the outdated information: | ||
< | {{code|lang=mediawiki|line=no|<nowiki>{{Outdated|scope=block of code}}</nowiki>}} | ||
{{Outdated|scope=block of code}} | |||
</ | |||
{{Outdated|category=no|scope=block of code}} | {{Outdated|category=no|scope=block of code}} | ||
Line 43: | Line 35: | ||
You can modify the notice's discussion link. For example, if you create a relevant section called ''No longer the case'' on a page's Talk page, you can link it so: | You can modify the notice's discussion link. For example, if you create a relevant section called ''No longer the case'' on a page's Talk page, you can link it so: | ||
< | {{code|lang=mediawiki|line=no|<nowiki>{{Outdated|talk=Talk:Example/No longer the case}}</nowiki>}} | ||
{{Outdated|talk=Talk:Example/No longer the case}} | |||
</ | |||
{{Outdated|category=no|talk=Talk:Example/No longer the case}} | {{Outdated|category=no|talk=Talk:Example/No longer the case}} |