Template:Color/sandbox: Difference between revisions

From Dreamlight Valley Wiki
Jump to navigation Jump to search
(totally broken)
(cleared template - this use case has been handled by moving the assignment of the page category into the infobox, rather than in the color/tag templates)
Tag: Blanking
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#if:{{{debug|}}}||{{#if:{{{2|}}}|[[Category:{{{1|}}} {{{2|}}}]]|}}}} [[{{#if:{{{link|}}}|{{{link|}}}|: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 -->
          |blue=rgb(87, 162, 244)
          |green=rgb(105, 214, 143)
          |red=rgb(215, 73, 76)
          |pink=rgb(232, 143, 202)
          |white=white /*rgb(219, 222, 246)*/
          |black=rgb(48, 48, 48)
          |yellow=rgb(230, 203, 89)
          |orange=rgb(237, 138, 88)
          |brown=rgb(124, 78, 40)
          |purple=rgb(144, 115, 216)
          |gray=rgb(143, 143, 143)
          |none=#ccceffe8; border: 1px solid rgb(48, 48, 48)
          <!-- Colors used for motifs and facepaint recoloring -->
          |1=#404040
          |2=#5b5b5b
          |3=#939393
          |4=#cacaca
          |5=#fdfdfd
          |6=#730000
          |7=#ce2222
          |8=#ff1616
          |9=#e24949
          |10=#ee7070
          |11=#ab4900
          |12=#d46816
          |13=#fa7000
          |14=#ec771c
          |15=#e9873b
          |16=#aa6f00
          |17=#daa016
          |18=#ffc62a
          |19=#ffcb53
          |20=#f5cd70
          |21=#9c8a00
          |22=#dad716
          |23=#fff316
          |24=#fcf951
          |25=#fffda1
          |26=#328000
          |27=#79b20d
          |28=#abf016
          |29=#c3fd5f
          |30=#dbff9c
          |31=#006616
          |32=#1c892e
          |33=#2aed22
          |34=#69d953
          |35=#a2ea94
          |36=#00a07c
          |37=#0db088
          |38=#22edaa
          |39=#7cf3b5
          |40=#b2ffd7
          |41=#007f90
          |42=#16acbf
          |43=#22d2ed
          |44=#7de0f6
          |45=#b0e9f6
          |46=#0d2277
          |47=#163d9f
          |48=#2251ed
          |49=#6e8ff0
          |50=#a5baf7
          |51=#260d77
          |52=#3b1ca6
          |53=#5822ed
          |54=#7c7ae9
          |55=#a9a8ec
          |56=#7a007f
          |57=#7a22a6
          |58=#aa22ed
          |59=#b37ee0
          |60=#d2b1ed
          |61=#a20d92
          |62=#bd22a1
          |63=#dc22ed
          |64=#e375eb
          |65=#efabf4
          |66=#7f001c
          |67=#dd224d
          |68=#ff4060
          |69=#f1687e
          |70=#f18282
          |71=#703200
          |72=#8e733d
          |73=#ab793b
          |74=#cf994f
          |75=#dbc9a0
          |makeup-1=#000000
          |makeup-2=#383838
          |makeup-3=#7a7a7a
          |makeup-4=#b0b0b0
          |makeup-5=#ffffff
          |makeup-6=#320000
          |makeup-7=#730000
          |makeup-8=#cf1c22
          |makeup-9=#ff1616
          |makeup-10=#ea5858
          |makeup-11=#f78887
          |makeup-12=#4d2a0d
          |makeup-13=#66380d
          |makeup-14=#80490d
          |makeup-15=#996026
          |makeup-16=#b87e45
          |makeup-17=#ebab6a
          |makeup-18=#ffc791
          |makeup-19=#ab7000
          |makeup-20=#daa01c
          |makeup-21=#fec62a
          |makeup-22=#ffcb53
          |makeup-23=#ffe19b
          |makeup-24=#9c8a00
          |makeup-25=#dad716
          |makeup-26=#fef416
          |makeup-27=#fcfa4d
          |makeup-28=#fefda1
          |makeup-29=#327f00
          |makeup-30=#79b10d
          |makeup-31=#abf016
          |makeup-32=#c4fd60
          |makeup-33=#dbff9d
          |makeup-34=#006516
          |makeup-35=#1c892a
          |makeup-36=#26ee22
          |makeup-37=#69d953
          |makeup-38=#a2ea94
          |makeup-39=#00a07a
          |makeup-40=#0db089
          |makeup-41=#22edab
          |makeup-42=#7cf3b4
          |makeup-43=#b2fed7
          |makeup-44=#008090
          |makeup-45=#16acbe
          |makeup-46=#22d1ec
          |makeup-47=#7de0f7
          |makeup-48=#afe9f5
          |makeup-49=#0d2276
          |makeup-50=#163d9f
          |makeup-51=#2251ed
          |makeup-52=#6e8ff0
          |makeup-53=#a6baf7
          |makeup-54=#260d77
          |makeup-55=#3b1ca6
          |makeup-56=#5622ec
          |makeup-57=#7c79eb
          |makeup-58=#a9a8ec
          |makeup-59=#32004d
          |makeup-60=#450066
          |makeup-61=#580d7f
          |makeup-62=#7922a5
          |makeup-63=#ba51ee
          |makeup-64=#bf7ee0
          |makeup-65=#d9b1ed
          |makeup-66=#a10d88
          |makeup-67=#bd22a1
          |makeup-68=#ee35cf
          |makeup-69=#ec75d8
          |makeup-70=#f4abe8
          |makeup-71=#7f002a
          |makeup-72=#ae0d42
          |makeup-73=#f73d7c
          |makeup-74=#ec729b
          |makeup-75=#f2afc5
          |#default={{{1|}}}}};"><span style="color:white;">{{{number|}}}</span></div>]]</includeonly><noinclude>


{{color/sandbox|yellow|link=Critters}}
{{color/sandbox|red|link=:Category:Red Flowers}} (e.g. for use on Sunbird Critter pages, without adding category to page) - otherwise the box will link to the Color category by default
{{color/sandbox|blue|Clothing}}
{{color/sandbox|green}}
Why do the color boxes in the infobox on [[Turquoise Sunbird]] currently link to the generic Color category, but in this example, they link nowhere?
</noinclude>

Latest revision as of 19:35, 30 July 2023