Template:Style
Jump to navigation
Jump to search
{{{2}}}
This template wraps text in an HTML span
tag with custom inline CSS. The first parameter is the CSS, the second one is the text or other content. Saves you a whopping 11 characters. Do not use this carelessly!
{{style|background:black;color:white|Special text here}}
This is equivalent to:
<span style="background:black;color:white">Special text here</span>
Here is the example, using the template:
Special text here