Template:Color

From Tower Defense Simulator Wiki
Revision as of 23:39, 26 November 2025 by imported>Mentin123
Jump to navigation Jump to search

'

Template Documentation
Portions of this template may not be visible without parameter values provided

Description

This template is used to generate colored bolded text. On mobile, only preset values are displayed. Any custom colors will not be.

Syntax & Usage

{{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

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

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 {{{2}}}
Christmas2025 Christmas 2025 Crate skins Christmas 2025 {{{2}}}
Valentines2026 Valentines 2026 Crate skins Valentines 2026 {{{2}}}
Shamrock Shamrock Crate skins Shamrock {{{2}}}
Void Void Crate skins Void {{{2}}}
Beach Beach Crate skins Beach {{{2}}}
Scuba Scuba Ops Crate skins Scuba {{{2}}}
Patriotic Patriotic Crate skins Patriotic {{{2}}}
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 {{{2}}}
HardcoreMode Hardcore mode Hardcore Hardcore
NuclearMode Polluted Wasteland II map Nuclear Nuclear
WesternMode Badlands II map Western Western
PizzeriaMode Pizza Party Pizzeria Pizzeria
TutorialMode Tutorial Tutorial Tutorial
BasicArena Basic Arena PVP Basic Arena PVP Basic Arena PVP
MoltenArena Molten Arena PVP Molten Arena PVP Molten Arena PVP
FallenArena Fallen Arena PVP Fallen Arena PVP Fallen Arena PVP
Toilet Headache Headquarters map Headache Headquarters Headache Headquarters
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 {{{2}}}
Sniper Sniper dialogue Sniper {{{2}}}
Soldier Soldier dialogue Soldier {{{2}}}
Demoman Demoman dialogue Demoman {{{2}}}
Truck Driver Truck Driver dialogue Truck Driver {{{2}}}
Titus Titus dialogue Titus Titus
Ramiel Sentinel Ramiel dialogue Sentinel Ramiel Sentinel 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

Preset Value

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

This text is {{Color|0FFF0F|Pink}}. Isn't that cool?

This text is Pink. Isn't that cool?

Custom Text (no outline)

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)

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}})

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.