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 Info"

From OWASP
Jump to: navigation, search
 
(22 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
+
<includeonly>{|{{#if:{{{title|}}}| {{Template:Education Table Header | title = {{{title}}} }}  
{{{#if:{{{project_name|}}}|{{Template:!}}style="width:100%" border="0" align="center"
+
|}}{{#if:{{{beginner|}}}|{{Template:Education Table Row | title = Beginner | text = {{{beginner}}} }}
! colspan="4" align="center" style="background:#FFFFFF; color:#039;"{{Template:!}}
+
|}}{{#if:{{{experienced|}}}|{{Template:Education Table Row | title = Experienced | text = {{{experienced}}} }}
'''{{{project_name}}}'''
+
|}}{{#if:{{{expert|}}}|{{Template:Education Table Row | title = Expert | text = {{{expert}}} }}
{{Template:!}}-|WTF}}{{#if:{{{beginner|}}}|{{Template:!}}-
+
|}}{{#if:{{{presentations|}}}|{{Template:Education Table Row | title = Presentations | text = {{{presentations}}} }}
{{Template:!}}style="width:25%; background:#7B8ABD" align="left"{{Template:!}} '''Beginner'''
+
|}}{{#if:{{{videos|}}}|{{Template:Education Table Row | title = Videos | text = {{{videos}}} }}
{{Template:!}} colspan="3" style="width:75%; background:#cccccc" align="left"{{Template:!}}'''{{{beginner}}} '''
+
|}}
{{Template:!}}-|}}
+
|}</includeonly><noinclude>
|-
+
= About =
| style="width:25%; background:#7B8ABD" align="left"| '''Experienced'''
+
This template provides a standard view for OWASP Education information related to a particular subject. The table allows users to identify resources relevant to their skill level or interest.
| colspan="3" style="width:75%; background:#cccccc" align="left"|
 
* training material
 
|-
 
| style="width:25%; background:#7B8ABD" align="left"| '''Expert'''
 
| colspan="3" style="width:75%; background:#cccccc" align="left"|
 
* training material
 
|-
 
| style="width:25%; background:#7B8ABD" align="left"| '''Video's '''
 
| colspan="3" style="width:75%; background:#cccccc" align="left"|
 
* training video
 
|}
 
</includeonly>
 
  
<noinclude>
+
All parameters are options. If a parameter is not supplied, the relevant row in the table is not displayed.
= About =
+
* title = the title to display above the table ''(can be wiki text)''
 +
* beginner = items for beginners ''(should be wiki text)''
 +
* experienced = items for experienced users ''(should be wiki text)''
 +
* expert = items for experts ''(should be wiki text)''
 +
* presentations = presentations on the topic ''(should be wiki text)''
 +
* videos = videos for the topic ''(should be wiki text)''
  
 
= Usage =
 
= Usage =
 
<pre>
 
<pre>
 
{{Template:Education Info
 
{{Template:Education Info
 +
| title =
 +
| beginner =
 +
| experienced =
 +
| expert =
 +
| presentations =
 +
| videos =
 
}}
 
}}
 
</pre>
 
</pre>
Line 34: Line 33:
 
<pre>
 
<pre>
 
{{Template:Education Info
 
{{Template:Education Info
 +
| title = [[Projects/Example/Info | Example Project]]
 +
| beginner = * training material
 +
| videos = * training video
 
}}
 
}}
 
</pre>
 
</pre>
 
== Output ==
 
== Output ==
 
{{Template:Education Info
 
{{Template:Education Info
| project_name = hop
+
| title = [[Projects/Example/Info | Example Project]]
| beginner = * begin
+
| beginner = * training material
*end
+
| videos = * training video
 
}}
 
}}
</noinclude>
+
</noinclude><noinclude>[[Category: GEC Templates]]</noinclude>
<noinclude>[[Category: GEC Templates]]</noinclude>
 

Latest revision as of 05:26, 11 October 2010

About

This template provides a standard view for OWASP Education information related to a particular subject. The table allows users to identify resources relevant to their skill level or interest.

All parameters are options. If a parameter is not supplied, the relevant row in the table is not displayed.

  • title = the title to display above the table (can be wiki text)
  • beginner = items for beginners (should be wiki text)
  • experienced = items for experienced users (should be wiki text)
  • expert = items for experts (should be wiki text)
  • presentations = presentations on the topic (should be wiki text)
  • videos = videos for the topic (should be wiki text)

Usage

{{Template:Education Info
| title =
| beginner =
| experienced =
| expert =
| presentations =
| videos =
}}

Example

{{Template:Education Info
| title = [[Projects/Example/Info | Example Project]]
| beginner = * training material
| videos = * training video
}}

Output

Example Project

Beginner
  • training material
Videos
  • training video