Template:Red View history

(Undo revision 41029 by Kentsmith9 (talk) Repaired my repair)
m (moved template data to doc page)
 
(5 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|This text will display in red.}}</nowiki>'''
 
{{TemplateDisplay}}
 
<span style="color:#FF0000">This is an example of text passed as the second parameter of this template.</span>
 
</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.