Template:Player reputation color: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
(Created page with "<includeonly> <span style="color: {{#ifexpr: {{{1}}} < -601 | #d74200 | {{#ifexpr: {{{1}}} < -250 | #a64a2e | {{#ifexpr: {{{1}}} < 250 | #FFFFFF | {{#ifexpr: {{{1}}} < 601 | #...")
 
mNo edit summary
Line 1: Line 1:
<includeonly>
<includeonly><span style="color: {{#ifexpr: {{{1}}} < -601 | #d74200 | {{#ifexpr: {{{1}}} < -250 | #a64a2e | {{#ifexpr: {{{1}}} < 250 | #FFFFFF | {{#ifexpr: {{{1}}} < 601 | #009403 | #00c420 }} }} }} }};">'''{{{1}}}'''</span></includeonly><noinclude>
<span style="color: {{#ifexpr: {{{1}}} < -601 | #d74200 | {{#ifexpr: {{{1}}} < -250 | #a64a2e | {{#ifexpr: {{{1}}} < 250 | #FFFFFF | {{#ifexpr: {{{1}}} < 601 | #009403 | #00c420 }} }} }} }};">'''{{{1}}}'''</span>
</includeonly>
<noinclude>
[[Category:Templates]]
[[Category:Templates]]
You probably shouldn't be calling this unless you're writing a template.
You probably shouldn't be calling this unless you're writing a template.

Revision as of 22:40, 10 July 2019

You probably shouldn't be calling this unless you're writing a template.

Usage: {{Player reputation color|-375}}

Output: -375