Difference between revisions of "Template:TaggedDocument"

From OWASP
Jump to: navigation, search
m (Get Examples closer to their description)
m ('''Example 10:''' partialOld)
Line 7: Line 7:
 
| &nbsp;<nowiki>{{taggedDocument </nowiki> ||  &nbsp;      ||
 
| &nbsp;<nowiki>{{taggedDocument </nowiki> ||  &nbsp;      ||
 
|-  
 
|-  
| &nbsp;&nbsp;<nowiki>| type=<delete|historical|inactiveDraft|merge|old|partialOld></nowiki>  || &nbsp;      ||
+
| &nbsp;&nbsp;<nowiki>| type=<delete|historical|inactiveDraft|merge|old|partialOld|pls_review></nowiki>  || &nbsp;      ||
 
|-  
 
|-  
 
| &nbsp;&nbsp;<nowiki>| mode=<silent></nowiki>                  || optional, if set no Banner appears on the page; the Category is set||
 
| &nbsp;&nbsp;<nowiki>| mode=<silent></nowiki>                  || optional, if set no Banner appears on the page; the Category is set||
 
|-  
 
|-  
| &nbsp;&nbsp;<nowiki>| lastRevision=<yyyy-mmm-dd>    </nowiki> || (optional)||  
+
| &nbsp;&nbsp;<nowiki>| lastRevision=<yyyy-mm-dd>    </nowiki>   || (optional)||  
 
|-  
 
|-  
 
| &nbsp;&nbsp;<nowiki>| comment=<comment>            </nowiki>  || (optional)||  
 
| &nbsp;&nbsp;<nowiki>| comment=<comment>            </nowiki>  || (optional)||  
Line 26: Line 26:
  
  
=== '''Example1:''' ===
+
=== '''Example 1:''' ===
 
:<nowiki>{{taggedDocument</nowiki>
 
:<nowiki>{{taggedDocument</nowiki>
 
::<nowiki>| type=inactiveDraft</nowiki>
 
::<nowiki>| type=inactiveDraft</nowiki>
Line 39: Line 39:
 
<br/>
 
<br/>
  
=== '''Example2:''' ===
+
=== '''Example 2:''' ===
 
:<nowiki>{{taggedDocument}}</nowiki>
 
:<nowiki>{{taggedDocument}}</nowiki>
 
{{TaggedDocument}}
 
{{TaggedDocument}}
 
<br/>
 
<br/>
  
=== '''Example3:''' ===
+
=== '''Example 3:''' ===
 
:<nowiki>{{taggedDocument</nowiki>
 
:<nowiki>{{taggedDocument</nowiki>
 
::<nowiki>| type=old</nowiki>
 
::<nowiki>| type=old</nowiki>
Line 57: Line 57:
 
<br/>
 
<br/>
  
=== '''Example4:''' ===
+
=== '''Example 4:''' ===
 
:<nowiki>{{taggedDocument</nowiki>
 
:<nowiki>{{taggedDocument</nowiki>
 
::<nowiki>| type=old</nowiki>
 
::<nowiki>| type=old</nowiki>
Line 70: Line 70:
  
  
=== '''Example5:''' ===
+
=== '''Example 5:''' ===
 
:<nowiki>{{taggedDocument</nowiki>
 
:<nowiki>{{taggedDocument</nowiki>
 
::<nowiki>| type=historical</nowiki>
 
::<nowiki>| type=historical</nowiki>
Line 81: Line 81:
 
<br/>
 
<br/>
  
=== '''Example6:''' ===
+
=== '''Example 6:''' ===
 
:<nowiki>{{taggedDocument</nowiki>
 
:<nowiki>{{taggedDocument</nowiki>
 
::<nowiki>| type=merge</nowiki>
 
::<nowiki>| type=merge</nowiki>
Line 92: Line 92:
 
<br/>
 
<br/>
  
=== '''Example7:''' ===
+
=== '''Example 7:''' ===
 
:<nowiki>{{taggedDocument</nowiki>
 
:<nowiki>{{taggedDocument</nowiki>
 
::<nowiki>| type=pls_review</nowiki>
 
::<nowiki>| type=pls_review</nowiki>
Line 103: Line 103:
 
<br/>
 
<br/>
  
=== '''Example8:''' ===
+
=== '''Example 8:''' ===
 
:<nowiki>{{taggedDocument</nowiki>
 
:<nowiki>{{taggedDocument</nowiki>
 
::<nowiki>| type=delete</nowiki>
 
::<nowiki>| type=delete</nowiki>
Line 112: Line 112:
 
<br/>
 
<br/>
  
=== '''Example9:''' ===
+
=== '''Example 9:''' ===
 
:<nowiki>{{taggedDocument</nowiki>
 
:<nowiki>{{taggedDocument</nowiki>
 
::<nowiki>| type=delete</nowiki>
 
::<nowiki>| type=delete</nowiki>
Line 120: Line 120:
 
  | type=delete
 
  | type=delete
 
  | comment=Tagged via [[Template:Delete]]
 
  | comment=Tagged via [[Template:Delete]]
 +
}}
 +
<br/>
 +
 +
=== '''Example 10:''' ===
 +
:<nowiki>{{taggedDocument</nowiki>
 +
::<nowiki>| type=partialOld</nowiki>
 +
:<nowiki>}}</nowiki>
 +
{{taggedDocument
 +
| type=partialOld
 
}}
 
}}
 
<br/>
 
<br/>
Line 150: Line 159:
 
       |<small>(Please help OWASP and provide the Links '<nowiki>|link=<Name of the Page>|link1=<Name of the 2nd Page>|link2=<Name of the 3rd Page></nowiki>', see</small> [[:Category:FIXME|FixME]])}} [[Category:FIXME/merge]]  
 
       |<small>(Please help OWASP and provide the Links '<nowiki>|link=<Name of the Page>|link1=<Name of the 2nd Page>|link2=<Name of the 3rd Page></nowiki>', see</small> [[:Category:FIXME|FixME]])}} [[Category:FIXME/merge]]  
 
   | someOld
 
   | someOld
 +
  | partiallyOld
 
   | partialOld=This Page (may) contain some old Content. <small>Please help OWASP to</small> [[:Category:FIXME|FixME]]. [[Category:FIXME/partialOld]]  
 
   | partialOld=This Page (may) contain some old Content. <small>Please help OWASP to</small> [[:Category:FIXME|FixME]]. [[Category:FIXME/partialOld]]  
 
   | pls_review=This Page has been recently updated. <small>Please help OWASP and review this Page to</small> [[:Category:FIXME|FixME]]. [[Category:FIXME/pls_review]]  
 
   | pls_review=This Page has been recently updated. <small>Please help OWASP and review this Page to</small> [[:Category:FIXME|FixME]]. [[Category:FIXME/pls_review]]  
Line 155: Line 165:
 
   | outdated=This page contains out-of-date content. <small>Please help OWASP to</small> [[:Category:FIXME|FixME]]. [[Category:FIXME/old]]
 
   | outdated=This page contains out-of-date content. <small>Please help OWASP to</small> [[:Category:FIXME|FixME]]. [[Category:FIXME/old]]
 
   | #default=This page has been tagged and needs review. <small>Please help OWASP and document the reason for this, see</small> [[:Category:FIXME|FixME]].[[Category:FIXME/general]]
 
   | #default=This page has been tagged and needs review. <small>Please help OWASP and document the reason for this, see</small> [[:Category:FIXME|FixME]].[[Category:FIXME/general]]
  }} {{#if: {{{lastRevision|}}}|<br><small>Last revision (yyyy-mmm-dd): {{{lastRevision}}}</small>|}} {{#if:{{{comment|}}}|<br><small>Comment: {{{comment}}}</small>|}}</div><!-- optional Text --->
+
  }} {{#if: {{{lastRevision|}}}|<br><small>Last revision (yyyy-mm-dd): {{{lastRevision}}}</small>|}} {{#if:{{{comment|}}}|<br><small>Comment: {{{comment}}}</small>|}}</div><!-- optional Text --->
 
}}<!-- end #switch {{{mode}}}--></includeonly></onlyinclude>[[Category:FIXME]]__NOTOC__
 
}}<!-- end #switch {{{mode}}}--></includeonly></onlyinclude>[[Category:FIXME]]__NOTOC__

Revision as of 16:46, 11 May 2014

Usage:

 {{taggedDocument  
  | type=<delete|historical|inactiveDraft|merge|old|partialOld|pls_review>  
  | mode=<silent> optional, if set no Banner appears on the page; the Category is set
  | lastRevision=<yyyy-mm-dd> (optional)
  | comment=<comment> (optional)
  | link=<Name of the 1st Page> (optional for type=merge, historical)
  | link1=<Name of the 2nd Page> (optional for type=merge, historical)
  | link2=<Name of the 3rd Page> (optional for type=merge, historical)
}}  

All tagged Documents are linked to the [[Category:FIXME/<Type>]] which links to Category:FIXME, besides historical Documents.
More information: Wiki Cleanup, Category:FIXME


Example 1:

{{taggedDocument
| type=inactiveDraft
| lastRevision=2010-05-01
| comment=The second half of this page should be reviewed and finalized.
}}
This page contains draft content that has never been finished. Please help OWASP update this content! See FixME.
Last revision (yyyy-mm-dd): 2010-05-31
Comment: The second half of this page should be reviewed and finalized.


Example 2:

{{taggedDocument}}
This page has been tagged and needs review. Please help OWASP and document the reason for this, see FixME.


Example 3:

{{taggedDocument
| type=old
| lastRevision=2010-05-31
| comment=The page should be updated.
}}
This page contains out-of-date content. Please help OWASP to FixME.
Last revision (yyyy-mm-dd): 2010-05-31
Comment: This page should be updated.


Example 4:

{{taggedDocument
| type=old
| mode=silent
}}

(This document is only liked to Category:FIXME/old and Category:FIXME/silentMode, no banner)


Example 5:

{{taggedDocument
| type=historical
| link=:Category:OWASP_Top_Ten_Project#tab=OWASP_Top_10_for_2013
}}
This historical page is now part of the OWASP archive.
This page contains content that is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were once valid but may now link to sites or pages that no longer exist.
Please use the newer Edition(s) like Category:OWASP_Top_Ten_Project#tab=OWASP_Top_10_for_2013


Example 6:

{{taggedDocument
| type=merge
| link=XSS_(Cross_Site_Scripting)_Prevention_Cheat_Sheet
}}
This page has content this is duplicated elsewhere and needs to be merged and then redirected to the merged document.
See XSS_(Cross_Site_Scripting)_Prevention_Cheat_Sheet. Please help OWASP to FixME.


Example 7:

{{taggedDocument
| type=pls_review
| comment=Some definitions are updated
}}
This Page has been flagged for review. Please help OWASP and review this Page to FixME.
Comment: Some definitions are updated


Example 8:

{{taggedDocument
| type=delete
}}
This page has been recommended for deletion.
You can help OWASP by improving it or discussing it on its Talk page.
Please add a comment to '{{taggedDocument ... | comment=<comment> ... }}'. See
FixME


Example 9:

{{taggedDocument
| type=delete
| comment=Tagged via [[Template:Delete]]
}}
This page has been recommended for deletion.
You can help OWASP by improving it or discussing it on its Talk page. See FixME
Comment: Tagged via Template:Delete


Example 10:

{{taggedDocument
| type=partialOld
}}
This Page (may) contain some old Content. Please help OWASP to FixME.