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:OWASP Book"

From OWASP
Jump to: navigation, search
Line 5: Line 5:
 
|}<includeonly>{{{2|[[Category:OWASP Books]] }}}</includeonly><noinclude>
 
|}<includeonly>{{{2|[[Category:OWASP Books]] }}}</includeonly><noinclude>
  
 +
==Overview==
 
This template is used to generate a message box indicating that a project has published a book. It should be placed at the top of the project's main page. The template is used as such:
 
This template is used to generate a message box indicating that a project has published a book. It should be placed at the top of the project's main page. The template is used as such:
  
Line 11: Line 12:
 
The value <tt>1234</tt> in the above is the catalog number used to reference the book at Lulu. To get this number, click on the book's title in the Lulu [http://www.lulu/owasp catalog.] The catalog number is the number that appears in the URL.
 
The value <tt>1234</tt> in the above is the catalog number used to reference the book at Lulu. To get this number, click on the book's title in the Lulu [http://www.lulu/owasp catalog.] The catalog number is the number that appears in the URL.
  
 +
==Example==
 
As an example, here is a message box for the <i>OWASP Top 10, 2007 Edition</i> book:
 
As an example, here is a message box for the <i>OWASP Top 10, 2007 Edition</i> book:
  
Line 20: Line 22:
  
 
You can see that <tt>1400974</tt> is the catalog number since the URL for the book at Lulu is [http://www.lulu.com/content/1400974 http://www.lulu.com/content/1400974].
 
You can see that <tt>1400974</tt> is the catalog number since the URL for the book at Lulu is [http://www.lulu.com/content/1400974 http://www.lulu.com/content/1400974].
 +
 +
==Note==
  
 
The template supports a second parameter that is to be used to keep the page on which the template appears off the OWASP Book category list. The primary reason for this is so that the template can be used in examples (such as the example above) without putting the example page on the category list. If it is used, simply add a space as the second parameter:
 
The template supports a second parameter that is to be used to keep the page on which the template appears off the OWASP Book category list. The primary reason for this is so that the template can be used in examples (such as the example above) without putting the example page on the category list. If it is used, simply add a space as the second parameter:

Revision as of 17:49, 15 February 2008

OWASP Books logo.png This project has produced a book that can be downloaded or purchased.
Feel free to browse the full catalog of available OWASP books.

Overview

This template is used to generate a message box indicating that a project has published a book. It should be placed at the top of the project's main page. The template is used as such:

{{OWASP Book|1234}}

The value 1234 in the above is the catalog number used to reference the book at Lulu. To get this number, click on the book's title in the Lulu catalog. The catalog number is the number that appears in the URL.

Example

As an example, here is a message box for the OWASP Top 10, 2007 Edition book:

OWASP Books logo.png This project has produced a book that can be downloaded or purchased.
Feel free to browse the full catalog of available OWASP books.

This tag would be produced on the Top 10 project page with the following code:

{{OWASP Book|1400974}}

You can see that 1400974 is the catalog number since the URL for the book at Lulu is http://www.lulu.com/content/1400974.

Note

The template supports a second parameter that is to be used to keep the page on which the template appears off the OWASP Book category list. The primary reason for this is so that the template can be used in examples (such as the example above) without putting the example page on the category list. If it is used, simply add a space as the second parameter:

{{OWASP Book|1400974| }}}