Difference between revisions of "Template:Color"
From LFS Manual
Jump to navigationJump to search (Created page with "<includeonly><div style="border: 1px solid {{{border|#c8ccd1}}}; background-color: {{{bg|#FAFAFA}}}; width: 1rem; height: 1rem;">{{{1}}}</div></includeonly><noinclude> {{Docum...") |
m |
||
(14 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>< | + | <includeonly><span style="position: relative; display: inline-block; border: 1px solid #666; background-color: {{{1}}}; width: 1rem; height: 1rem;">{{#if:{{{2|}}}|<span style="clip-path: polygon(0 0, 100% 0, 100% 100%); display: inline-block; background: {{{2|}}}; width: 1rem; height: 1rem; transform: skewY(0.001deg);"></span>}}</span></includeonly><noinclude> |
{{Documentation}} | {{Documentation}} |
Latest revision as of 12:46, 27 July 2024
Template documentation
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}} |
|