Template:Color palette/doc: Difference between revisions
Template page
More actions
Created page with "{{Documentation subpage}} == Usage == {| class"wikitable" |Usage |} <code><nowiki>{{Color palette|color=typeofcolor}}</nowiki></code> {| class="wikitable" |Full syntax |} <code><nowiki>{{Color palette |color=typeofcolor |imagesize=}}</nowiki></code> {| class="wikitable" |Note |} This template does not support hex values (e.g.: #ABC123) for Web colors. == Examples == {| class="wikitable" !Markup !Renders As |- | <code><nowiki>{{Color palette|color=red|imagesize=10..." |
(No difference)
|
Latest revision as of 00:05, 25 February 2025
| This is a documentation subpage for Template:Color palette. It may contain usage information, categories and other content that is not part of the original template page. |
Usage
| Usage |
{{Color palette|color=typeofcolor}}
| Full syntax |
{{Color palette |color=typeofcolor |imagesize=}}
| Note |
This template does not support hex values (e.g.: #ABC123) for Web colors.
Examples
| Markup | Renders As |
|---|---|
{{Color palette|color=red|imagesize=100px}}
renders as: |
|
{{Color palette|color=blue}}
renders as: |
Error message
When you add any color that is not available, it will show the following:
{{Color palette|color=blue}} → File:Solid error.svg
Supported colors
This template uses File: to request images with the name "File:Solid color name.svg". Options are listed at commons:Category:SVG_solid_squares.