Difference between revisions of "Template:Highlight round"

From blackwiki
Jump to navigation Jump to search
imported>Gadget850
(doc)
imported>DH85868993
(fix tag)
Line 1: Line 1:
<span style="margin-right: 0.4em; padding: 3px 4px 2px; background-color: {{{bc|yellow}}}; border: 1px; {{border-radius|3px}}; box-shadow: 0.1em 0.1em 0.25em rgba(0,0,0,0.75); {{box-shadow|2px|2px|4px|#A0A080}};">{{{1|Highlighted text}}}</span><noinclude>{{documentation}}</includeonly>
+
<span style="margin-right: 0.4em; padding: 3px 4px 2px; background-color: {{{bc|yellow}}}; border: 1px; {{border-radius|3px}}; box-shadow: 0.1em 0.1em 0.25em rgba(0,0,0,0.75); {{box-shadow|2px|2px|4px|#A0A080}};">{{{1|Highlighted text}}}</span><noinclude>{{documentation}}</noinclude>

Revision as of 02:10, 15 September 2014

Highlighted text

Template documentation[view] [edit] [history] [purge]

Usage

This template highlights text with slightly rounded corners and a subtle shadow effect.

{{highlight round|some text}}      →      some text     (defaults to yellow)
{{highlight round|some text|bc=#ffa07a}}      →      some text
{{highlight round|some text|bc=lightgreen}}      →      some text

See also