Difference between revisions of "Template:GVVersion"

From GreenVulcano Wiki
Jump to: navigation, search
(Created page with "{| style="border: 1px solid #888888; float: right; font-size: 80%; margin: 0 0 .5em .5em; line-height: 1.2; text-align: right; border-collapse:collapse" | style="padding: .1em .3...")
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{| style="border: 1px solid #888888; float: right; font-size: 80%; margin: 0 0 .5em .5em; line-height: 1.2; text-align: right; border-collapse:collapse"
 
{| style="border: 1px solid #888888; float: right; font-size: 80%; margin: 0 0 .5em .5em; line-height: 1.2; text-align: right; border-collapse:collapse"
| style="padding: .1em .3em;" | GreenVulcano<sup>&reg;</sup> ESB version:  
+
| style="padding: .1em .3em;" | Version:  
| style="padding: .1em .3em; border: 5px #f00; text-align: center;" | <span style="font-weight: bold; font-size: 180%;">{{{version|X.X}}}</span>
+
| style="padding: .1em .3em; border: 3px solid #e30; text-align: center;" | <span style="font-weight: bold; font-size: 180%;">{{{version|X.X}}}</span>
 
|}<noinclude>
 
|}<noinclude>
  
  
{{GVVersion|version=3.1}}
+
<div style="background-color: #ffe; border: 1px solid #888; padding:0.5em">
 +
===Template documentation===
 +
==Purpose==
 +
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==
 +
{{GVVersion|version=&ge;3.1}}
 +
If the paragraph is valid for {{GVESB}} version 3.1 and later, you should write this.
  
 
+
<nowiki>{{GVVersion|scope=&amp;ge;|version=3.1}}</nowiki>
 
+
==Usage==
</noinclude>
+
<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>
 +
<noinclude>

Latest 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.