Template:Color

From Moegirlpedia
Jump to: navigation, search
Template-info.svg Template Documentation  [View] [Edit] [History] [Refresh]

This template can be used to specify the foreground color of a span of text.

Usage

  • {{Color|<color>|<text>}}

For example:

  • {{color|red|Lorem ipsum}}Lorem ipsum
  • {{color|#00F000|Lorem ipsum}}Lorem ipsum

Template data

<templatedata> { "params": { "1": { "label": "Color", "description": "CSS name of color or hex code of color.", "example": "red", "type": "string", "required": true }, "2": { "label": "Text", "description": "The string of text to be formatted in the desired color.", "type": "string", "required": true } }, "description": "The color template can be used to add a span of text with any given text color.", "format": "inline" } </templatedata>