Difference between revisions of "Template:Black/doc"
Jump to navigation
Jump to search
imported>F10 whateve (→Usage) |
imported>Vanisaac m (→See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other) |
||
| (8 intermediate revisions by 8 users not shown) | |||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> | <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> | ||
| + | {{For|the table cell template|Template:BLACK}} | ||
| + | == Usage == | ||
| + | My {{tlc|black|color}} text. Produces: | ||
| − | < | + | My {{black|color}} text. |
| − | + | ||
| + | == How it works == | ||
| + | The code <code><nowiki><span style="color:black"> </span></nowiki></code> is placed around the text entered with this template. | ||
| + | |||
| + | == 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><!-- | + | <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 14: | Line 36: | ||
<!-- interwiki --> | <!-- interwiki --> | ||
| − | [[ | + | [[pt:Predefinição:Black (cor)]] |
| − | |||
| − | |||
| − | |||
| − | + | }}</includeonly> | |
Latest revision as of 00:04, 24 April 2020
| This is a documentation subpage for Template:Black. It contains usage information, categories and other content that is not part of the original template page. |
Contents
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
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Text | 1 | The text that should be colored black. | String | required |
See also
Template:Text color templates see also