Kentsmith9 (talk | contribs) (Moved category) |
Kentsmith9 (talk | contribs) m (Updated doc page) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{doc subpage}} | {{doc subpage}} | ||
This template displays the text after the pipe (|) in red | This template displays the text after the pipe (|) in red. | ||
== Usage == | |||
Entering the following code onto a page: | |||
{{Red|This | :{{nowrapcode|<nowiki>{{Red|Display this in red.}}</nowiki>}} | ||
Results in: | |||
:{{Red|Display this in red.}} | |||
==Template Data == | |||
<templatedata> | |||
{ | |||
"params": { | |||
"1": { | |||
"label": "Text to be in red", | |||
"description": "Put text that you want in red here", | |||
"type": "string", | |||
"required": true | |||
} | |||
}, | |||
"description": "This template makes text red." | |||
} | |||
</templatedata> | |||
<includeonly> | <includeonly> | ||
<!-- ADD CATEGORIES BELOW THIS LINE --> | <!-- ADD CATEGORIES BELOW THIS LINE --> | ||
[[Category: | [[Category:Text formatting templates]] | ||
<!-- ADD INTERWIKIS BELOW THIS LINE --> | <!-- ADD INTERWIKIS BELOW THIS LINE --> | ||
</includeonly> | </includeonly> |
Latest revision as of 21:25, 7 May 2017
This is a documentation subpage for . It contains usage information, categories and other content that is not part of the original template page. |
This template displays the text after the pipe (|) in red.
Usage
Entering the following code onto a page:
{{Red|Display this in red.}}
Results in:
- Display this in red.
Template Data
This template makes text red.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Text to be in red | 1 | Put text that you want in red here | String | required |