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 (Test type=silentTag) |
||
| Line 8: | Line 8: | ||
| <nowiki>{{taggedDocument </nowiki> || | | <nowiki>{{taggedDocument </nowiki> || | ||
|- | |- | ||
| − | | <nowiki>|type=<inactiveDraft|merge|old|silentTag></nowiki> || | + | | <nowiki>| type=<inactiveDraft|merge|old|silentTag></nowiki> || || |
|- | |- | ||
| − | | <nowiki>|lastRevision=<yyyy-mmm-dd> | + | | <nowiki>| lastRevision=<yyyy-mmm-dd> </nowiki> || (optional)|| |
|- | |- | ||
| − | | <nowiki>|comment=<comment> | + | | <nowiki>| comment=<comment> </nowiki> || (optional)|| |
|- | |- | ||
| − | | <nowiki>|link=<Name of the 1st Page> | + | | <nowiki>| link=<Name of the 1st Page> </nowiki> || (optional for type=merge) || |
|- | |- | ||
| − | | <nowiki>|link1=<Name of the 2nd Page> | + | | <nowiki>| link1=<Name of the 2nd Page> </nowiki> || (optional for type=merge) || |
|- | |- | ||
| − | | <nowiki>|link2=<Name of the 3dr Page> | + | | <nowiki>| link2=<Name of the 3dr Page> </nowiki> || (optional for type=merge) || |
|- | |- | ||
| − | | <nowiki>}} </nowiki> || | + | | <nowiki>}} </nowiki> || || |
|} | |} | ||
| + | All tagged Documents are linked to the [[:Category:FIXME]] | ||
| + | |||
=== '''Example1:''' === | === '''Example1:''' === | ||
| Line 32: | Line 34: | ||
{{taggedDocument | {{taggedDocument | ||
| type=inactiveDraft | | type=inactiveDraft | ||
| − | | lastRevision=2010-05- | + | | lastRevision=2010-05-31 |
| comment=The second half should be reviewed and finalized. | | comment=The second half should be reviewed and finalized. | ||
}} | }} | ||
| Line 43: | Line 45: | ||
<br/> | <br/> | ||
| + | === '''Example3:''' === | ||
| + | :<nowiki>{{taggedDocument</nowiki> | ||
| + | ::<nowiki>| type=old</nowiki> | ||
| + | ::<nowiki>| lastRevision=2010-05-31</nowiki> | ||
| + | ::<nowiki>| comment=The Document should be updated.</nowiki> | ||
| + | :<nowiki>}}</nowiki> | ||
| + | |||
| + | {{taggedDocument | ||
| + | | type=old | ||
| + | | lastRevision=2010-05-31 | ||
| + | | comment=The Document should be updated. | ||
| + | }} | ||
| + | <br/> | ||
| + | |||
| + | === '''Example4:''' === | ||
| + | :<nowiki>{{taggedDocument</nowiki> | ||
| + | ::<nowiki>| type=silentTag</nowiki> | ||
| + | :<nowiki>}}</nowiki> | ||
| + | |||
| + | {{taggedDocument | ||
| + | | type=silentTag | ||
| + | }} | ||
| + | (This Document is only liked to [[:Category:FIXME]], no banner) | ||
<br/> | <br/> | ||
</noinclude> | </noinclude> | ||
<onlyinclude><includeonly> | <onlyinclude><includeonly> | ||
| − | <div style="background-color: #FFFF66; color: # | + | {{#ifneq: {{{type}}} | silentTag |
| + | | <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}}} | ||
| draft | | draft | ||
| Line 65: | Line 91: | ||
{{#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 --->[[Category:FIXME]]</includeonly></onlyinclude> | + | </div><!-- optional Text ---> |
| + | |}<!-- end ifneq-->[[Category:FIXME]]</includeonly></onlyinclude> | ||
Revision as of 22:33, 8 April 2014
Usage:
{{taggedDocument | type=<inactiveDraft|merge|old|silentTag> | lastRevision=<yyyy-mmm-dd> (optional) | comment=<comment> (optional) | link=<Name of the 1st Page> (optional for type=merge) | link1=<Name of the 2nd Page> (optional for type=merge) | link2=<Name of the 3dr Page> (optional for type=merge) }}
All tagged Documents are linked to the 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=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, no banner)