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
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<IfLanguage Is="en">
 
 
{| style="width: 80%; margin: 0 auto; border-collapse: collapse; background: #FBFBFB; border: 1px solid #aaa;"
 
{| style="width: 80%; margin: 0 auto; border-collapse: collapse; background: #FBFBFB; border: 1px solid #aaa;"
 
|-  
 
|-  
Line 30: Line 29:
 
  <nowiki>{{OWASP Book|1400974| }}</nowiki>
 
  <nowiki>{{OWASP Book|1400974| }}</nowiki>
 
  </noinclude>
 
  </noinclude>
 
</IfLanguage>
 
<IfLanguage Is="es">
 
{| style="width: 80%; margin: 0 auto; border-collapse: collapse; background: #FBFBFB; border: 1px solid #aaa;"
 
|-
 
| style="padding: 0.25em 0.25em;" valign="center" | [[Image:OWASP_Books_logo.png|100px]]
 
| style="padding: 0.25em 0.25em;" | Este proyecto a producido un libro que puede ser [http://www.lulu.com/content/{{{1}}} descargado o comprado.]<br>siéntase libre de ver nuestro [http://stores.lulu.com/owasp catálogo completo de libros de OWASP.]
 
|}<includeonly>{{{2|[[Category:OWASP Books|Categoría: Libros OWASP]] }}}</includeonly><noinclude>
 
 
==Introducción==
 
Esta plantilla se usa para generar una caja de texto indicando que el proyecto ha publicado un libro. Debe ser puesto en la parte superios de la página principal delproyecto. Para usar la plantilla, ponga el siguiente texto en el principio de la página principal del proyecto:
 
 
<nowiki>{{OWASP Book|1234}}</nowiki>
 
 
El valor <tt>1234</tt> arriba es el número de catálogo usado para referirse al libro en Lulu. Para obtener este número, de clic en el título del libro en el [http://stores.lulu/owasp catalogo] de Lulu. el número de catálogo es el número que aparece en la URL.
 
 
==Ejemplo==
 
Como ejemplo, aqui hay una caja de mensaje para el libro de <i>OWASP Top 10, Edición 2007</i>:
 
 
{{OWASP Book|1400974| }}
 
 
Esta etiqueta debe ser producidad en la´página del proyecto Top 10 con el siguiente código:
 
 
<nowiki>{{OWASP Book|1400974}}</nowiki>
 
 
Puede ver que <tt>1400974</tt> es el número de catalogo dado que el URL para el libro en Lulu es [http://www.lulu.com/content/1400974 http://www.lulu.com/content/1400974].
 
 
 
==Nota==
 
 
La plantilla soporta un segundo parametro que es usado para mantener la página en la cual aparece la plantilla en la lista de categorías de libro de OWASP. La razón principal para esto es que la plantilla puede ser usada en ejemplos (como el ejemplo arriba) sin poner la página de ejemplo en la lista de categorias. Si es usado, simplemente agrege un espacion como el segund parámetro:
 
 
<nowiki>{{OWASP Book|1400974| }}</nowiki>
 
</noinclude>
 
</IfLanguage>
 

Latest revision as of 03:44, 17 December 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. To use the template, put the following text at the beginning of the project's main page:

{{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| }}