(Category creation) |
m (usa:Template:Red/doc سے 8 نسخے درآمد کیے گئے: ImportingTemplates from USA) |
||
(6 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 12:29, 30 April 2020
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 |