Difference between revisions of "Template:Textbox"

From Changeringing Wiki
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 9: Line 9:
 
  | salmon = #ffdddd;
 
  | salmon = #ffdddd;
 
  | grey = #dddddd;
 
  | grey = #dddddd;
| white = #ffffff;
 
 
  | {{{1}}};
 
  | {{{1}}};
 
}}
 
}}
Line 15: Line 14:
 
</includeonly>
 
</includeonly>
 
<noinclude>
 
<noinclude>
{{Textbox|green|blue|Some example text to go in the text box.}}
+
{{Textbox|khaki|blue|Some example text to go in the text box.}}
  
 
To use this template write the following:
 
To use this template write the following:
 
<pre>
 
<pre>
{{Textbox|background|foreground| text   }}
+
{{Textbox|<background colour>|<foreground colour>|<text>}}
{{Textbox|   green  |   blue |your text}}
+
 
 +
e.g. for the example above use:
 +
 
 +
{{Textbox|khaki|blue|your Some example text to go in the text box.}}
 
</pre>
 
</pre>
The following colours are commonly used for a pale background:
+
You can use any of the standard HTML colour names that can been found [http://www.w3schools.com/Html/html_colornames.asp 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:
 +
 
 
{{Textbox|blue||blue}}
 
{{Textbox|blue||blue}}
 
 
{{Textbox|yellow||yellow}}
 
{{Textbox|yellow||yellow}}
 
 
{{Textbox|green||green}}
 
{{Textbox|green||green}}
 
 
{{Textbox|pink||pink}}
 
{{Textbox|pink||pink}}
 
 
{{Textbox|purple||purple}}
 
{{Textbox|purple||purple}}
 
 
{{Textbox|salmon||salmon}}
 
{{Textbox|salmon||salmon}}
 
 
{{Textbox|grey||grey}}
 
{{Textbox|grey||grey}}
 
{{Textbox|white||white}}
 
  
 
</noinclude>
 
</noinclude>

Latest revision as of 18:04, 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