Difference between revisions of "Template:TaggedDocument"

From OWASP
Jump to: navigation, search
(added Example 5: historical Tag)
m
Line 92: Line 92:
 
{{#switch: {{{type}}}
 
{{#switch: {{{type}}}
 
   | archive
 
   | archive
   | historical=This historical Page is Part of the OWASP Archive. {{#if: {{{link|}}}  
+
   | historical=This historical Page is Part of the OWASP Archive.<br/> {{#if: {{{link|}}}  
       |<br/><small>Please use the newer Edition(s) [[{{{link}}}]]{{#if: {{{link1|}}}  
+
       |<small>Please use the newer Edition(s) like [[{{{link}}}]] {{#if: {{{link1|}}}  
           |, [[{{{link1}}}]]{{#if: {{{link2|}}}  
+
           |, [[{{{link1}}}]] {{#if: {{{link2|}}}  
 
                 |, [[{{{link2}}}]]
 
                 |, [[{{{link2}}}]]
 
                 |}}
 
                 |}}
           |}}for your daily work</small>, see [[:Category:FIXME|FixME]].
+
           |}} &nbsp;for your daily work</small>, see [[:Category:FIXME|FixME]].
 
       |<small>(Please help OWASP and provide the Links '|link=<Name of the Page>|link1=<Name of the 2nd Pge>|link2=<Name of the 3rd Page> to the latest Content, see</small> [[:Category:FIXME|FixME]])|}} [[Category:FIXME/historical]]  
 
       |<small>(Please help OWASP and provide the Links '|link=<Name of the Page>|link1=<Name of the 2nd Pge>|link2=<Name of the 3rd Page> to the latest Content, see</small> [[:Category:FIXME|FixME]])|}} [[Category:FIXME/historical]]  
 
   | draft
 
   | draft

Revision as of 18:23, 12 April 2014

Usage:

 {{taggedDocument  
  | type=<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.


Example1:

{{taggedDocument
| type=inactiveDraft
| lastRevision=2010-05-01
| comment=The second half 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 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 Document should be updated.
}}


This page contains out-of-date content. Please help OWASP to FixME.
Last revision (yyyy-mm-dd): 2010-05-31
Comment: The Document 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