Help:Template cheatsheet: Difference between revisions

Content deleted Content added
Line 1,166:
|{{Tl|color}}
|
|<code><nowiki>{{color|color or hex code|Text}}</nowiki></code>
|<code><nowiki>{{color|red|'''Hello, world!'''}}</nowiki></code>
|{{color|red|'''Hello, world!'''}}
|
|Changes text to specified color
|
|-
|{{Tl|font color}}
|
|<code><nowiki>{{font color | text color | background color | text }}</nowiki></code>
|<code><nowiki>{{font color|yellow|green|text with four words}}</nowiki></code>
|{{font color|yellow|green|text with four words}}
|
|Changes text and background to specified colours
|
|-
|{{Tl|font}}
|
|<code><nowiki>{{font|text= |font= |size= |color= |bgcolor= |css= }}</nowiki></code>
|<code><nowiki>{{font|text=Some text.|font=Comic Sans MS|size=20px|color=#7f5620}}</nowiki></code>
|{{font|text=Some text.|font=Comic Sans MS|size=20px|color=#7f5620}}
|
| Allows changing font, size, colour and background colour of text
|
|-
|{{Tl|em}}