User:Tony Wills/sandbox

From Wikimedia Commons, the free media repository
Jump to: navigation, search

This template creates a box filled with a color of choice, optionally filled with a label which can be a wikilink.

Examples[edit]

This code... Yields...
{{ColorBox|purple}} (no 2nd parameter)  
{{ColorBox|green|}} (blank 2nd parameter)  
{{ColorBox|blue|fred}} (text as the 2nd parameter)  
{{ColorBox|#EE0000|[[:category:Esoteric templates| ]]}} (a wikilink as the 2nd parameter)  

{{ColorBox|#000000}} {{ColorBox|#000066}} {{ColorBox|#003399}}
{{ColorBox|#3366CC}} {{ColorBox|#6699FF}} {{ColorBox|#8CCCFF}}
{{ColorBox|#B3EEFF}} {{ColorBox|#E3FFFF}} {{ColorBox|#FFFFFF}}