Template:BoldColor: Difference between revisions

From Avisynth wiki
Jump to navigationJump to search
Raffriff42 (talk | contribs)
formatting - bold, color
 
Raffriff42 (talk | contribs)
m font-size "important"
Line 1: Line 1:
<span style="color:{{{1|}}};font-weight:bold;font-size:{{{1|}}}%;">{{{3|}}}</span><noinclude>
<span style="color:{{{1|}}};font-weight:bold;font-size:{{{1|}}}%!important;">{{{3|}}}</span><noinclude>


----
----
Line 12: Line 12:
;Example
;Example
:<tt><nowiki>{{</nowiki>BoldColor|blue|110|<nowiki>''Note''</nowiki>}} - this is very important.</tt>
:<tt><nowiki>{{</nowiki>BoldColor|blue|110|<nowiki>''Note''</nowiki>}} - this is very important.</tt>
:<span style="color:blue;font-weight:bold;font-size:110%;">''Note''</span> - this is very important.
:<span style="color:blue;font-weight:bold;font-size:110%!important;">''Note''</span> - this is very important.


[[Category:Format_templates]]
[[Category:Format_templates]]
</noinclude>
</noinclude>

Revision as of 20:44, 31 January 2016


Usage
{{BoldColor|color|size|text}}
Parameters
color sets the text color. See CSS color names.
size sets the text size relative to the current font size, in percent.
text is the text itself. This template may break with formatted text or unusual characters.
Example
{{BoldColor|blue|110|''Note''}} - this is very important.
Note - this is very important.