Difference between revisions of "Template:VersionBadge"

From CEGUI Wiki - Crazy Eddie's GUI System (Open Source)
Jump to: navigation, search
 
(26 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div style="border: 1px solid #000; background: {{#ifexpr: {{{1}}} < 0.7 | #ffd800 | #8aff00}}; width: 180px; height: 60px; float: right; padding: 4px; margin: 5px; text-align: center">
+
<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 <span style="font-size: 20px">{{{1}}}</span>'''
 
'''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>
  
{{#ifeq: {{{1}}} | 0.7 | <div style="border: 1px solid #000; background: #8aff00; width: 200px; height: 30px; float: left; padding: 4px; margin: 5px; text-align: center">
+
{{#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;">
 
'''Works with latest CEGUI stable!'''
 
'''Works with latest CEGUI stable!'''
 
</div> | }}
 
</div> | }}
  
 
[[Category:Articles for CEGUI {{{1}}}.x]]
 
[[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]]