Difference between revisions of "Template:Highlight round"

From blackwiki
Jump to navigation Jump to search
imported>WOSlinker
(use border-radius css directly)
imported>WOSlinker
(de-dup style)
 
Line 1: Line 1:
<includeonly><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></includeonly><noinclude>{{documentation}}</noinclude>
+
<includeonly><span style="margin-right:0.1em; padding:3px 4px 2px; background-color:{{{bc|yellow}}}; border:1px; border-radius:3px; box-shadow:2px 2px 4px #A0A080;">{{{1|Highlighted text}}}</span></includeonly><noinclude>{{documentation}}</noinclude>

Latest revision as of 00:21, 1 January 2021

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