Template:Color: Difference between revisions

541 bytes removed ,  18:28, 6 February 2023
Change to color swatches, no words, colors closer to in-game colors -- still needs some tweaking, since links are hard to click, but categories still added to page
(comment out colored text, leave only tag styling - black text for white and yellow still don't show)
(Change to color swatches, no words, colors closer to in-game colors -- still needs some tweaking, since links are hard to click, but categories still added to page)
Line 1: Line 1:
<!--<span style="color: {{#switch:{{{1|}}}
<div class="color-swatch" style="background: {{#switch:{{{1|}}}
           |blue=blue
           |blue=rgb(87, 162, 244)
           |green=green
           |green=rgb(105, 214, 143)
           |red=red
           |red=rgb(215, 73, 76)
           |pink=magenta
           |pink=rgb(232, 143, 202)
           |white=white
           |white=white /*rgb(219, 222, 246)*/
           |black=black
           |black=rgb(48, 48, 48)
           |yellow=yellow
           |yellow=rgb(230, 203, 89)
           |orange=orange
           |orange=rgb(237, 138, 88)
           |brown=brown
           |brown=rgb(124, 78, 40)
           |purple=purple
           |purple=rgb(144, 115, 216)
           |gray=gray
           |gray=rgb(143, 143, 143)
           |none=none
           |none=#ccceffe8; border: 1px solid rgb(48, 48, 48)
           |#default=}};">{{#switch:{{{1|}}}
           |#default={{{1|}}}}};">[[Category:{{{1|}}} {{{2|}}}]][[:Category:{{{1|}}} {{{2|}}}|&nbsp;]]</div><noinclude>[[Category:Formatting templates]]{{color|none}}{{color|blue}}{{color|green}}{{color|red}}{{color|pink|Gems}}{{color|white}}{{color|black}}{{color|yellow}}{{color|orange}}{{color|brown|Clothing}}{{color|purple|Furniture}}{{color|gray}}{{color|none}}</noinclude>
          |blue
          |green
          |red
          |pink
          |white
          |black
          |yellow
          |orange
          |brown
          |purple
          |gray=[[Category:{{{1|}}} {{{2|}}}]]
          |none=[[Category:No Color Filters]]
          |#default=}}{{{1|}}}</span>-->
<div class="tag-box" id="{{#switch:{{{1|}}}
          |white
          |yellow=black-text
          |#default=}}" style="background: {{#switch:{{{1|}}}
          |blue=blue
          |green=green
          |red=red
          |pink=magenta
          |white=white
          |black=black
          |yellow=yellow
          |orange=orange
          |brown=brown
          |purple=purple
          |gray=gray
          |none=none
          |#default={{{1|}}}}};">[[:Category:{{{1|}}} {{{2|}}}|{{{1|}}}]]</div><noinclude>[[Category:Formatting templates]]{{color|none}}{{color|blue}}{{color|green}}{{color|red}}{{color|pink|Gems}}{{color|white}}{{color|black}}{{color|yellow}}{{color|orange}}{{color|brown|Clothing}}{{color|purple|Furniture}}{{color|gray}}{{color|none}}</noinclude>
moderator
27,045

edits