This site is the archived OWASP Foundation Wiki and is no longer accepting Account Requests.
To view the new OWASP Foundation website, please visit https://owasp.org

Difference between revisions of "Template:Reviewed"

From OWASP
Jump to: navigation, search
(New Template to denote a page was reviewed on a certain date (even if it was not edited) (1. Test))
 
(Deleted last Example)
 
(4 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
<!--  Template: Reviewed                          -->
 
<!--  Template: Reviewed                          -->
 
<!--------------------------------------------------------->
 
<!--------------------------------------------------------->
==='''Template:reviewed''' ===
+
Template to denote that a page has been reviewed on a certain date (even if it was not edited).<br/>
Template to denote a page was reviewed on a certain date (even if it was not edited)  
+
It adds the <nowiki>[[Category:FIXME/reviewed/<Year>]]</nowiki> to the page. This Category links to [[:Category:FIXME/reviewed]] and [[:Category:FIXME]].<br/><b>More information: [[Wiki Cleanup]].</b>
 
<br/>
 
<br/>
 
==='''Usage:''' ===
 
==='''Usage:''' ===
 
:{|  
 
:{|  
| &nbsp;<nowiki>{{reviewed|<date-of-review=yyyy-mm-dd>}}</nowiki>
+
| &nbsp;<nowiki>{{reviewed|<date-of-review>}}</nowiki>
 
|}
 
|}
 
+
<br/>
 
=== '''Example 1:''' ===
 
=== '''Example 1:''' ===
:<nowiki>{{reviewed|2014-08-28}} -> [[]]</nowiki>
+
:<nowiki>{{reviewed|2015-01-20}}</nowiki>
 +
::<nowiki> -> [[Category:FIXME/reviewed/2015]]</nowiki>
 +
{{reviewed|2015-01-20}}
 +
<br/>
 +
=== '''Example 2:''' ===
 +
:<nowiki>{{reviewed|28.08.2014}}</nowiki>
 +
::<nowiki> -> [[Category:FIXME/reviewed/2014]]</nowiki>
 +
{{reviewed|28.08.2014}}
 
<br/>
 
<br/>
{{reviewed|2014-08-28}}
+
=== '''Example 3:''' ===
 +
:<nowiki>{{reviewed|08/13/2016}}</nowiki>
 +
::<nowiki> -> [[Category:FIXME/reviewed/2016]]</nowiki>
 +
{{reviewed|08/13/2016}}
 
<br/>
 
<br/>
 
</noinclude><onlyinclude><includeonly>
 
</noinclude><onlyinclude><includeonly>
[[Category:FIXME/reviewed/{{#if {{#time: Y|{{{1|}}}}}|{{#time: Y|{{{1|}}}}}|noDateSet}}]]
+
[[Category:FIXME/reviewed/{{#if: {{#time: Y|{{{1|}}}}}|{{#time: Y|{{{1|}}}}}|noDateSet}}]]
 
</includeonly></onlyinclude>__NOTOC__
 
</includeonly></onlyinclude>__NOTOC__

Latest revision as of 22:21, 29 August 2014

Template to denote that a page has been reviewed on a certain date (even if it was not edited).
It adds the [[Category:FIXME/reviewed/<Year>]] to the page. This Category links to Category:FIXME/reviewed and Category:FIXME.
More information: Wiki Cleanup.

Usage:

 {{reviewed|<date-of-review>}}


Example 1:

{{reviewed|2015-01-20}}
-> [[Category:FIXME/reviewed/2015]]


Example 2:

{{reviewed|28.08.2014}}
-> [[Category:FIXME/reviewed/2014]]


Example 3:

{{reviewed|08/13/2016}}
-> [[Category:FIXME/reviewed/2016]]