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:TaggedSection"
From OWASP
(Compiled this template on base of 'Template:taggedDocument' to tag sections within a page without linking it to a 'Category') |
(Some fixes after 1st test) |
||
Line 103: | Line 103: | ||
<br/> | <br/> | ||
</noinclude><onlyinclude><includeonly> | </noinclude><onlyinclude><includeonly> | ||
− | <div style="background-color: #FFFF66; color: #204A7F; font-size: | + | <div style="background-color: #FFFF66; color: #204A7F; font-size: 100%; line-height: 90%; 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=This section has been recommended for deletion.<br/><small>You can help OWASP by improving it or discussing it on its [{{fullurl:{{TALKPAGENAME}}|action=edit}} Talk] page. {{#if:{{{comment|}}}| |<br/>Please add a comment to <nowiki>'{{</nowiki>[https://www.owasp.org/index.php/Template:taggedSection taggedSection] <nowiki>... | comment=<comment> ... }}'</nowiki>.}} | | delete=This section has been recommended for deletion.<br/><small>You can help OWASP by improving it or discussing it on its [{{fullurl:{{TALKPAGENAME}}|action=edit}} Talk] page. {{#if:{{{comment|}}}| |<br/>Please add a comment to <nowiki>'{{</nowiki>[https://www.owasp.org/index.php/Template:taggedSection taggedSection] <nowiki>... | comment=<comment> ... }}'</nowiki>.}} | ||
| draft | | draft | ||
− | | inactiveDraft=This section contains draft content that is under construction.<small>Please help OWASP to update this content!</small> | + | | inactiveDraft=This section contains draft content that is under construction. <small>Please help OWASP to update this content!</small> |
| merge=This section has content this is duplicated elsewhere and needs to be merged. If it is a full page the other page should be redirected to the merged section or document.<br/>{{#if: {{{link|}}} | | merge=This section has content this is duplicated elsewhere and needs to be merged. If it is a full page the other page should be redirected to the merged section or document.<br/>{{#if: {{{link|}}} | ||
|<small>See [[{{{link}}}]]{{#if: {{{link1|}}} | |<small>See [[{{{link}}}]]{{#if: {{{link1|}}} | ||
Line 113: | Line 113: | ||
|, [[{{{link2}}}]] | |, [[{{{link2}}}]] | ||
|}} | |}} | ||
− | |}}. Please help OWASP to</small> | + | |}}. Please help OWASP to fix it.</small> |
|<small>(Please help OWASP and provide the links '<nowiki>| link=<Name of the section/page>| link1=<Name of the 2nd section/page>| link2=<Name of the 3rd section/page></nowiki>'.</small>)}} | |<small>(Please help OWASP and provide the links '<nowiki>| link=<Name of the section/page>| link1=<Name of the 2nd section/page>| link2=<Name of the 3rd section/page></nowiki>'.</small>)}} | ||
| someOld | | someOld | ||
| partiallyOld | | partiallyOld | ||
| partialOld=This section (may) contain some old content. <small>Please help OWASP to update it.</small> | | partialOld=This section (may) contain some old content. <small>Please help OWASP to update it.</small> | ||
− | | pls_review=This section has been flagged for review. <small>Please help OWASP and review | + | | pls_review=This section has been flagged for review. <small>Please help OWASP and review it.</small> |
| old | | old | ||
| outdated=This section contains out-of-date content. <small>Please help OWASP to update it.</small> | | outdated=This section contains out-of-date content. <small>Please help OWASP to update it.</small> | ||
| design | | design | ||
− | | redesign=<div style="background-color: #B2FF66;">This section is up to date, but it may need a nicer design! <small>Please help OWASP to get it nicer</small> | + | | redesign=<div style="background-color: #B2FF66;">This section is up to date, but it may need a nicer design! <small>Please help OWASP to get it nicer.</small></div> |
− | | #default=This page has been tagged and needs review. <small>Please help OWASP and document the reason for this | + | | #default=This page has been tagged and needs review. <small>Please help OWASP and document the reason for this</small>. }} {{#if: {{{lastRevision|}}}|<br><small>Last revision (yyyy-mm-dd): {{{lastRevision}}}</small>|}} {{#if:{{{comment|}}}|<br><small>Comment: {{{comment}}}</small>|}}</div><!-- optional Text ---> |
− | + | </includeonly></onlyinclude>__NOTOC__ |
Revision as of 17:31, 23 March 2016
Template: taggedSection
This template is intended to be used on pages to tag sections that are under contruction or may need futher attention.
This template is copied from taggedDocument and amended to the needs to tag a section within a document. Please use it to tag parts of your page that are under contruction.
Using this has no impact to any external page, notably it is not linked to any Category.
Please use the template 'Template:taggedDocument' if you wish to tag a document and tag it to Category:FIXME
Usage:
{{taggedSection | type=<delete|draft|merge|old|partialOld|pls_review> | lastRevision=<yyyy-mm-dd> (optional) | comment=<comment> (optional) | link=<Name of the 1st section/page> (optional for type=merge) | link1=<Name of the 2nd section/page> (optional for type=merge) | link2=<Name of the 3rd section/page> (optional for type=merge) }}
Example 1:
- {{taggedSection
- | type=draft
- | lastRevision=2016-03-01
- | comment=The second half of this section should be reviewed and finalized.
- }}
This section contains draft content that is under construction. Please help OWASP to finalize this content!
Last revision (yyyy-mm-dd): 2016-03-31
Comment: The second half of this section should be reviewed and finalized.
Last revision (yyyy-mm-dd): 2016-03-31
Comment: The second half of this section should be reviewed and finalized.
Example 2:
- {{taggedSection}}
This page has been tagged and needs review. Please help OWASP and document the reason for this.
Example 3:
- {{taggedSection
- | type=old
- | lastRevision=2010-05-31
- | comment=This section should be updated.
- }}
This section contains out-of-date content. Please help OWASP to update it.
Last revision (yyyy-mm-dd): 2010-05-31
Comment: This section should be updated.
Last revision (yyyy-mm-dd): 2010-05-31
Comment: This section should be updated.
Example 4:
- {{taggedSection
- | type=merge
- | link=XSS_(Cross_Site_Scripting)_Prevention_Cheat_Sheet
- }}
This section has content this is duplicated elsewhere and needs to be merged. If it is a full page the other page should be redirected to the merged section or document.
See XSS_(Cross_Site_Scripting)_Prevention_Cheat_Sheet. Please help OWASP to fix it.
See XSS_(Cross_Site_Scripting)_Prevention_Cheat_Sheet. Please help OWASP to fix it.
Example 5:
- {{taggedSection
- | type=pls_review
- | comment=Some definitions are updated
- }}
This section has been flagged for review. Please help OWASP and review it.
Comment: Some definitions are updated
Comment: Some definitions are updated
Example 6:
- {{taggedSection
- | type=delete
- }}
This section has been recommended for deletion.
You can help OWASP by improving it or discussing it on its Talk page.
Please add a comment to '{{taggedSection ... | comment=<comment> ... }}'.
You can help OWASP by improving it or discussing it on its Talk page.
Please add a comment to '{{taggedSection ... | comment=<comment> ... }}'.
Example 7:
- {{taggedSection
- | type=partialOld
- }}
This section (may) contain some old content. Please help OWASP to update it.
Example 8:
- {{taggedSection
- | type=design
- }}
This section is up to date, but it may need a nicer design! Please help OWASP to get it nicer.