Difference between revisions of "Template:VersionBadge"

From CEGUI Wiki - Crazy Eddie's GUI System (Open Source)
Jump to: navigation, search
 
(46 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div style="border: 1px solid #000; background: #8aff00; width: 400px; float: left; padding: 4px">
+
<div style="border: 1px solid #000; background: {{#ifexpr: {{{1}}} < 0.8 | #EEd812 | {{#ifexpr: {{{1}}} > 0.8 | #ff806b | #aaee32}} }}; 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 version {{1}}.'''
+
'''Written for CEGUI <span style="font-size: 20px">{{{1}}}</span>'''
 
----
 
----
<small>Likely to work with versions {{1}}.x</small>
+
<small>Works with versions {{{1}}}.x ({{#ifexpr: {{{1}}} < 0.8 | obsolete | {{#ifexpr: {{{1}}} > 0.8 | unstable | stable}} }})</small>
 
</div>
 
</div>
  
<noinclude>
+
{{#ifeq: {{{1}}} | 0.8 | <div style="border: 1px solid #000; background: #aaee32; height: 30px; width: 250px; float: none; padding: 4px; margin: 5px; text-align: center;display: block;  margin-left: auto;  margin-right: auto;">
Usage: \{\{VersionBadge|MAJOR_VERSION|MINIMUM_VERSION\}\}
+
'''Works with latest CEGUI stable!'''
</noinclude>
+
</div> | }}
 +
 
 +
[[Category:Articles for CEGUI {{{1}}}.x]]

Latest revision as of 14:01, 4 March 2015

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


Works with versions {{{1}}}.x (Expression error: Unrecognized punctuation character "{".) </div>


[[Category:Articles for CEGUI {{{1}}}.x]]