Template:Colorbox/doc: Difference between revisions

From Dothack Info
Jump to navigation Jump to search
(Created page with "{{TemplateBox |1 = 1 |1label-en= background |1d-en = Background color of the box. Colors are most commonly specified as either a color keyword or as the hexadecimal triplet representing an RGB combination. See {{W|web colors}} for details. Note: Using black, blue, purple, or red colorbox obscures plain text, unvisited, visited, and missing wikilinks, respectively, as these are the default colors for most users. Such dark colors provide bad contrast ratio...")
 
mNo edit summary
 
Line 108: Line 108:
[[zh:Template:Colorbox]]
[[zh:Template:Colorbox]]
</includeonly>
</includeonly>
<noinclude>[[Category:Template]]</noinclude>

Latest revision as of 23:45, 18 January 2024

Script error: No such module "Languages".



Examples

Examples
Visual effect Markup
    



{{colorbox|Red}}
 Default color for this text 



{{colorbox|Fuchsia|Default color for this text}}
 Wikilink to the article on Wikipedia 



{{colorbox|Yellow|Wikilink to the article on Wikipedia|Wikipedia:}}
 Using an Template:W 



{{colorbox|Chartreuse|Using an '''{{W|X11 color names|X11 color name}}'''}}
 same color as "#DC2" 



{{colorbox|Rgb(86.7% 80% 13.3%)|same color as "#DC2"}} = dez. 221-204-34
 Using RGB hex triplet 



{{colorbox|#FEDCBA|''Using Template:W''|W:Web colors#Hex triplet}}
 Wikilink to the Template:Wd 



{{colorbox|#CFE|Wikilink to the {{Wd||German Wikipedia}}}}
Template:Color {{Color|b|bg=#CFE| Wikilink to the {{Wd||German Wikipedia}} |css=border:1px solid #AAA}}