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 (Typo)
(hierarchical Category by Type; 2 new Types: historical,)
Line 8: Line 8:
 
| &nbsp;<nowiki>{{taggedDocument </nowiki> ||   
 
| &nbsp;<nowiki>{{taggedDocument </nowiki> ||   
 
|-  
 
|-  
| &nbsp;&nbsp;<nowiki>| type=<inactiveDraft|merge|old|silentTag></nowiki>  || &nbsp;      ||
+
| &nbsp;&nbsp;<nowiki>| type=<historical|inactiveDraft|merge|old|partialOld|silentTag></nowiki>  || &nbsp;      ||
 
|-  
 
|-  
 
| &nbsp;&nbsp;<nowiki>| lastRevision=<yyyy-mmm-dd>    </nowiki>  || (optional)||  
 
| &nbsp;&nbsp;<nowiki>| lastRevision=<yyyy-mmm-dd>    </nowiki>  || (optional)||  
Line 14: Line 14:
 
| &nbsp;&nbsp;<nowiki>| comment=<comment>            </nowiki>  || (optional)||  
 
| &nbsp;&nbsp;<nowiki>| comment=<comment>            </nowiki>  || (optional)||  
 
|-  
 
|-  
| &nbsp;&nbsp;<nowiki>| link=<Name of the 1st Page>  </nowiki> || (optional for type=merge) ||  
+
| &nbsp;&nbsp;<nowiki>| link=<Name of the 1st Page>  </nowiki> || (optional for type=merge, historical) ||  
 
|-  
 
|-  
| &nbsp;&nbsp;<nowiki>| link1=<Name of the 2nd Page>  </nowiki> || (optional for type=merge) ||  
+
| &nbsp;&nbsp;<nowiki>| link1=<Name of the 2nd Page>  </nowiki> || (optional for type=merge, historical) ||  
 
|-  
 
|-  
| &nbsp;&nbsp;<nowiki>| link2=<Name of the 3rd Page>  </nowiki> || (optional for type=merge) ||  
+
| &nbsp;&nbsp;<nowiki>| link2=<Name of the 3rd Page>  </nowiki> || (optional for type=merge, historical) ||  
 
|-
 
|-
 
| <nowiki>}}                                      </nowiki>  || &nbsp; ||
 
| <nowiki>}}                                      </nowiki>  || &nbsp; ||
 
|}
 
|}
All tagged Documents are linked to the [[:Category:FIXME]]
+
All tagged Documents are linked to the [[:Category:FIXME/<Type>]] which links to [[:Category:FIXME]]
  
  
Line 67: Line 67:
 
  | type=silentTag
 
  | type=silentTag
 
}}
 
}}
(This Document is only liked to [[:Category:FIXME]], no banner)
+
(This Document is only liked to [[:Category:FIXME/silentTag]], no banner)
 
<br/>
 
<br/>
 
</noinclude>
 
</noinclude>
Line 73: Line 73:
 
{{#ifeq: {{{type}}} | silentTag | <!-- nothing ---> | <div style="background-color: #FFFF66; color: #204A7F; font-size: 180%; padding: 2px; padding-top: 4px; font-weight: bold; border: 3px solid #204A7F; border-right: none; border-left: none; margin: 0;">
 
{{#ifeq: {{{type}}} | silentTag | <!-- nothing ---> | <div style="background-color: #FFFF66; color: #204A7F; font-size: 180%; padding: 2px; padding-top: 4px; font-weight: bold; border: 3px solid #204A7F; border-right: none; border-left: none; margin: 0;">
 
{{#switch: {{{type}}}
 
{{#switch: {{{type}}}
 +
| archive
 +
| historical=This historical Page is Part of the OWASP Archive. {#if: {{{link|}}}
 +
    |<small>Please use the newer Edition(s) [[{{{link}}}]]{{#if: {{{link1|}}}
 +
        |, [[{{{link1}}}]]{{#if: {{{link2|}}}
 +
              |, [[{{{link2}}}]]
 +
              |}}
 +
        |}}<br/>for your daily work</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> to the latest Content, see</small> [[:Category:FIXME|FixME]])}}[[Category:FIXME/historical]]
 
  | draft
 
  | draft
  | inactiveDraft=This Page (may) contain Draft Content that has never been finished. <small>Please help OWASP to</small> [[:Category:FIXME|FixME]].
+
  | inactiveDraft=This Page (may) contain Draft Content that has never been finished. <small>Please help OWASP to</small> [[:Category:FIXME|FixME]].[[Category:FIXME/inactiveDraft]]
 
  | merge=More than 1 Pages with about the same Topic or Content are tagged to be merged.  
 
  | merge=More than 1 Pages with about the same Topic or Content are tagged to be merged.  
 
   {{#if: {{{link|}}}  
 
   {{#if: {{{link|}}}  
Line 82: Line 90:
 
               |}}
 
               |}}
 
         |}}<br/><small>Please help OWASP to</small> [[:Category:FIXME|FixME]].
 
         |}}<br/><small>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]])}}  
+
     |<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]]
 +
| someOld
 +
| partialOld=This Page (may) contain some old Content. <small>Please help OWASP to</small> [[:Category:FIXME|FixME]].[[Category:FIXME/partialOld]]
 
  | old
 
  | old
  | outdated=This Page (may) contain old Content. <small>Please help OWASP to</small> [[:Category:FIXME|FixME]].
+
  | outdated=This Page (may) contain old Content. <small>Please help OWASP to</small> [[:Category:FIXME|FixME]]. [[Category:FIXME/old]]
  | silentTag=<!--- This Page is Tagged, see [[:Category:FIXME|FixME]] --->
+
| silent
  | #default=This Page/Document has been tagged. <small>Please help OWASP and document the reason for this, see</small> [[:Category:FIXME|FixME]].
+
  | silentTag=<!--- This Page is Tagged, see [[:Category:FIXME|FixME]] --->[[Category:FIXME/silentTag]]
 +
  | #default=This Page/Document has been tagged. <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: {{{lastRevision|}}}|<br><small>Last revision (yyyy-mmm-dd): {{{lastRevision}}}</small>|}}  
 
{{#if: {{{comment|}}}|<br><small>{{{comment}}}</small>|}}
 
{{#if: {{{comment|}}}|<br><small>{{{comment}}}</small>|}}
</div><!-- optional Text --->}}<!-- end #ifeq {{{type|}}-->[[Category:FIXME]]</includeonly></onlyinclude>
+
</div><!-- optional Text --->}}<!-- end #ifeq {{{type|}}--></includeonly></onlyinclude>[[Category:FIXME|FIXME-Template TaggedDocument to Tag Pages]]
 
__NOTOC__
 
__NOTOC__

Revision as of 22:16, 9 April 2014


Usage:

 {{taggedDocument
  | type=<historical|inactiveDraft|merge|old|partialOld|silentTag>  
  | 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


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=silentTag
}}


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

(This Document is only liked to Category:FIXME/silentTag, no banner)