Template:Color/doc: Difference between revisions
Template page
More actions
No edit summary |
m Reverted edits by 2001:16A2:E226:CE67:C546:5B90:92B:94A1 (talk) to last revision by Achim55 |
||
| Line 1: | Line 1: | ||
{{Lua|Module:String}} | {{Heavily used template|3=+}}{{Lua|Module:String}} | ||
{{TemplateBox | {{TemplateBox | ||
|1 = | |1 = | ||
| Line 48: | Line 48: | ||
'''Usage:''' <nowiki>{{</nowiki>Color|''color''|''text''}} | '''Usage:''' <nowiki>{{</nowiki>Color|''color''|''text''}} | ||
'''Examples:''' | '''Examples:''' | ||
* <nowiki>{{</nowiki>color|red|example text}} → {{color|red|example text}} | * <nowiki>{{</nowiki>color|red|example text}} → {{color|red|example text}} | ||
* <nowiki>{{</nowiki>color|#00F|example text}} → {{color|#00F|example text|bg=none}} | * <nowiki>{{</nowiki>color|#00F|example text}} → {{color|#00F|example text|bg=none}} | ||
| Line 82: | Line 82: | ||
* b = ''any of the parameter values normal, bold, lighter, bolder, 100, 200, ... 900'' | * b = ''any of the parameter values normal, bold, lighter, bolder, 100, 200, ... 900'' | ||
The specifications <code>6=b</code>, <code>b=bold</code>, <code>bold=bold</code>, <code>b=700</code>, <code>bold=700</code> are equivalent;<br />it can as well be specified with <code>style=font-weigth:bold</code> or <code>css=font-weight:700</code>. | The specifications <code>6=b</code>, <code>b=bold</code>, <code>bold=bold</code>, <code>b=700</code>, <code>bold=700</code> are equivalent;<br />it can as well be specified with <code>style=font-weigth:bold</code> or <code>css=font-weight:700</code>. | ||
<includeonly> | |||
[[Category:Colorbox formatting templates| ]] | |||
[[Category:Color text formatting templates| ]] | |||
<includeonly> | <includeonly> | ||