Difference between revisions of "Template:Textbox"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
− | < | + | <includeonly> |
− | |||
− | |||
− | |||
− | |||
<div style="margin:0;background-color: | <div style="margin:0;background-color: | ||
{{#switch: {{{1}}} | {{#switch: {{{1}}} | ||
Line 17: | Line 13: | ||
}} | }} | ||
border:1px solid #a3bfb1;text-align:left;color:{{{2}}};padding:0.2em 0.4em;">{{{3}}}</div> | border:1px solid #a3bfb1;text-align:left;color:{{{2}}};padding:0.2em 0.4em;">{{{3}}}</div> | ||
+ | </includeonly> | ||
+ | <noinclude> | ||
+ | {{Textbox|green|blue|Some example text to go in the text box.}} | ||
+ | |||
+ | To use this template write the following: | ||
+ | <pre> | ||
+ | {{Textbox|background|foreground| text }} | ||
+ | {{Textbox| green | blue |your text}} | ||
+ | </pre> | ||
+ | The following colours are commonly used for a pale background: | ||
+ | {{Textbox|blue||blue}} | ||
+ | |||
+ | {{Textbox|yellow||yellow}} | ||
+ | |||
+ | {{Textbox|green||green}} | ||
+ | |||
+ | {{Textbox|pink||pink}} | ||
+ | |||
+ | {{Textbox|purple||purple}} | ||
+ | |||
+ | {{Textbox|salmon||salmon}} | ||
+ | |||
+ | {{Textbox|grey||grey}} | ||
+ | |||
+ | {{Textbox|white||white}} | ||
+ | |||
+ | </noinclude> |
Revision as of 16:37, 10 August 2008
Some example text to go in the text box.
To use this template write the following:
{{Textbox|background|foreground| text }} {{Textbox| green | blue |your text}}
The following colours are commonly used for a pale background:
blue
yellow
green
pink
purple
salmon
grey
white