Difference between revisions of "Template:GVVersion"

From GreenVulcano Wiki
Jump to: navigation, search
Line 8: Line 8:
 
This template shows the valid {{GVESB}} version for the paragraph. It appears on the right side of the window in a bordered text field.
 
This template shows the valid {{GVESB}} version for the paragraph. It appears on the right side of the window in a bordered text field.
 
==Example==
 
==Example==
{{GVVersion|version=3.1}}
+
{{GVVersion|version=≥3.1}}
If the paragraph is valid for {{GVESB}} version 3.1, you should write this.
+
If the paragraph is valid for {{GVESB}} version 3.1 and later, you should write this.
  
<nowiki>{{GVVersion|version=3.1}}</nowiki>
+
<nowiki>{{GVVersion|scope=&amp;ge;|version=3.1}}</nowiki>
 
==Usage==
 
==Usage==
This template does not require parameters.
+
<syntaxhighlight lang="xml">{{GVVersion[|scope = &gt;|&ge;|&lt;|&le;][|version = version number]}}</syntaxhighlight>
 +
*''scope'': is a symbol showing which scope is to be applied for the version. For instance, a &amp;ge; symbol (&ge;) states that the paragraph is appliable for {{GVESB}} 3.1 and later. If omitted, the paragraph is valid only for the version.
 +
*''version'': is the version to be shown.
 
</div>
 
</div>
 
<noinclude>
 
<noinclude>

Revision as of 16:30, 27 February 2012

Version: X.X

Template documentation

Purpose

This template shows the valid GreenVulcano® ESB version for the paragraph. It appears on the right side of the window in a bordered text field.

Example

Version: ≥3.1

If the paragraph is valid for GreenVulcano® ESB version 3.1 and later, you should write this.

{{GVVersion|scope=&ge;|version=3.1}}

Usage

{{GVVersion[|scope = &gt;|&ge;|&lt;|&le;][|version = version number]}}
  • scope: is a symbol showing which scope is to be applied for the version. For instance, a &ge; symbol (≥) states that the paragraph is appliable for GreenVulcano® ESB 3.1 and later. If omitted, the paragraph is valid only for the version.
  • version: is the version to be shown.