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
m (Moved Example 6 to upper part that is not included)
 
(41 intermediate revisions by 2 users not shown)
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|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 23: Line 23:
 
| <nowiki>}}                                      </nowiki>  || &nbsp; ||
 
| <nowiki>}}                                      </nowiki>  || &nbsp; ||
 
|}
 
|}
All tagged Documents are linked to the <nowiki>[[Category:FIXME/<Type>]]</nowiki> which links to [[:Category:FIXME]], besides historical Documents.<br/>More information: [[Wiki Cleanup]], [[:Category:FIXME]]
+
All tagged Documents are linked to the <nowiki>[[Category:FIXME/<Type>]]</nowiki> which links to [[:Category:FIXME]], besides historical Documents.<br/>More information: [[Wiki Cleanup]], [[:Category:FIXME]]<br>
 +
<br>Please use the template '[[Template:taggedSection]]' to tag solely some sections that are under contruction or may need futher attention. Please consider that the latter template does not link to any Category.
  
  
=== '''Example1:''' ===
+
=== '''Example 1:''' ===
 
:<nowiki>{{taggedDocument</nowiki>
 
:<nowiki>{{taggedDocument</nowiki>
 
::<nowiki>| type=inactiveDraft</nowiki>
 
::<nowiki>| type=inactiveDraft</nowiki>
Line 32: Line 33:
 
::<nowiki>| comment=The second half of this page should be reviewed and finalized.</nowiki>
 
::<nowiki>| comment=The second half of this page should be reviewed and finalized.</nowiki>
 
:<nowiki>}}</nowiki>
 
:<nowiki>}}</nowiki>
 
 
{{taggedDocument
 
{{taggedDocument
 
  | type=inactiveDraft
 
  | type=inactiveDraft
Line 40: Line 40:
 
<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 52: Line 51:
 
::<nowiki>| comment=The page should be updated.</nowiki>
 
::<nowiki>| comment=The page should be updated.</nowiki>
 
:<nowiki>}}</nowiki>
 
:<nowiki>}}</nowiki>
 
 
{{taggedDocument
 
{{taggedDocument
 
  | type=old
 
  | type=old
Line 60: Line 58:
 
<br/>
 
<br/>
  
=== '''Example4:''' ===
+
=== '''Example 4:''' ===
 
:<nowiki>{{taggedDocument</nowiki>
 
:<nowiki>{{taggedDocument</nowiki>
 
::<nowiki>| type=old</nowiki>
 
::<nowiki>| type=old</nowiki>
 
::<nowiki>| mode=silent</nowiki>
 
::<nowiki>| mode=silent</nowiki>
 
:<nowiki>}}</nowiki>
 
:<nowiki>}}</nowiki>
 
 
{{taggedDocument
 
{{taggedDocument
 
  | type=old
 
  | type=old
Line 74: Line 71:
  
  
=== '''Example5:''' ===
+
=== '''Example 5:''' ===
 
:<nowiki>{{taggedDocument</nowiki>
 
:<nowiki>{{taggedDocument</nowiki>
 
::<nowiki>| type=historical</nowiki>
 
::<nowiki>| type=historical</nowiki>
 
::<nowiki>| link=:Category:OWASP_Top_Ten_Project#tab=OWASP_Top_10_for_2013</nowiki>
 
::<nowiki>| link=:Category:OWASP_Top_Ten_Project#tab=OWASP_Top_10_for_2013</nowiki>
 
:<nowiki>}}</nowiki>
 
:<nowiki>}}</nowiki>
 
 
{{taggedDocument
 
{{taggedDocument
 
  | type=historical
 
  | type=historical
Line 86: Line 82:
 
<br/>
 
<br/>
  
 
+
=== '''Example 6:''' ===
=== '''Example6:''' ===
 
 
:<nowiki>{{taggedDocument</nowiki>
 
:<nowiki>{{taggedDocument</nowiki>
 
::<nowiki>| type=merge</nowiki>
 
::<nowiki>| type=merge</nowiki>
 
::<nowiki>| link=XSS_(Cross_Site_Scripting)_Prevention_Cheat_Sheet</nowiki>
 
::<nowiki>| link=XSS_(Cross_Site_Scripting)_Prevention_Cheat_Sheet</nowiki>
 
:<nowiki>}}</nowiki>
 
:<nowiki>}}</nowiki>
 
 
{{taggedDocument
 
{{taggedDocument
 
  | type=merge
 
  | type=merge
 
  | link=XSS_(Cross_Site_Scripting)_Prevention_Cheat_Sheet
 
  | link=XSS_(Cross_Site_Scripting)_Prevention_Cheat_Sheet
 
}}
 
}}
 +
<br/>
 +
 +
=== '''Example 7:''' ===
 +
:<nowiki>{{taggedDocument</nowiki>
 +
::<nowiki>| type=pls_review</nowiki>
 +
::<nowiki>| comment=Some definitions are updated</nowiki>
 +
:<nowiki>}}</nowiki>
 +
{{taggedDocument
 +
| type=pls_review
 +
| comment=Some definitions are updated
 +
}}
 +
<br/>
 +
 +
=== '''Example 8:''' ===
 +
:<nowiki>{{taggedDocument</nowiki>
 +
::<nowiki>| type=delete</nowiki>
 +
:<nowiki>}}</nowiki>
 +
{{taggedDocument
 +
| type=delete
 +
}}
 +
<br/>
 +
 +
=== '''Example 9:''' ===
 +
:<nowiki>{{taggedDocument</nowiki>
 +
::<nowiki>| type=delete</nowiki>
 +
::<nowiki>| comment=Tagged via fixme/delete.</nowiki>
 +
:<nowiki>}}</nowiki>
 +
{{taggedDocument
 +
| type=delete
 +
| comment=Tagged via fixme/delete.
 +
}}
 +
<br/>
  
 +
=== '''Example 10:''' ===
 +
:<nowiki>{{taggedDocument</nowiki>
 +
::<nowiki>| type=partialOld</nowiki>
 +
:<nowiki>}}</nowiki>
 +
{{taggedDocument
 +
| type=partialOld
 +
}}
 +
<br/>
 +
 +
=== '''Example 11:''' ===
 +
:<nowiki>{{taggedDocument</nowiki>
 +
::<nowiki>| type=design</nowiki>
 +
:<nowiki>}}</nowiki>
 +
{{taggedDocument
 +
| type=design
 +
}}
 +
<br/>
 
</noinclude><onlyinclude><includeonly>
 
</noinclude><onlyinclude><includeonly>
 
{{#switch: {{{mode}}}  
 
{{#switch: {{{mode}}}  
Line 103: Line 146:
 
| silentTag
 
| silentTag
 
| silentMode=[[Category:FIXME/silentMode]]
 
| silentMode=[[Category:FIXME/silentMode]]
| #default=<div style="background-color: #FFFF66; color: #204A7F; font-size: 180%; 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=[[Category:FIXME/delete]]
 +
  | archive
 +
  | historical=[[Category:FIXME/historical]]
 +
  | draft
 +
  | inactiveDraft=[[Category:FIXME/inactiveDraft]]
 +
  | merge=[[Category:FIXME/merge]]
 +
  | someOld
 +
  | partiallyOld
 +
  | partialOld=[[Category:FIXME/partialOld]]
 +
  | pls_review=[[Category:FIXME/pls_review]]
 +
  | old
 +
  | outdated=[[Category:FIXME/old]]
 +
  | design
 +
  | redesign=[[Category:FIXME/design]]
 +
  | #default=[[Category:FIXME/general]]
 +
}} <!--- End '#switch: {{{type}}}' inside silentMode --->
 +
| #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}}}
 +
  | 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 your tag.}} See</small> [[:Category:FIXME|FixME]] [[Category:FIXME/delete]]
 
   | archive
 
   | archive
   | historical=This page contains content that is outdated and is no longer being maintained. This page 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. This historical page is now part of the OWASP archive.<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|}}}  
 
       |<small>Please use the newer Edition(s) like [[{{{link}}}]] {{#if: {{{link1|}}}  
 
       |<small>Please use the newer Edition(s) like [[{{{link}}}]] {{#if: {{{link1|}}}  
 
           |, [[{{{link1}}}]] {{#if: {{{link2|}}}  
 
           |, [[{{{link1}}}]] {{#if: {{{link2|}}}  
 
                 |, [[{{{link2}}}]]
 
                 |, [[{{{link2}}}]]
 
                 |}}
 
                 |}}
           |}}
+
           |}}</small>
       |<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 '<nowiki>| link=<Name of the Page>| link1=<Name of the 2nd Pge>| link2=<Name of the 3rd Page></nowiki>' to the latest content, see</small> [[:Category:FIXME|FixME]])}} [[Category:FIXME/historical]]  
 
   | draft
 
   | draft
   | inactiveDraft=This page contains draft content that has never been finished. <small>Please help OWASP update this content!</small> [[:Category:FIXME|FixME]].[[Category:FIXME/inactiveDraft]]  
+
   | inactiveDraft=This page contains draft content that has never been finished. <small>Please help OWASP update this content! See</small> [[:Category:FIXME|FixME]].[[Category:FIXME/inactiveDraft]]  
   | merge=This page has content this is duplicated elsewhere and needs to be merged and then redirected to the merged document.<br>  
+
   | merge=This page has content this is duplicated elsewhere and needs to be merged and then redirected to the merged document.<br/>{{#if: {{{link|}}}  
    {{#if: {{{link|}}}  
 
 
       |<small>See [[{{{link}}}]]{{#if: {{{link1|}}}  
 
       |<small>See [[{{{link}}}]]{{#if: {{{link1|}}}  
 
           |, [[{{{link1}}}]]{{#if: {{{link2|}}}  
 
           |, [[{{{link1}}}]]{{#if: {{{link2|}}}  
 
                 |, [[{{{link2}}}]]
 
                 |, [[{{{link2}}}]]
 
                 |}}
 
                 |}}
           |}}<br/><small>Please help OWASP to</small> [[:Category:FIXME|FixME]].
+
           |}}. Please help OWASP to</small> [[:Category:FIXME|FixME]].
       |<small>(Please help OWASP and provide the Links '|link=<Name of the Page>|link1=<Name of the 2nd Page>|link2=<Name of the 3rd Page>, 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 flagged for review. <small>Please help OWASP and review this Page to</small> [[:Category:FIXME|FixME]]. [[Category:FIXME/pls_review]]
 
   | old
 
   | old
 
   | 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]]
 +
  | design
 +
  | redesign=<div style="background-color: #B2FF66;">This Page is up to date, but it may need a nicer design! <small>Please help OWASP to</small> [[:Category:FIXME|FixME]]. [[Category:FIXME/design]]</div>
 
   | #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}}}</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__

Latest revision as of 23:28, 4 June 2016

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

Please use the template 'Template:taggedSection' to tag solely some sections that are under contruction or may need futher attention. Please consider that the latter template does not link to any Category.


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


Example 9:

{{taggedDocument
| type=delete
| comment=Tagged via fixme/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 fixme/delete.


Example 10:

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


Example 11:

{{taggedDocument
| type=design
}}
This Page is up to date, but it may need a nicer design! Please help OWASP to FixME.