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:Releases Summary"

From OWASP
Jump to: navigation, search
(Created page with '<includeonly> {| width="100%" border="0" align="left" ! width="50%" style="background:#cccccc; color: black; align: center; font-size: larger;" | current release ! style="backgr…')
 
m (Protected "Template:Releases Summary": Excessive Page Edits that break the templates (‎[edit=sysop] (indefinite) ‎[move=sysop] (indefinite)))
 
(113 intermediate revisions by 8 users not shown)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
 
{| width="100%" border="0" align="left"  
 
{| width="100%" border="0" align="left"  
! width="50%" style="background:#cccccc; color: black; align: center; font-size: larger;" | current release
+
! width="50%" style="background:#cccccc; color: black; align: center; font-size: larger;" | {{#ifexist: Projects/{{{project_name}}}/Releases/Current | [[Projects/{{{project_name}}}/Releases/Current {{Template:!}} current release]]
! style="background:#ffffff; align: left;" colspan="1" |  
+
{{Template:!}}-
 +
! style="background:#ffffff; align: left;" colspan="1" {{Template:!}}
 +
{{Template:!}}-
 +
{{Template:!}} colspan="2" {{Template:!}} {{:Projects/{{{project_name}}}/Releases/Current | Short Release About }} |  [[Projects/{{{project_name}}}/Releases/Current {{Template:!}} current release]]
 +
{{Template:!}}-
 +
{{Template:!}} style="background:#ffffff; align: left;" colspan="1" {{Template:!}} Not Yet Published  }}
 +
{{Template:!}} <!-- empty cell -->
 +
{{Template:!}}-
 +
! style="background:#cccccc; color: black; align: center; font-size: larger;" | {{#ifexist:  Projects/{{{project_name}}}/Releases/Last Reviewed Release | [[Projects/{{{project_name}}}/Releases/Last Reviewed Release | last reviewed release]]
 +
! style="background:#ffffff;" align: left;" colspan="1" {{Template:!}}
 +
{{Template:!}}-
 +
{{Template:!}} colspan="2" {{Template:!}} {{:Projects/{{{project_name}}}/Releases/Last Reviewed Release | Short Release About}}  | [[Projects/{{{project_name}}}/Releases/Last Reviewed Release | last reviewed release]]
 +
{{Template:!}}-
 +
{{Template:!}} style="background:#ffffff; align: left;" colspan="1" {{Template:!}} Not Yet Reviewed  }}
 +
{{Template:!}}
 +
|}
 +
<br/>
 +
{| width="100%" border="0" align="left"
 +
! width="50%" style="background:#cccccc; color: black; align: center; font-size: larger;" | other releases
 +
|
 
|-
 
|-
| colspan="2" | {{:Projects/{{{project_name}}}/Releases/Current | Short Release About}}
+
| {{#ifexist: Projects/{{{project_name}}}/Releases/{{{release_10}}} | * [[Projects/{{{project_name}}}/Releases/{{{release_10}}} {{Template:!}} {{{release_10}}}]] | }}{{#ifexist: Projects/{{{project_name}}}/Releases/{{{release_9}}}      | * [[Projects/{{{project_name}}}/Releases/{{{release_9}}} {{Template:!}} {{{release_9}}}]] | }}{{#ifexist: Projects/{{{project_name}}}/Releases/{{{release_8}}}      | * [[Projects/{{{project_name}}}/Releases/{{{release_8}}} {{Template:!}} {{{release_8}}}]] | }}{{#ifexist: Projects/{{{project_name}}}/Releases/{{{release_7}}}      | * [[Projects/{{{project_name}}}/Releases/{{{release_7}}} {{Template:!}} {{{release_7}}}]] | }}{{#ifexist: Projects/{{{project_name}}}/Releases/{{{release_6}}}      | * [[Projects/{{{project_name}}}/Releases/{{{release_6}}} {{Template:!}} {{{release_6}}}]] | }}{{#ifexist: Projects/{{{project_name}}}/Releases/{{{release_5}}}      | * [[Projects/{{{project_name}}}/Releases/{{{release_5}}} {{Template:!}} {{{release_5}}}]] | }}{{#ifexist: Projects/{{{project_name}}}/Releases/{{{release_4}}}      | * [[Projects/{{{project_name}}}/Releases/{{{release_4}}} {{Template:!}} {{{release_4}}}]] | }}{{#ifexist: Projects/{{{project_name}}}/Releases/{{{release_3}}}      | * [[Projects/{{{project_name}}}/Releases/{{{release_3}}} {{Template:!}} {{{release_3}}}]] | }}{{#ifexist: Projects/{{{project_name}}}/Releases/{{{release_2}}}      | * [[Projects/{{{project_name}}}/Releases/{{{release_2}}} {{Template:!}} {{{release_2}}}]] | }}{{#ifexist: Projects/{{{project_name}}}/Releases/{{{release_1}}}      | * [[Projects/{{{project_name}}}/Releases/{{{release_1}}} {{Template:!}} {{{release_1}}}]] | }}
  
 
|-
 
! style="background:#cccccc; color: black; align: center; font-size: larger;" |
 
last reviewed release
 
! style="background:#ffffff;" align: left;" colspan="1" |
 
|-
 
| colspan="2" | {{:Projects/{{{project_name}}}/Releases/Last Reviewed Release | Short Release About}}
 
 
|}
 
|}
<noinclude>
+
</includeonly><noinclude>
-----
 
{{#if: {{{old_release_name1|}}} |
 
{{Template:!}}-
 
! style="background:#cccccc; color: black; align: center; font-size: larger;" {{Template:!}} other releases
 
! style="background:#ffffff; align: left;" colspan="1" {{Template:!}}
 
  
{{Template:!}}-
 
{{Template:!}} colspan="2" {{Template:!}} <!--'''''Name:'''''<br />-->''' {{#if: {{{old_release_name1|}}} | * {{Template:Release | release_name = {{#if: {{{old_release_name1|}}} | {{{old_release_name1}}} | }} | release_date = {{#if: {{{old_release_date1|}}} | {{{old_release_date1}}} | }} | download_link = {{#if: {{{old_release_download_link1|}}} | {{{old_release_download_link1}}} | }} }} | N/A }} {{#if: {{{old_release_name2|}}} | * {{Template:Release | release_name = {{#if: {{{old_release_name2|}}} | {{{old_release_name2}}} | }} | release_date = {{#if: {{{old_release_date2|}}} | {{{old_release_date2}}} | }} | download_link = {{#if: {{{old_release_download_link2|}}} | {{{old_release_download_link2}}} | }} }} | }}{{#if: {{{old_release_name3|}}} | * {{Template:Release | release_name = {{#if: {{{old_release_name3|}}} | {{{old_release_name3}}} | }} | release_date = {{#if: {{{old_release_date3|}}} | {{{old_release_date3}}} | }} | download_link = {{#if: {{{old_release_download_link3|}}} | {{{old_release_download_link3}}} | }} }} | }}{{#if: {{{old_release_name4|}}} | * {{Template:Release | release_name = {{#if: {{{old_release_name4|}}} | {{{old_release_name4}}} | }} | release_date = {{#if: {{{old_release_date4|}}} | {{{old_release_date4}}} | }} | download_link = {{#if: {{{old_release_download_link4|}}} | {{{old_release_download_link4}}} | }} }} | }}{{#if: {{{old_release_name5|}}} | * {{Template:Release | release_name = {{#if: {{{old_release_name5|}}} | {{{old_release_name5}}} | }} | release_date = {{#if: {{{old_release_date5|}}} | {{{old_release_date5}}} | }} | download_link = {{#if: {{{old_release_download_link5|}}} | {{{old_release_download_link5}}} | }} }} | }}
 
| }}
 
|}</noinclude></includeonly><noinclude>
 
This template displays key OWASP Release Info, including the current release, release leader, and release quality. All parameters are optional. A section only appears if information is supplied. For example, if no "last reviewed release" name is provided, the section does not appear. Likewise for "old releases" names. Up to 5 old releases are permitted.
 
  
Any release_name/release_date/download_link tuple utilizes the [[:Template:Release]] template. For example, <code>current_release_name</code>, <code>current_release_date</code> and <code>current_release_download_link</code> form the current_release Release tuple. Likewise with <code>last_reviewed_release_*</code> and <code>old_release_*''[1-5]''</code> tuples.
+
This displays a summary of the current and last reviewed releases of a project of the given name. Each summary links to the full release details for the particular release. This template depends on the [[OWASP Project URL Structure]] existing for the given project.
  
Any name/email/username tuple utilizes the [[:Template:Contact]] template. For example, <code>current_release_leader_name</code>, <code>current_release_leader_email</code> and <code>current_release_leader_username</code> form the current_release_leader Contact tuple. Likewise with <code>last_reviewed_release_leader_*</code>.
+
[https://github.com/7a/owtf/tree/master/releases all releases]
 
 
Other defaults:
 
* current_release_details = N/A
 
* current_release_rating = ''null'' (Not Reviewed)
 
* last_reviewed_release_details = N/A
 
* last_reviewed_release_rating = ''null'' (Not Reviewed)
 
  
 
=== Usage ===
 
=== Usage ===
 
<pre>
 
<pre>
{{Template:OWASP_Release_Info
+
{{Template:Releases Summary
| current_release_name =
+
| project_name = Example Project
| current_release_date =
 
| current_release_download_link =
 
| current_release_details =
 
| current_release_rating =
 
| current_release_leader_name =
 
| current_release_leader_email =
 
| current_release_leader_username =
 
| last_reviewed_release_name =
 
| last_reviewed_release_date =
 
| last_reviewed_release_download_link =
 
| last_reviewed_release_rating =
 
| last_reviewed_release_leader_name =
 
| last_reviewed_release_leader_email =
 
| last_reviewed_release_leader_username =
 
| old_release_name1 =
 
| old_release_date1 =
 
| old_release_download_link1 =
 
| old_release_name2 =
 
| old_release_date2 =
 
| old_release_download_link2 =
 
| old_release_name3 =
 
| old_release_date3 =
 
| old_release_download_link3 =
 
| old_release_name4 =
 
| old_release_date4 =
 
| old_release_download_link4 =
 
| old_release_name5 =
 
| old_release_date5 =
 
| old_release_download_link5 =  
 
 
}}
 
}}
 
</pre>
 
</pre>
  
 
=== Example ===
 
=== Example ===
<pre>
+
{{Template:Releases Summary
{{Template:OWASP_Release_Info
+
| project_name = Example Project
| current_release_name = Example Release
 
| current_release_date = August 2009
 
| current_release_download_link = http://www.owasp.org/index.php/Template:OWASP_Release_Info
 
| current_release_rating = -1
 
| current_release_leader_name = Jason Li
 
| current_release_leader_username = Jason Li
 
| last_reviewed_release_name = Previous Release
 
| last_reviewed_release_date = July 2009
 
| last_reviewed_release_download_link = http://www.owasp.org/index.php/Template:OWASP_Release_Info
 
| last_reviewed_release_rating = 3
 
| last_reviewed_release_leader_name = Paulo Coimbra
 
| last_reviewed_release_leader_email = [email protected]
 
| old_release_name1 = Older Release
 
| old_release_date1 = January 2008
 
| old_release_download_link1 = http://www.owasp.org/index.php/Template:OWASP_Release_Info
 
 
}}
 
}}
</pre>
 
  
{{Template:OWASP_Release_Info
+
[[Category: GPC Templates]]</noinclude>
| current_release_name = Example Release
 
| current_release_date = August 2009
 
| current_release_download_link = http://www.owasp.org/index.php/Template:OWASP_Release_Info
 
| current_release_rating = -1
 
| current_release_leader_name = Jason Li
 
| current_release_leader_username = Jason Li
 
| last_reviewed_release_name = Previous Release
 
| last_reviewed_release_date = July 2009
 
| last_reviewed_release_download_link = http://www.owasp.org/index.php/Template:OWASP_Release_Info
 
| last_reviewed_release_rating = 3
 
| last_reviewed_release_leader_name = Paulo Coimbra
 
| last_reviewed_release_leader_email = [email protected]
 
| old_release_name1 = Older Release
 
| old_release_date1 = January 2008
 
| old_release_download_link1 = http://www.owasp.org/index.php/Template:OWASP_Release_Info
 
}}</noinclude>
 

Latest revision as of 18:45, 22 July 2013


This displays a summary of the current and last reviewed releases of a project of the given name. Each summary links to the full release details for the particular release. This template depends on the OWASP Project URL Structure existing for the given project.

all releases

Usage

{{Template:Releases Summary
| project_name = Example Project
}}

Example

current release
http://www.owasp.org/

https://www.owasp.org/

last reviewed release
Not Yet Reviewed


other releases