User:Lavaeolus/Sandbox: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
{{#vardefine: min-w | 24 }} | {{#vardefine: min-w | 24 }} | ||
{{#vardefine: max-h | 24 }} | {{#vardefine: max-h | 24 }} | ||
}}<span style="display: inline-flex; align-items: center;"><span style="display: inline-flex; align-items: center; justify-content: center; min-width: {{#var:min-w}}px; height: {{#var:max-h}}px;">{{icon | {{#var:icon}} | link = {{#var:link}} | caption = {{#var:text}} | h = {{#var:max-h}} }}</span> | }}<span style="display: inline-flex; align-items: center;"><span style="display: inline-flex; align-items: center; justify-content: center; min-width: {{#var:min-w}}px; height: {{#var:max-h}}px;">{{icon | {{#var:icon}} | link = {{#var:link}} | caption = {{#var:text}} | h = {{#var:max-h}} }}</span> {{Color|{{#switch:{{#var:direction}} |+= green; |-= red;}}|{{#var:text}}}}</span></includeonly><noinclude>[[Category:Templates]] | ||
Use this template for approval ratings. | Use this template for approval ratings. | ||