Template:Progress: Difference between revisions

From OpenStreetMap Wiki
Jump to navigation Jump to search
No edit summary
(# is part of parser syntax and can't be used as a leading character within if-statements)
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>style="{{#if:{{{1|}}}|background-color: #{{
#ifeq: {{{1|}}} | 100+ | 008B5A | {{
style="background-color: #00ff00;" | test
#ifexpr: {{{1|}}} = 100 | 77C696 | {{
| style="background-color: {{#if:{{{1|}}}|
{{#ifeq: {{{1}}} | 100+ | #008b5a |
#ifexpr: {{{1|}}} < 33 | ED1B2A | {{
{{#ifexpr: {{{1}}} = 100 | #77c696 |
#ifexpr: {{{1|}}} < 66 |F18B3A | FFD51F}}
}}
{{#ifexpr: {{{1}}} < 33 | #ed1b2a |
}}
{{#ifexpr: {{{1}}} < 66 | #f18b3a | #ffd51f}}
}}
}}
|background-color: none}};" {{!}} {{#if:{{{1|}}}|
}}
{{#ifeq: {{{1|}}} | 100+ | 100% | {{{1|}}}%}}
}}
| none}};" | {{#if:{{{1|}}}|
| - }}
{{#ifeq: {{{1}}} | 100+ | 100% | {{{1}}}%}}
| - }}
</includeonly>
</includeonly>

Revision as of 16:37, 30 December 2008