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
 
(27 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:white"{{Template:!}}<font color="white">
+
|}}{{#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|}}}|asd{{Template:!}}style="width:25%; background:#7B8ABD" align="left"{{Template:!}} '''Beginner'''
+
|}}{{#if:{{{presentations|}}}|{{Template:Education Table Row | title = Presentations | text = {{{presentations}}} }}
{{Template:!}} colspan="3" style="width:75%; background:#cccccc" align="left"{{Template:!}}'''{{{beginner}}} '''
+
|}}{{#if:{{{videos|}}}|{{Template:Education Table Row | title = Videos | text = {{{videos}}} }}
{{Template:!}}-|}}
+
|}}
|-
+
|}</includeonly><noinclude>
| style="width:25%; background:#7B8ABD" align="left"| '''Experienced'''
+
= About =
| colspan="3" style="width:75%; background:#cccccc" align="left"|
+
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.
* 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 33: 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 = Test
+
| title = [[Projects/Example/Info | Example Project]]
| beginner = begin
+
| beginner = * training material
 +
| 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