Ad placeholder

User:Lavaeolus/Sandbox: Difference between revisions

Jump to navigation Jump to search
no edit summary
m (Replaced content with "Boop.")
Tag: Replaced
No edit summary
Line 1: Line 1:
Boop.
<includeonly>{{trim|
{{#vardefine: icon | Portrait {{{1}}}.png }}
{{#vardefine: link | {{{1}}} }}
{{#vardefine: text | {{{2}}} }}
{{#vardefine: direction | {{#sub:{{{2}}}|0|1}} }}
{{#vardefine: min-w | 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 = {{{1}}} {{#switch:{{#var:direction}} |+= approves|-= disapproves}} | h = {{#var:max-h}} }}</span>&nbsp;{{Color | {{#ifexpr: {{{2|}}}>0 | #3b8f1f}} {{#ifexpr: {{{2|}}}<0 | #cc3f49}} |{{#var:text}}}}</span></includeonly><noinclude>
Use this template for approval ratings.
 
 
{{InfoBlob|<nowiki>{{Approval|Wyll|+0}}</nowiki>}} = {{User:Lavaeolus/Sandbox|Wyll|+0}}
 
{{InfoBlob|<nowiki>{{Approval|Halsin|+5}}</nowiki>}} = {{User:Lavaeolus/Sandbox|Halsin|+5}}
 
{{InfoBlob|<nowiki>{{Approval|Jaheira|+2}}</nowiki>}} = {{User:Lavaeolus/Sandbox|Jaheira|+2}}
 
{{InfoBlob|<nowiki>{{Approval|Lae'zel|-1}}</nowiki>}} = {{User:Lavaeolus/Sandbox|Lae'zel|-1}}

Navigation menu