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 "Editing:Top 10 2007"
From OWASP
Line 86: | Line 86: | ||
|<nowiki> == </nowiki> | |<nowiki> == </nowiki> | ||
|H2 - used as main headers within a page. Will be appear in TOC if one is included. | |H2 - used as main headers within a page. Will be appear in TOC if one is included. | ||
− | |||
− | |||
− | |||
|- | |- | ||
|<nowiki> === </nowiki> | |<nowiki> === </nowiki> | ||
|H3 - used as second-level headers within a page. Will not appear in TOC by default. | |H3 - used as second-level headers within a page. Will not appear in TOC by default. | ||
+ | |- | ||
+ | |<nowiki> &lt; and &gt; </nowiki> | ||
+ | |Used instead of < and > when used as strings as compared to HTML tags. Sometimes the Wiki allows < and > to go through without using the escapes but sometimes it does bad things. For example <code><nowiki>"<b>" '''BOLD''' notbold</nowiki></code> actually produces <code>"<b>" '''BOLD''' notbold</b></code>. Probably not what you want. | ||
|- | |- | ||
|<nowiki> __NOTOC__ </nowiki> | |<nowiki> __NOTOC__ </nowiki> | ||
Line 99: | Line 99: | ||
|Forces creation of a TOC at that point - even if a TOC would otherwise have not been generated. | |Forces creation of a TOC at that point - even if a TOC would otherwise have not been generated. | ||
|- | |- | ||
− | |<nowiki> “ and ” </nowiki> | + | |<nowiki> &ldquo; and &rdquo; </nowiki> |
|Used as “double quote characters” where needed. | |Used as “double quote characters” where needed. | ||
|- | |- | ||
− | |<nowiki> ‘ and ’ </nowiki> | + | |<nowiki> &lsquo; and &rsquo; </nowiki> |
− | |Used as & | + | |Used as ‘singe quote characters’ where needed. |
+ | |- | ||
+ | |<nowiki> <code> and </code></nowiki> | ||
+ | |Used to dilineate <code>code (fixed-width font, slightly gray background)</code>. | ||
|} | |} | ||
Revision as of 14:34, 13 May 2007
Introduction
This page is intended as an aid to editors of the 2007 Top 10 Vulnerabilities list.
Please help this page grow.
Content Pages
Markup Used
Markup or Style | When used |
---|---|
= | H1 - Never used in top 10 |
== | H2 - used as main headers within a page. Will be appear in TOC if one is included. |
=== | H3 - used as second-level headers within a page. Will not appear in TOC by default. |
< and > | Used instead of < and > when used as strings as compared to HTML tags. Sometimes the Wiki allows < and > to go through without using the escapes but sometimes it does bad things. For example "<b>" '''BOLD''' notbold actually produces "" BOLD notbold . Probably not what you want.
|
__NOTOC__ | Prevents default display of TOC which happens as soon as there is a total of four or more H1 (shouldn't be used) or H2 headers. |
__TOC__ | Forces creation of a TOC at that point - even if a TOC would otherwise have not been generated. |
“ and ” | Used as “double quote characters” where needed. |
‘ and ’ | Used as ‘singe quote characters’ where needed. |
<code> and </code> | Used to dilineate code (fixed-width font, slightly gray background) .
|
Template Pages
Page Link | Contents of Page |
---|---|
Template:Top_10_2007:TopTemplate | Template to produce the top of the page. |
Template:Top_10_2007:BottomTemplate | Template to produce the bottom of the page. |
Template:PrevLink | Template to produce link to previous page in Template:Top_10_2007:TopTemplate and Template:Top_10_2007:BottomTemplate. |
Template:MainLink | Template to produce link to the Top_10_2007 main page in Template:Top_10_2007:TopTemplate and Template:Top_10_2007:BottomTemplate. |
Template:Nothing | Template that produces nothing. It is used by Template:Top_10_2007:TopTemplate and Template:Top_10_2007:BottomTemplate to produce nothing. For example, Top 10 2007 has no previous nor main link so the Nothing template is called instead. |
Template:FIXUP | Template that produces FIXUP notes. The template takes two arguments. The first is a name identifying the user (could be full name, username, initials, it is simply for identification) who added the FIXUP tag. The second is a comment about what needs to be fixed up. For example, {{FIXUP|Neil Smithline|Demo of FIXUP}} produces FIXUP: {{{1}}}: {{{2}}}
. |
General Wiki Help
See Help:Contents.
About Templates
Before doing anything with the templates I strongly suggest you have familiarity with Wikipedia's Template Help and Wikipedia's Advanced Templates Help.