Template:Color: Difference between revisions
imported>Mentin123 No edit summary |
imported>Mentin123 mNo edit summary |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 33: | Line 33: | ||
| Shamrock = <span class="colour-shamrock">{{{2|Shamrock}}} |
| Shamrock = <span class="colour-shamrock">{{{2|Shamrock}}} |
||
| Void = <span class="colour-void">{{{2|Void}}} |
| Void = <span class="colour-void">{{{2|Void}}} |
||
| Beach = <span class="colour-beach">{{{2|Beach}}} |
|||
| Scuba = <span class="colour-scuba">{{{2|Scuba}}} |
|||
| Patriotic = <span class="colour-patriotic">{{{2|Patriotic}}} |
|||
| Platinum = <span class="colour-platinum black-outline">{{{2|Platinum}}} |
| Platinum = <span class="colour-platinum black-outline">{{{2|Platinum}}} |
||
<!-- Events/Seasons --> |
<!-- Events/Seasons --> |
||
| Line 110: | Line 113: | ||
| Dispatcher = <span class="colour-rare black-outline">{{{2|Dispatcher}}} |
| Dispatcher = <span class="colour-rare black-outline">{{{2|Dispatcher}}} |
||
| Commander = <span class="colour-rare black-outline">{{{2|Commander}}} |
| Commander = <span class="colour-rare black-outline">{{{2|Commander}}} |
||
| Sniper = <span class="colour-easymode black-outline">{{{2|Sniper}}} |
|||
| Hops = <span class="colour-christmas2019 black-outline">{{{2|Hops}}} |
|||
| Soldier = <span class="colour-christmas2019 black-outline">{{{2|Soldier}}} |
|||
| Demoman = <span class="colour-pumpkin black-outline">{{{2|Demoman}}} |
|||
| Truck Driver = <span class="colour-golden black-outline">{{{2|Truck Driver}}} |
|||
| Titus = <span class="colour-hard black-outline">{{{2|Titus}}} |
| Titus = <span class="colour-hard black-outline">{{{2|Titus}}} |
||
| Ramiel = <span class="colour-moltenmode black-outline">{{{2|Ramiel}}} |
| Ramiel = <span class="colour-moltenmode black-outline">{{{2|Ramiel}}} |
||
Latest revision as of 13:37, 10 August 2026
'
Portions of this template may not be visible without parameter values provided
Description
[edit]This template is used to generate colored bolded text. On mobile, only preset values are displayed. Any custom colors will not be.
Syntax & Usage
[edit]{{Color|<color>|<text>|<outline>}}
This template uses up to four parameters. The first parameter is the color of the text, which can be filled out in two ways. The first is a hexadecimal value without the # symbol. The second and main way of adding text is by inputting a specific name, such as Krampus or Halloween2019. This will make the text have a specific text color and outline. A full list of values that can be used can be seen by either looking at the source code or in the tables below.
The second parameter is the text that is displayed. In some cases, like the Golden value, there is preset text that will be displayed if this parameter is not filled out. The third parameter is only used with custom text color made using hexadecimal values, which changes the look of the outline or removes it completely. The outline by default is set to be the Outline template.
Color Addition
[edit]For colors to appear on mobile, an administrator has to add proper CSS to the wiki. While not available, colors can be added like this:
|Color Name = <span style="color: #HEX; {{Outline}}">{{{2}}}</span>
Colors should not be added to this page for these reasons:
- Personal use colors that will not be used on main articles. Use the regular way of adding them through hex codes or create your own template, such as for example
Template:youColor. - One time use colors for infoboxes. As inline styles work in infoboxes on mobile and due to these being used only once, there is no reason to add them to the template or CSS.
Preset Values
[edit]The "User For" column lists the main uses of each value. Because of this, some of the colors listed here may be used for other purposes (such as using the "Krampus" value for the Krampus infobox title), even if not listed here.
| Crates | |||
|---|---|---|---|
| Value | Used For | Preset Text | Example |
| Basic | Basic Crate skins | Basic | Blue |
| Premium | Premium Crate skins | Premium | Mage |
| Deluxe | Deluxe Crate skins | Deluxe | Mechanic |
| Phantom | Phantom Crate skins | Phantom | Phantom |
| Toy | Toy Crate skins | Toy | Toy |
| Golden | Golden Crate skins | Golden | Golden |
| Lovely | Deluxe Crate skins | Lovely | Heartbreak |
| ColdFront | Cold Front Crate skins | Cold Front | Brisk |
| Ducky | Ducky Crate skins | Ducky | Ducky |
| Vigilante | Vigilante Crate skins | Vigilante | Vigilante |
| Pirate | Pirate Crate skins | Pirate | Pirate |
| Halloween2019 | Halloween 2019 Crate skins | Halloween 2019 | Gargoyle |
| Christmas2019 | Xmas 2019 Crate skins | Christmas 2019 | Xmas |
| Party | Party Crate skins | Party | Party |
| Valentine | Valentines Crate skins | Valentine | Valentines |
| Bunny | Bunny Crate skins | Bunny | Bunny |
| Pumpkin | Pumpkin Crate skins | Pumpkin | Pumpkin |
| Spooky | Spooky Crate skins | Spooky | Spooky |
| Frost | Frost Crate skins | Frost | Frost |
| Halloween | Halloween Crate skins | Halloween | Ghost Buster |
| Jolly | Jolly Crate skins | Jolly | Holiday |
| LunarYear | Lunar Crate skins | Lunar Year | Lunar |
| Lovestruck | Lovestruck Crate skins | Lovestruck | Lovestriker |
| Ugly | UglyCrate skins | Ugly | PNG |
| CoinCrate | Coin Crate skins | Coin Crate | The Flea |
| Banned | Banned Crate skins | Banned | Banned |
| Showtime | Showtime Crate skins | Showtime | Showtime |
| Christmas2025 | Christmas 2025 Crate skins | Christmas 2025 | Christmas 2025 |
| Valentines2026 | Valentines 2026 Crate skins | Valentines 2026 | Valentines 2026 |
| Shamrock | Shamrock Crate skins | Shamrock | Shamrock |
| Void | Void Crate skins | Void | Void |
| Beach | Beach Crate skins | Beach | Beach |
| Scuba | Scuba Ops Crate skins | Scuba | Scuba |
| Patriotic | Patriotic Crate skins | Patriotic | Patriotic |
| Platinum | Platinum Crate skins | Platinum | Platinum |
| Events/Seasons | |||
|---|---|---|---|
| Value | Used For | Preset Text | Example |
| Eclipse | Solar Eclipse Event skins | Eclipse | Vampire Slayer |
| SeasonOfLove | Season of Love skins | Season of Love | Cupid |
| DuckHunt | Duck Hunt Event skins | Duck Hunt | Ducky |
| EndOfSummer | End of Summer Season skins | End of Summer | Barbeque |
| Philips | Philips x TDS Season skins | Philips | Grand Theft |
| ViolentNight | Violent Night Event skins | Violent Night | Holiday |
| Lunar | Lunar Overture Event skins | Lunar | Frankenstein |
| Krampus | Krampus' Revenge Event skins | Krampus | Dwarf |
| Korblox | The Hunt Event skins | Korblox | Korblox |
| Classic | The Classic Event skins | Classic | Guest |
| Hexscape | Hexscape Event skins | Hexscape | Hexscape |
| OperationICE | Operation I.C.E Event Skins | Operation ICE | Dark Frost |
| DuckyRevenge | Ducky Revenge Event Skins | Ducky Revenge | Easter |
| PVP | PVP Season Skins | PVP | Champion |
| Surf | Surf & Turf Battle Pass Skins | Surf & Turf | Shark |
| Null | Null & Void Event Skins | Null | Hallow Punk |
| FinalAct | The Final Act Event Skins | Final Act | Wonderland |
| SpringFrenzy | The Final Act Event Skins | Spring Frenzy | Bunny |
| Backyard | Backyard Legends Event Skins | Backyard | Backyard |
| Other Skins | |||
|---|---|---|---|
| Value | Used For | Preset Text | Example |
| Other | Skins that do not fit other colors | Other | Plushie |
| ContentCreator | Content Creator skins | Content Creator | Wikia |
| Mission | Mission Quest skins | Mission | Cybernetic |
| EventMission | Event Mission Quest skins | Event Mission | Cybernetic |
| FallenMission | Fallen Mission Quest skins | Fallen Mission | Fallen |
| Unobtainable | Unobtainable Crate only skins | Unobtainable | Classic |
| Rarities | |||
|---|---|---|---|
| Value | Used For | Preset Text | Example |
| Common | Common rarity | Common | Common |
| Uncommon | Uncommon rarity | Uncommon | Uncommon |
| Rare | Rare rarity | Rare | Rare |
| Epic | Epic rarity | Epic | Epic |
| Legendary | Legendary rarity (purple) | Legendary | Legendary |
| LegendaryConsumable | Legendary rarity (yellow) | Legendary | Legendary |
| Mythic | Mythic rarity | Mythic | Mythic |
| Ultimate | Ultimate rarity | Ultimate | Ultimate |
| Golden | Golden rarity | Golden | Golden |
| Event | Event rarity | Event | Event |
| Exclusive | Exclusive rarity | Exclusive | Exclusive |
| Map Difficulties | |||
|---|---|---|---|
| Value | Used For | Preset Text | Example |
| VeryEasy | Very Easy maps | Very Easy | Very Easy |
| OldEasy | Easy maps before the MEGA Update | Easy | Easy |
| Easy | Current Easy maps | Easy | Easy |
| OldNormal | Normal maps before the MEGA Update | Normal | Normal |
| Medium | Medium maps | Medium | Medium |
| Normal | Current Normal maps | Normal | Normal |
| Hard | Hard maps | Hard | Hard |
| Insane | Insane maps | Insane | Insane |
| EventDifficulty | Event difficulty maps | Event | Event |
| Special | Special difficulty maps | Special | Special |
| Modes | |||
|---|---|---|---|
| Value | Used For | Preset Text | Example |
| EasyMode | Easy mode | Easy | Easy |
| CasualMode | Casual mode | Casual | Casual |
| IntermediateMode | Intermediate mode | Intermediate | Intermediate |
| LegacyMoltenMode | LegacyMolten mode | Legacy Molten | Legacy Molten |
| MoltenMode | Molten mode | Molten | Molten |
| LegacyFallenMode | LegacyFallen mode | Legacy Fallen | Legacy Fallen |
| FallenMode | Fallen mode | Fallen | Fallen |
| FrostMode | Frost mode | Frost | Frost |
| HardcoreMode | Hardcore mode | Hardcore | Hardcore |
| NuclearMode | Polluted Wasteland II map | Nuclear | Polluted Wasteland |
| WesternMode | Badlands II map | Western | Badlands |
| PizzeriaMode | Pizza Party | Pizzeria | Pizza Party |
| TutorialMode | Tutorial | Tutorial | Tutorial |
| BasicArena | Basic Arena PVP | Basic Arena PVP | Basic Arena |
| MoltenArena | Molten Arena PVP | Molten Arena PVP | Molten Arena |
| FallenArena | Fallen Arena PVP | Fallen Arena PVP | Fallen Arena |
| Toilet | Headache Headquarters map | Headache Headquarters | Toilet |
| GoldenMode | Golden mode | Golden | Golden |
| Speakers | |||
|---|---|---|---|
| Value | Used For | Preset Text | Example |
| Dispatcher | Dispatcher dialogue | Dispatcher | Dispatcher |
| Commander | Commander dialogue | Commander | Commander |
| Hops | Hops dialogue | Hops | Hops |
| Sniper | Sniper dialogue | Sniper | Sniper |
| Soldier | Soldier dialogue | Soldier | Soldier |
| Demoman | Demoman dialogue | Demoman | Demoman |
| Truck Driver | Truck Driver dialogue | Truck Driver | Truck Driver |
| Titus | Titus dialogue | Titus | Titus |
| Ramiel | Sentinel Ramiel dialogue | Sentinel Ramiel | Ramiel |
| Kronus | Master Kronus dialogue | ??? | ??? |
| Marcellus | Chief Marcellus dialogue | ??? | ??? |
| Conserver | Conserver dialogue | ??? | ??? |
| Analyst | Analyst dialogue | Analyst | Analyst |
| ProfessorV | Professor V dialogue | Professor V | Professor V |
| Guard | Guard dialogue | Guard | Guard |
| Miscellaneous | |||
|---|---|---|---|
| Value | Used For | Preset Text | Example |
| PhaseTwo | Enemy second phase | - | Time's Up |
| PhaseThree | Enemy third phase | - | Void's Deathwish |
| Yes | Yes/True/Low | Yes | Yes |
| No | No/False/High | No | No |
| Neutral | Neutral/Variable/Medium | Neutral | Neutral |
Examples
[edit]Preset Value
[edit]The {{Color|Basic|Blue}} skin is obtained from the [[Basic Crate|{{Color|Basic|Basic Crate}}]].
The Blue skin is obtained from the Basic Crate.
Custom Text
[edit]This text is {{Color|0FFF0F|Pink}}. Isn't that cool?
This text is Pink. Isn't that cool?
Custom Text (no outline)
[edit]Incorrect: {{Color|FF0000|Stevenson's romances are entertaining, they are full of exciting adventures|}}.
Incorrect: Stevenson's romances are entertaining, they are full of exciting adventures.
Custom Text (custom outline)
[edit]Cliff towers like the [[Ranger]] are actually able to be stunned by [[Jack-o-Bot|{{Color|AD5A00|Jack-o-Bot|text-shadow:0 0 10px #FFCA91, 0 0 10px #FFCA91, 0 0 10px #FFCA91, 0 0 10px #FFCA91, 0 0 10px #FFCA91;}}]].
Cliff towers like the Ranger are actually able to be stunned by Jack-o-Bot.
Custom Text ({{OutlineDark}})
[edit]The [[Mechanical Rot|{{Color|000|Mechanical Rot|{{OutlineDark}}}}]] was an [[Enemies|enemy]] that only appeared during the [[Hidden Wave]].
The Mechanical Rot was an enemy that only appeared during the Hidden Wave.