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:Education Table Row"

From OWASP
Jump to: navigation, search
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#if:{{{title|}}}|{{#if:{{{text|}}}|{{{Template:!}}-
+
<includeonly>{{#if:{{{title|}}}|{{#if:{{{text|}}}|{{Template:!}}-
{{Template:!}}style="width:25%; background:#7B8ABD" align="left"{{Template:!}} '''title'''
+
{{Template:!}}style="width:25%; background:#7B8ABD" align="left"{{Template:!}} '''{{{title}}}'''
 
{{Template:!}} colspan="3" style="width:75%; background:#cccccc" align="left"{{Template:!}}
 
{{Template:!}} colspan="3" style="width:75%; background:#cccccc" align="left"{{Template:!}}
 
{{{text}}}
 
{{{text}}}
 
{{Template:!}}-|}}|}}</includeonly><noinclude>
 
{{Template:!}}-|}}|}}</includeonly><noinclude>
 
= About =
 
= About =
This template is a single row in the OWASP Education information table.
+
This template is a single row in the OWASP Education information table. It must be contained within a wiki table:
 +
<pre>
 +
{|
 +
{{Template: Education Table Row |
 +
title = My Title
 +
text = My text
 +
}}
 +
|}
 +
</pre>
  
 
The parameters are:
 
The parameters are:
 
* title = the title of the row
 
* title = the title of the row
 
* text = the text for the row
 
* text = the text for the row
 +
 +
This template should be used in conjunction with the [[Template:Education Table Header]] template.
  
 
= Usage =
 
= Usage =
Line 21: Line 31:
 
= Example =
 
= Example =
 
<pre>
 
<pre>
 +
{|style="width: 100%;"
 
{{Template:Education Table Row
 
{{Template:Education Table Row
 
| title =
 
| title =
 
| text =
 
| text =
 
}}
 
}}
 +
|}
 
</pre>
 
</pre>
 
== Output ==
 
== Output ==
 +
{|style="width: 100%;"
 
{{Template:Education Table Row
 
{{Template:Education Table Row
 
| title = Education & Guidance
 
| title = Education & Guidance
 
| text = * training material
 
| text = * training material
 
}}
 
}}
 +
|}
 
</noinclude><noinclude>[[Category: GEC Templates]]</noinclude>
 
</noinclude><noinclude>[[Category: GEC Templates]]</noinclude>

Latest revision as of 04:49, 11 October 2010

About

This template is a single row in the OWASP Education information table. It must be contained within a wiki table:

{|
{{Template: Education Table Row | 
title = My Title
text = My text
}}
|}

The parameters are:

  • title = the title of the row
  • text = the text for the row

This template should be used in conjunction with the Template:Education Table Header template.

Usage

{{Template:Education Table Row
| title =
| text =
}}

Example

{|style="width: 100%;"
{{Template:Education Table Row
| title =
| text =
}}
|}

Output

Education & Guidance
  • training material