Difference between revisions of "Template:Colorbox"

From Goon Wiki
Jump to: navigation, search
m
 
Line 1: Line 1:
<span style="background-color:{{{1|}}}; color:{{{3|}}}; text-align:center; border-radius:1em; border:solid #ccc thin;">{{#if:{{{2|}}}|&nbsp;{{{2}}}&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp;}}</span>
<span style="background-color:{{{1|}}}; color:{{{3|}}}; text-align:center; border-radius:1em; border:solid #ccc thin;">{{#if:{{{2|}}}|&nbsp;{{{2}}}&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp;}}</span><noinclude>{{documentation}}[[Category:Template]]</noinclude>
<noinclude>{{documentation}}[[Category:Template]]</noinclude>

Latest revision as of 08:11, 11 November 2021

    

[edit] Template-info.png Template documentation

This is a simple color box template, for use on pages where a color needs to be displayed in-line with text. To set a color for the box, add a pipe, a # symbol, and then the hex code of the color after the usual template syntax, EG: {{template:color_box|#00ff00}}