Difference between revisions of "Template:Color"

From LFS Manual
Jump to navigationJump to search
m
m
Line 1: Line 1:
<includeonly><div style="border: 1px solid {{{border|#c8ccd1}}}; background-color: {{{1}}}; width: 1rem; height: 1rem;"></div></includeonly><noinclude>
+
<includeonly><span style="display: inline-block; border: 1px solid {{{border|#c8ccd1}}}; background-color: {{{1}}}; width: 1rem; height: 1rem;"></span></includeonly><noinclude>
 
{{Documentation}}
 
{{Documentation}}

Revision as of 18:05, 26 July 2024

Template Info-Icon.png

Template documentation

View - Edit

Markup Renders as
{{color|black}}
{{color|gray}}
{{color|silver}}
{{color|white}}
{{color|red}}
{{color|orange}}
{{color|yellow}}
{{color|green}}
{{color|turquoise}}
{{color|blue}}
{{color|magenta}}
{{color|purple}}
{{color|#cf9cab}}

Two colors

Markup Renders as
{{color|red|yellow}}