Template:Bg

From FORwiki

(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
-
<span style="background-color: {{{c}}}">{{{t}}}</span><noinclude>
+
<span style="background-color: {{{c}}}">{{{t}}}</span>
-
 
+
<noinclude>
-
== Usage ==
+
-
This template is used to create a background color, kind of like highlighting in Microsoft Word or Open Office Writer.
+
-
 
+
-
<tt><nowiki>{{bg|t=text|c=(hexadecimal) color}}</nowiki></tt>
+
-
 
+
-
== Example ==
+
-
 
+
-
<tt><nowiki>{{bg|t=Foresight Studies|c=green}}</nowiki></tt>
+
-
 
+
-
{{bg|t=Foresight Studies|c=green}}
+
-
 
+
-
==See also==
+
-
 
+
-
* {{tl|Colors}} – background/text color (text in free span)
+
-
* {{tl|TextColors}} – background/text color (text in block table)
+
-
* {{tl|NestTextColors}} – background/text color (text in block div)
+
-
* {{tl|bkg}} – background color (text in free span)
+
-
* {{tl|bg}} – background color (text in free span)
+
-
 
+
{{Documentation}}
{{Documentation}}
[[Category:Templates]]
[[Category:Templates]]
[[Category:Visual Templates]]
[[Category:Visual Templates]]
</noinclude>
</noinclude>

Revision as of 17:30, 24 December 2009

{{{t}}}

[edit] [purge] Template documentation

Usage

This template is used to create a background color, kind of like highlighting in Microsoft Word or Open Office Writer.

{{bg|t=text|c=(hexadecimal) color}}

Example

{{bg|t=Foresight Studies|c=green}}

Foresight Studies

See also

  • {{Colors}} – background/text color (text in free span)
  • {{TextColors}} – background/text color (text in block table)
  • {{NestTextColors}} – background/text color (text in block div)
  • {{bkg}} – background color (text in free span)
  • {{bg}} – background color (text in free span)
Personal tools