Jump to content

This is an archive of the Fandomstuck Wiki (fandomstuck.fandom.com), rebuilt from a full-history export taken in 2021 after the wiki was shut down. Page text and edit history are complete. Images weren't part of the export; the 216 of 1,045 that the Wayback Machine had captured were recovered, most of them as small thumbnails.

Template:Color/doc

From Fandomstuck Wiki
Revision as of 22:01, 3 September 2020 by AGSonic Official (talk | contribs) (Created page with "==Description== This template makes it easy to access MSPA's template of colors, for coloring text or using it as an input to a CSS style. ==Syntax== <pre>{{color|<INDEX>|<...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

This template makes it easy to access MSPA's template of colors, for coloring text or using it as an input to a CSS style.

Syntax

{{color|<INDEX>|<TEXT>}}

Notes

  • Acceptable values for <INDEX> are:
  1. A color name used in the above table. This should always be used unless you want a color that isn't supported.
  2. A hexidecimal value.
  3. A web color name.
  • The <TEXT> parameter is optional.
  • Refer to the above table for color indices.

Sample output

{{color|john|John Egbert's text}}

John Egbert's text


<div style="width:250px; height:50px; background:{{color|rose}};"/>


{{color|#F00|'''Making red text using a hex value.'''}}

Making red text using a hex value.


{{color|lime|'''Making green text using a web color.'''}}

Making green text using a web color.