Template:Red View history

m (Fixed template that somehow got transcluded)
m (moved template data to doc page)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>'''Documentation:''' This template displays the text after the pipe (|) in red using the wiki markup:
<span style="color:#FF0000">{{{1|}}}</span><noinclude>{{doc}}</noinclude>
 
'''<nowiki>{{Red|Display this in red.}}</nowiki>'''
 
{{TemplateDisplay}}
 
{{Red|This is an example of text passed as the second parameter of this template.}}
 
</noinclude><span style="color:#FF0000">{{{1|}}}</span>

Latest revision as of 21:17, 7 May 2017

Documentation icon Template documentation[view] [edit] [history] [purge]

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.

Template parameters

ParameterDescriptionTypeStatus
Text to be in red1

Put text that you want in red here

Stringrequired
The above documentation is transcluded from Template:Red/doc.
Please add categories to the /doc subpage.
Subpages of this template.