Difference between revisions of "Template:Highlight round/doc"

From blackwiki
Jump to navigation Jump to search
imported>Jay D. Easy
(+shortcut)
imported>Jay D. Easy
(update)
Line 1: Line 1:
{{Documentation subpage}}
+
{{Documentation subpage}}{{template shortcut|hir}}
<!-- Categories and interwikis go at the bottom of this page. -->
+
{{ombox|type=content|text={{ubl|{{strong|This template is only intended for use on [[WP:GOVPS|administration pages]].}}|Per [[MOS:COLOR]], please do {{em|not}} use this template on [[WP:NS0|main namespace]] pages such as [[WP:GOV#Content namespaces|articles, categories, or portals]].}}}}
{{template shortcut|hir}}
+
 
 
=== Usage ===
 
=== Usage ===
{{col-begin}}
+
This template highlights text with slightly rounded corners and a subtle shadow effect.
{{col-break|width=40%}}
+
{|
{{tlc|highlight round|some text}}<br>
+
|{{tlc|highlight round|some text}}{{in5}}                  ||&rarr;{{in5}}||{{highlight round|some text}}{{in5}}(defaults to yellow)
{{tlc|highlight round|some text|bc{{=}}#ffa07a}}<br>
+
|-
{{tlc|highlight round|some text|bc{{=}}lightgreen}}
+
|{{tlc|highlight round|some text|bc{{=}}#ffa07a}}{{in5}}   ||&rarr;{{in5}}||{{highlight round|some text|bc=#ffa07a}}
 
+
|-
{{col-break}}
+
|{{tlc|highlight round|some text|bc{{=}}lightgreen}}{{in5}}||&rarr;{{in5}}||{{highlight round|some text|bc=lightgreen}}
:→ {{highlight round|some text}} (defaults to yellow)
+
|}
:→ {{highlight round|some text|bc=#ffa07a}}
 
:→ {{highlight round|some text|bc=lightgreen}}
 
{{col-end}}
 
  
== See also ==
+
==== See also ====
* {{tl|Highlight}}
+
* {{tl|highlight}}<!--
  
<includeonly>
+
--><includeonly>
<!-- Categories and interwikis go here: -->
 
 
[[Category:Text color templates]]
 
[[Category:Text color templates]]
 
[[Category:Typing-aid templates]]
 
[[Category:Typing-aid templates]]
 
</includeonly>
 
</includeonly>

Revision as of 01:06, 23 March 2019

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