Template:BoldColor

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
(formatting - bold, color)
 
m (typo)
 
(One intermediate revision by one user not shown)
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:{{{2|}}}%!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>

Latest revision as of 19:45, 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.
Personal tools