Difference between revisions of "Template:Highlight round"

From blackwiki
Jump to navigation Jump to search
imported>DH85868993
(fix tag)
imported>Jay D. Easy
(A margin this large doesn't seem necessary)
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}}</noinclude>
+
<span style="margin-right: 0.1em; 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 04:19, 16 December 2018

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