Deprecated: Use of MediaWiki\Skin\Skin::appendSpecialPagesLinkIfAbsent was deprecated in MediaWiki 1.44. [Called from MediaWiki\Skin\Skin::buildSidebar in /var/www/html/includes/skins/Skin.php at line 1639] in /var/www/html/includes/debug/MWDebug.php on line 386
Jump to content

Template:Colortext: Difference between revisions

From Consumer Rights Wiki
Fen (talk | contribs)
No edit summary
Plankton (talk | contribs)
m fixed typo
 
Line 9: Line 9:
* Always wrap hex codes with a `#` when possible for clarity and standards compliance.
* Always wrap hex codes with a `#` when possible for clarity and standards compliance.


[[Category:Styling templatess]]
[[Category:Styling templates]]
</noinclude>
</noinclude>

Latest revision as of 20:56, 29 October 2025

This template renders the given text in a specified color.

{{Colortext|green|Hello}}Hello

  • You can use either a named CSS color (like `red`) or a hex code (like `#ff0000` or shorthand `F00`).
  • Always wrap hex codes with a `#` when possible for clarity and standards compliance.