Template:Color: Difference between revisions

Jump to navigation Jump to search
No edit summary
(Remove assignment of category from color template - try doing from calling template, if applicable (i.e. Infobox))
Line 1: Line 1:
<includeonly>{{#if:{{{debug|}}}||{{#if:{{{2|}}}|[[Category:{{{1|}}} {{{2|}}}]]|}}}}[[:Category:{{#if:{{{2|}}}|{{{1|}}} {{{2|}}}|Color}}|<div class="color-swatch" style="{{#if:{{{number|}}}|font-family:monospace;padding: 0 2px 4px;color: white;text-align: center;font-family: monospace;font-size: initial;text-shadow: 1px 1px 2px black;|}}background: {{#switch:{{{1|}}}
<includeonly>[[:Category:{{#if:{{{2|}}}|{{{1|}}} {{{2|}}}|Color}}|<div class="color-swatch" style="{{#if:{{{number|}}}|font-family:monospace;padding: 0 2px 4px;color: white;text-align: center;font-family: monospace;font-size: initial;text-shadow: 1px 1px 2px black;|}}background: {{#switch:{{{1|}}}
           <!-- Colors used for clothing & furniture filters -->
           <!-- Colors used for clothing & furniture filters -->
           |blue=rgb(87, 162, 244)
           |blue=rgb(87, 162, 244)