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

From blackwiki
Jump to navigation Jump to search
imported>Gadget850
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(6 intermediate revisions by 3 users not shown)
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]].}}}}
  
== Usage ==
+
=== Usage ===
This template highlights the included text using a rounded box with shadows.
+
This template highlights text with slightly rounded corners and a subtle shadow effect.
 +
{|
 +
|{{tlc|highlight round|some text}}{{in5}}                  ||&rarr;{{in5}}||{{highlight round|some text}}{{in5}}(defaults to yellow)
 +
|-
 +
|{{tlc|highlight round|some text|bc{{=}}#ffa07a}}{{in5}}  ||&rarr;{{in5}}||{{highlight round|some text|bc=#ffa07a}}
 +
|-
 +
|{{tlc|highlight round|some text|bc{{=}}lightgreen}}{{in5}}||&rarr;{{in5}}||{{highlight round|some text|bc=lightgreen}}
 +
|}
  
* unnamed 1: Content
+
==== See also ====
* ''bc'': background color; defaults to {{code|yellow}}
+
* {{tl|highlight}}<!--
  
== See also ==
+
--><includeonly>{{Sandbox other||
 
+
[[Category:Text color templates]]
<includeonly>
+
[[Category:Typing-aid templates]]
<!-- Categories and interwikis go here: -->
+
}}</includeonly>
 
 
</includeonly>
 

Latest revision as of 16:51, 25 April 2020

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