Difference between revisions of "Version badges"

From CEGUI Wiki - Crazy Eddie's GUI System (Open Source)
Jump to: navigation, search
Line 1: Line 1:
{{VersionBadge|0.7}} {{VersionAtLeast|svn r1234}}
+
{{VersionBadge|MAJOR}} {{VersionAtLeast|MINIMAL VERSION}}
  
Interesting stuff goes here
+
Both of these "badges" are simple mediawiki Templates. You can see them in action on this article.
 +
 
 +
=== Usage ===
 +
Put the following code on top of the article for major version badge (the green one).
 +
<nowiki>{{VersionBadge|INSERT_MAJOR_VERSION_HERE}}</nowiki>
 +
 
 +
Put the following code on top of the article for minimal version requirement (the yellow one).
 +
<nowiki>{{VersionAtLeast|INSERT_SPECIFIC_MIN_VERSION_HERE}}</nowiki>

Revision as of 20:44, 30 September 2010

<div style="border: 1px solid #000; background: Expression error: Unrecognized word "major".; height: 70px; width: 220px; float: none; padding: 4px; margin: 5px; text-align: center;display: block; margin-left: auto; margin-right: auto;"> Written for CEGUI MAJOR


Works with versions MAJOR.x (Expression error: Unrecognized word "major".)

</div>

Requires at least version
MINIMAL VERSION

Both of these "badges" are simple mediawiki Templates. You can see them in action on this article.

Usage

Put the following code on top of the article for major version badge (the green one). {{VersionBadge|INSERT_MAJOR_VERSION_HERE}}

Put the following code on top of the article for minimal version requirement (the yellow one). {{VersionAtLeast|INSERT_SPECIFIC_MIN_VERSION_HERE}}