Difference between revisions of "Template:Textbox"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
− | < | + | <span style="margin:0;background-color: |
{{#switch: {{{1}}} | {{#switch: {{{1}}} | ||
| blue = #ddffff; | | blue = #ddffff; | ||
Line 11: | Line 11: | ||
| {{{1}}}; | | {{{1}}}; | ||
}} | }} | ||
− | border:1px solid #a3bfb1;text-align:left;color:{{{2}}};padding:0.2em 0.4em;">{{{3}}}</ | + | border:1px solid #a3bfb1;text-align:left;color:{{{2}}};padding:0.2em 0.4em;">{{{3}}}</span> |
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> |
Revision as of 18:03, 10 August 2008
Some example text to go in the text box.
To use this template write the following:
{{Textbox|<background colour>|<foreground colour>|<text>}} e.g. for the example above use: {{Textbox|khaki|blue|your Some example text to go in the text box.}}
You can use any of the standard HTML colour names that can been found here. Or, if you prefer, you can specify your own background or foreground colour using the RGB hexadecimal colour code e.g. #40E0D0 instead of the name.
Some additional Changeringing Wiki colours have been created for use as very pale backgrounds:
blue
yellow
green
pink
purple
salmon
grey