Difference between revisions of "Template:Software"

From SoftMC-Wiki
Jump to: navigation, search
m (modified usage description)
(added possibility to show a graphical time line for release)
 
(11 intermediate revisions by 2 users not shown)
Line 22: Line 22:
 
### NEWS
 
### NEWS
 
-->{{#if:{{{news|}}}|:
 
-->{{#if:{{{news|}}}|:
== News ==
+
= News =
 
{{{news}}}
 
{{{news}}}
 
}}
 
}}
Line 29: Line 29:
 
### HISTORY  
 
### HISTORY  
 
-->{{#ifexist:Category:{{FULLPAGENAME}}|:
 
-->{{#ifexist:Category:{{FULLPAGENAME}}|:
== Release history ==
+
= Release history =
 +
{{#ifexist:File:{{NAMESPACE}};{{PAGENAME}}.svg|:
 +
[[File:{{NAMESPACE}};{{PAGENAME}}.svg|1024px|]]}}
 +
 
 
{{#tag:DynamicPageList|
 
{{#tag:DynamicPageList|
category      = Category:{{FULLPAGENAME}}
+
category      = {{FULLPAGENAME}}
notcategory  = Category:Software Releases
+
notcategory  = Software Releases
 
namespace    = {{NAMESPACE}}
 
namespace    = {{NAMESPACE}}
 +
ordermethod  = sortkey
 
}}
 
}}
 
<!-- also add to releases category -->
 
<!-- also add to releases category -->
Line 41: Line 45:
 
### SEE ALSO
 
### SEE ALSO
 
-->{{#if:{{{see also|}}}|:
 
-->{{#if:{{{see also|}}}|:
== See also ==
+
= See also =
 
{{{see also}}}
 
{{{see also}}}
 
}}<!--   
 
}}<!--   
Line 81: Line 85:
 
|operation=
 
|operation=
 
* The ''Release history'' section is automatically generated, if release sub-pages use the template [[Template:Software/Release|<nowiki>{{Software/Release}}</nowiki>]] and the corresponding category page exist.
 
* The ''Release history'' section is automatically generated, if release sub-pages use the template [[Template:Software/Release|<nowiki>{{Software/Release}}</nowiki>]] and the corresponding category page exist.
 +
* if a svg graphic of the release exist, it will be displayed in top of the page list. The file must be called ''<nowiki>File:{{NAMESPACE}};{{PAGENAME}}.svg</nowiki>''<br> e.g. ''File:Metrology;aico.metrology release.svg'' for aico.metrology
 
* If the sub-page <code>/Roadmap</code> exists, a link to it is shown under ''Future versions''.
 
* If the sub-page <code>/Roadmap</code> exists, a link to it is shown under ''Future versions''.
 +
* The software page is automatically added to [[:Category:Software Releases]].
  
 
|examples=
 
|examples=

Latest revision as of 13:01, 22 December 2012

This template is used on the main software release pages.

Template

{{Software
|production=
|development=
|news=
|see also=
}}

Parameters

production
Link to the current production version release page.
development
Link to the current development version release page.
news
News section, which should only contain the templates {{Software/NewsHeader}} and {{Software/News}}
see also
List with links to related further information

Operation

  • The Release history section is automatically generated, if release sub-pages use the template {{Software/Release}} and the corresponding category page exist.
  • if a svg graphic of the release exist, it will be displayed in top of the page list. The file must be called File:{{NAMESPACE}};{{PAGENAME}}.svg
    e.g. File:Metrology;aico.metrology release.svg for aico.metrology
  • If the sub-page /Roadmap exists, a link to it is shown under Future versions.
  • The software page is automatically added to Category:Software Releases.

Examples

{{Software
|production=[[/1.5.0|aico.control 1.5.0]]
|development=[[/1.6.0|aico.control 1.6.0 beta]]

|news=
{{Software/NewsHeader|October 2010|
{{Software/News|2010-10-04|aico.control 1.5.0 released|[[/1.5.0|aico.control 1.5.0 release page]]}}
}}

|see also=
* [[Control:aico.control|aico.control]] main page
}}

For more examples refer to pages, which use this template: What links here.

Help:Templates describes general usage of templates, including treatment of special characters.