Difference between revisions of "Template:Colors"
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!
(Created page with "{| class="wikitable" width="200px" !Type !Preview |- |red |<div style="width:100px;height:20px;background-color:#BE0000"></div> |- |green |<div style="width:100px;height:20px;...") |
(Template info :)) |
||
Line 1: | Line 1: | ||
− | {| class="wikitable" width="200px" | + | <noinclude> |
+ | A template for displaying a list of color tags. | ||
+ | |||
+ | == Parameters == | ||
+ | {| class='wikitable' width='400px' | ||
+ | !Parameter | ||
+ | !Default | ||
+ | !Description | ||
+ | |- | ||
+ | |<code>rainbow</code> | ||
+ | |<code>true</code> | ||
+ | |Displays the rainbow row in the table. | ||
+ | |} | ||
+ | |||
+ | == Usage == | ||
+ | {| class='wikitable' width='600px' | ||
+ | !Example | ||
+ | !Description | ||
+ | |- | ||
+ | |<code><nowiki>{{template}}</nowiki></code> | ||
+ | |Displays the default color table | ||
+ | |- | ||
+ | |<code><nowiki>{{template|rainbow=false}}</nowiki></code> | ||
+ | |Omits the rainbow row from the default table | ||
+ | |} | ||
+ | |||
+ | == Template == | ||
+ | </noinclude>{| class="wikitable" width="200px" | ||
!Type | !Type | ||
!Preview | !Preview |
Revision as of 14:57, 27 December 2018
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
|rainbow |Type | Preview |
---|---|
red | |
green | |
blue | |
brown | |
cyan | |
lightblue | |
lightgreen | |
magenta | |
orange | |
pink | |
purple | |
white | |
yellow | |
lightgray | |
gray | |
black |