Difference between revisions of "Template:Black/doc"

From blackwiki
Jump to navigation Jump to search
imported>Senator2029
(adding hatnote for disambiguation)
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(4 intermediate revisions by 4 users not shown)
Line 10: Line 10:
 
The code <code><nowiki><span style="color:black"> </span></nowiki></code> is placed around the text entered with this template.
 
The code <code><nowiki><span style="color:black"> </span></nowiki></code> is placed around the text entered with this template.
  
<includeonly><!--
+
== Template data ==
 +
{{TemplateDataHeader}}
 +
<TemplateData>
 +
{
 +
        "description": "This template changes the color of any supplied text to black",
 +
        "params": {
 +
                "1": {
 +
                        "label": "Text",
 +
                        "description": "The text that should be colored black.",
 +
                        "type": "string",
 +
                        "required": true
 +
                }
 +
        }
 +
}
 +
</TemplateData>
 +
 
 +
== See also ==
 +
{{Text color templates see also}}
 +
 
 +
<includeonly>{{Sandbox other||<!--
 
++++ PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE, INSIDE INCLUDEONLY TAGS, THANK YOU. -->
 
++++ PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE, INSIDE INCLUDEONLY TAGS, THANK YOU. -->
  
Line 17: Line 36:
  
 
<!-- interwiki -->
 
<!-- interwiki -->
[[es:Plantilla:Negro]]
 
 
[[pt:Predefinição:Black (cor)]]
 
[[pt:Predefinição:Black (cor)]]
[[hy:Կաղապար:Սև]]
+
 
</includeonly>
+
}}</includeonly>

Latest revision as of 00:04, 24 April 2020

Usage

My {{black|color}} text. Produces:

My color text.

How it works

The code <span style="color:black"> </span> is placed around the text entered with this template.

Template data

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Black

This template changes the color of any supplied text to black

Template parameters

ParameterDescriptionTypeStatus
Text1

The text that should be colored black.

Stringrequired

See also

Template:Text color templates see also