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
m |
m |
||
| 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/> | ||
| − | </noinclude><onlyinclude><includeonly>{{#switch: {{{mode}}} | + | </noinclude><onlyinclude><includeonly> |
| + | {{#switch: {{{mode}}} | ||
| silent | | silent | ||
| silentTag | | silentTag | ||
| silentMode=[[Category:FIXME/silentMode]] | | silentMode=[[Category:FIXME/silentMode]] | ||
| − | | #default=<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; | + | | #default=<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 | | archive | ||
| historical=This historical Page is Part of the OWASP Archive. {{#if: {{{link|}}} | | historical=This historical Page is Part of the OWASP Archive. {{#if: {{{link|}}} | ||
| Line 100: | Line 101: | ||
| old | | old | ||
| outdated=This Page (may) contain old Content. <small>Please help OWASP to</small> [[:Category:FIXME|FixME]]. [[Category:FIXME/old]] | | outdated=This Page (may) contain old Content. <small>Please help OWASP to</small> [[:Category:FIXME|FixME]]. [[Category:FIXME/old]] | ||
| − | | #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: {{{comment|}}}|<br><small>{{{comment}}}</small>|}}</div><!-- optional Text ---> | + | | #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]] |
| − | }}<!-- end #switch {{{mode}}}--></includeonly></onlyinclude>[[Category:FIXME]] | + | }} |
| − | __NOTOC__ | + | {{#if: {{{lastRevision|}}}|<br><small>Last revision (yyyy-mmm-dd): {{{lastRevision}}}</small>|}} |
| + | {{#if:{{{comment|}}}|<br><small>{{{comment}}}</small>|}}</div><!-- optional Text ---> | ||
| + | }}<!-- end #switch {{{mode}}}--></includeonly></onlyinclude>[[Category:FIXME]]__NOTOC__ | ||
Revision as of 00:02, 12 April 2014
Usage:
{{taggedDocument | type=<historical|inactiveDraft|merge|old|partialOld|silentTag> | 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
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.
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.
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)