Difference between revisions of "Template:Colors"

From Mine Blocks Wiki
Jump to navigation Jump to search
If you find a typo, inconsistency, or error, please sign up and help out the wiki! We can't do it without your help! :D Thank you!

(stupid rainbow (fix))
 
Line 80: Line 80:
 
{{#ifeq:{{{rainbow|}}}|false
 
{{#ifeq:{{{rainbow|}}}|false
 
     |
 
     |
     |rainbow
+
     |{{!}}rainbow
     |<div class="rainbow-color" style="width:100px;height:20px;"></div>
+
     {{!}}<div class="rainbow-color" style="width:100px;height:20px;"></div>
 
}}
 
}}
 
|}
 
|}

Latest revision as of 20:30, 19 November 2023

A template for displaying a list of color tags.

Parameters

Parameter Default Description
rainbow true Displays the rainbow row in the table.

Usage

Example Description
{{template}} Displays the default color table
{{template|rainbow=false}} Omits the rainbow row from the default table

Template

Type Preview
red
green
blue
brown
cyan
lightblue
lightgreen
magenta
orange
pink
purple
white
yellow
lightgray
gray
black
rainbow