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:TaggedDocument"

From OWASP
Jump to: navigation, search
(added type=delete to include existing 'Template:Delete')
m
Line 7: Line 7:
 
| &nbsp;<nowiki>{{taggedDocument </nowiki> ||  &nbsp;      ||
 
| &nbsp;<nowiki>{{taggedDocument </nowiki> ||  &nbsp;      ||
 
|-  
 
|-  
| &nbsp;&nbsp;<nowiki>| type=<historical|inactiveDraft|merge|old|partialOld></nowiki>  || &nbsp;      ||
+
| &nbsp;&nbsp;<nowiki>| type=<delete|historical|inactiveDraft|merge|old|partialOld></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||
Line 72: Line 72:
 
(This document is only liked to [[:Category:FIXME/old]] and [[:Category:FIXME/silentMode]], no banner)
 
(This document is only liked to [[:Category:FIXME/old]] and [[:Category:FIXME/silentMode]], no banner)
 
<br/>
 
<br/>
 
  
 
=== '''Example5:''' ===
 
=== '''Example5:''' ===
Line 85: Line 84:
 
}}
 
}}
 
<br/>
 
<br/>
 
  
 
=== '''Example6:''' ===
 
=== '''Example6:''' ===
Line 98: Line 96:
 
}}
 
}}
 
<br/>
 
<br/>
 
 
  
 
=== '''Example7:''' ===
 
=== '''Example7:''' ===
Line 110: Line 106:
 
}}
 
}}
 
<br/>
 
<br/>
 
  
 
=== '''Example8:''' ===
 
=== '''Example8:''' ===
Line 131: Line 126:
 
| #default=<div style="background-color: #FFFF66; color: #204A7F; font-size: 170%; line-height: 105%; padding: 6px; padding-top: 4px; font-weight: bold; border:2px solid #204A7F; border-right: none; border-left: none; margin: 0;">
 
| #default=<div style="background-color: #FFFF66; color: #204A7F; font-size: 170%; line-height: 105%; padding: 6px; padding-top: 4px; font-weight: bold; border:2px solid #204A7F; border-right: none; border-left: none; margin: 0;">
 
{{#switch: {{{type}}}
 
{{#switch: {{{type}}}
   | delete=This article has been recommended for [[:Category:Delete|deletion]].<br/>
+
   | delete=This page has been recommended for [[:Category:FIXME/delete|deletion]].<br/><small>You can help OWASP by [{{fullurl:{{FULLPAGENAME}}|action=edit}} improving] it or discussing it on its [{{fullurl:{{TALKPAGENAME}}|action=edit}} Talk] page. {{#if:{{{comment|}}}| |<br/>Please add a comment to '<nowiki>{{</nowiki>[[Template:TaggedDocument|taggedDocument]]<nowiki>... | comment=<comment>...}}</nowiki>'.}} See</small> [[:Category:FIXME|FixME]] [[Category:FIXME/delete]]
<small>You can help OWASP by [{{fullurl:{{FULLPAGENAME}}|action=edit}} improving] it or discussing it on its [{{fullurl:{{TALKPAGENAME}}|action=edit}} Talk] page. {{#if:{{{comment|}}}| |<br/>Please add a comment '<nowiki>| comment=<comment>.</nowiki>'}} See</small> [[:Category:FIXME|FixME]] [[Category:FIXME/delete]]
 
 
   | archive
 
   | archive
 
   | historical=This historical page is now part of the OWASP archive.<br/><small>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.</small><br/>{{#if: {{{link|}}}  
 
   | historical=This historical page is now part of the OWASP archive.<br/><small>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.</small><br/>{{#if: {{{link|}}}  

Revision as of 22:05, 23 April 2014

Usage:

 {{taggedDocument  
  | type=<delete|historical|inactiveDraft|merge|old|partialOld>  
  | mode=<silent> optional, if set no Banner appears on the page; the Category is set
  | lastRevision=<yyyy-mmm-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


Example1:

{{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.


Example2:

{{taggedDocument}}


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


Example3:

{{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.


Example4:

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

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

Example5:

{{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


Example6:

{{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.


Example7:

{{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 your tag. See
FixME


Example8:

{{taggedDocument
| type=delete
| comment=Imported from [[:Category: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: Imported from Category:Delete