Template:Color: Difference between revisions

From Blockgame Wiki
(Created page with "{{#switch: {{{1}}} | Common= <span style="color:#c8c8c8;">{{{2}}}</span> | Black= <span style="color:#000000;">{{{2}}}</span> | DarkBlue= <span style="color:#0000AA;">{{{2}}}</span> | DarkGreen= <span style="color:#00AA00;">{{{2}}}</span> | DarkAqua= <span style="color:#00AAAA;">{{{2}}}</span> | DarkRed= <span style="color:#AA0000;">{{{2}}}</span> | DarkPurple= <span style="color:#AA00AA;">{{{2}}}</span> | Gold= <span style="color:#FFAA00;">{{{2}}}</span> | Gray= <span s...")
 
(Added mw-no-invert class to color. Color should now not invert when Dark Mode is toggled)
Line 1: Line 1:
{{#switch: {{{1}}}
{{#switch: {{{1}}}
| Common= <span style="color:#c8c8c8;">{{{2}}}</span>
| Common= <span class="mw-no-invert" style="color:#c8c8c8;">{{{2}}}</span>
| Black= <span style="color:#000000;">{{{2}}}</span>
| Black= <span class="mw-no-invert"  style="color:#000000;">{{{2}}}</span>
| DarkBlue= <span style="color:#0000AA;">{{{2}}}</span>
| DarkBlue= <span class="mw-no-invert"  style="color:#0000AA;">{{{2}}}</span>
| DarkGreen= <span style="color:#00AA00;">{{{2}}}</span>
| DarkGreen= <span class="mw-no-invert"  style="color:#00AA00;">{{{2}}}</span>
| DarkAqua= <span style="color:#00AAAA;">{{{2}}}</span>
| DarkAqua= <span class="mw-no-invert"  style="color:#00AAAA;">{{{2}}}</span>
| DarkRed= <span style="color:#AA0000;">{{{2}}}</span>
| DarkRed= <span class="mw-no-invert"  style="color:#AA0000;">{{{2}}}</span>
| DarkPurple= <span style="color:#AA00AA;">{{{2}}}</span>
| DarkPurple= <span class="mw-no-invert"  style="color:#AA00AA;">{{{2}}}</span>
| Gold= <span style="color:#FFAA00;">{{{2}}}</span>
| Gold= <span class="mw-no-invert"  style="color:#FFAA00;">{{{2}}}</span>
| Gray= <span style="color:#AAAAAA;">{{{2}}}</span>
| Gray= <span class="mw-no-invert"  style="color:#AAAAAA;">{{{2}}}</span>
| DarkGray= <span style="color:#555555;">{{{2}}}</span>
| DarkGray= <span class="mw-no-invert"  style="color:#555555;">{{{2}}}</span>
| Blue= <span style="color:#5555FF;">{{{2}}}</span>
| Blue= <span class="mw-no-invert"  style="color:#5555FF;">{{{2}}}</span>
| Green= <span style="color:#55FF55;">{{{2}}}</span>
| Green= <span class="mw-no-invert"  style="color:#55FF55;">{{{2}}}</span>
| Aqua= <span style="color:#55FFFF;">{{{2}}}</span>
| Aqua= <span class="mw-no-invert"  style="color:#55FFFF;">{{{2}}}</span>
| Red= <span style="color:#FF5555;">{{{2}}}</span>
| Red= <span class="mw-no-invert"  style="color:#FF5555;">{{{2}}}</span>
| LightPurple= <span style="color:#FF55FF;">{{{2}}}</span>
| LightPurple= <span class="mw-no-invert"  style="color:#FF55FF;">{{{2}}}</span>
| Yellow= <span style="color:#FFFF55;">{{{2}}}</span>
| Yellow= <span class="mw-no-invert"  style="color:#FFFF55;">{{{2}}}</span>
| White= <span style="color:#FFFFFF;">{{{2}}}</span>
| White= <span class="mw-no-invert"  style="color:#FFFFFF;">{{{2}}}</span>
| Bronze= <span style="color:#CD7F32;">{{{2}}}</span>
| Bronze= <span class="mw-no-invert"  style="color:#CD7F32;">{{{2}}}</span>
| Orange= <span style="color:#FF5733;">{{{2}}}</span>
| Orange= <span class="mw-no-invert"  style="color:#FF5733;">{{{2}}}</span>
| Silver= <span style="color:#C0C0C0;">{{{2}}}</span>
| Silver= <span class="mw-no-invert"  style="color:#C0C0C0;">{{{2}}}</span>
| Turquoise= <span style="color:#40E0D0;">{{{2}}}</span>
| Turquoise= <span class="mw-no-invert"  style="color:#40E0D0;">{{{2}}}</span>
| default= {{{2}}}
| #default= {{{2}}}
}}<noinclude>[[Category:Template]] [[Category:Color Template]] {{doc}}</noinclude>
}}<noinclude>[[Category:Template]] [[Category:Color Template]] {{doc}}</noinclude>

Revision as of 10:45, 15 April 2024

{{{2}}}

Documentation

{{Color}} is a color template used to add a color to text it is applied to.

Syntax

{{Color}}

List of Color Templates

The "§" below represents minecraft color codes.

  • [§0] {{Color|Black}} - Black
  • [§1] {{Color|DarkBlue}} - DarkBlue
  • [§2] {{Color|DarkGreen}} - DarkGreen
  • [§3] {{Color|DarkAqua}} - DarkAqua
  • [§4] {{Color|DarkRed}} - DarkRed
  • [§5] {{Color|DarkPurple}} - DarkPurple
  • [§6] {{Color|Gold}} - Gold
  • [§7] {{Color|Gray}} - Gray
  • [§8] {{Color|DarkGray}} - DarkGray
  • [§9] {{Color|Blue}} - Blue
  • [§a] {{Color|Green}} - Green
  • [§b] {{Color|Aqua}} - Aqua
  • [§c] {{Color|Red}} - Red
  • [§d] {{Color|LightPurple}} - LightPurple
  • [§e] {{Color|Yellow}} - Yellow
  • [§f] {{Color|White}} - White
  • {{Color|Bronze}} - Bronze
  • {{Color|Orange}} - Orange
  • {{Color|Silver}} - Silver
  • {{Color|Turquoise}} - Turquoise

Examples

Aqua

{{Color|Aqua|notIrma}}
Produces

notIrma

Gold

{{Color|Gold|Little__Ham}}
Produces

Little__Ham