Difference between revisions of "Template:Colors of the rainbow/doc"

From blackwiki
Jump to navigation Jump to search
imported>FanonRoutemapCreator
(Creating documentation)
 
imported>Cedar101
m (→‎Usage: lang="text" inline)
 
Line 4: Line 4:
 
Use this template when referring to the colors of the rainbow.
 
Use this template when referring to the colors of the rainbow.
  
To put a color from the rainbow into a page, use the code <syntaxhighlight>#{{Colors of the rainbow|Alpha}}</syntaxhighlight> and replace ‘Alpha’ with the color you want (always remember to capitalize the first letter of the color).
+
To put a color from the rainbow into a page, use the code <syntaxhighlight lang="text" inline>#{{Colors of the rainbow|Alpha}}</syntaxhighlight> and replace ‘Alpha’ with the color you want (always remember to capitalize the first letter of the color).
  
 
{|class=“wikitable”
 
{|class=“wikitable”

Latest revision as of 02:19, 24 October 2018

Usage

Use this template when referring to the colors of the rainbow.

To put a color from the rainbow into a page, use the code #{{Colors of the rainbow|Alpha}} and replace ‘Alpha’ with the color you want (always remember to capitalize the first letter of the color).

{{Colors of the rainbow|Red}} Sample:   ff0000
{{Colors of the rainbow|Orange}} Sample:   ffa500
{{Colors of the rainbow|Yellow}} Sample:   ffff00
{{Colors of the rainbow|Green}} Sample:   00ff00
{{Colors of the rainbow|Blue}} Sample:   0000ff
{{Colors of the rainbow|Indigo}} Sample:   4b0082
{{Colors of the rainbow|Violet}} Sample:   ee82ee