Registration has been disabled and the moderation extension has been turned off.
Contact an admin on Discord or EDF if you want an account. Also fuck bots.

Template:Colortext: Difference between revisions

From Encyclopedia Dramatica
Jump to navigation Jump to search
imported>H64
No edit summary
imported>TabbyGarf
1 revision imported
 
(13 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<span style="color:{{{1}}};">{{{2}}}</span><noinclude>
<includeonly><font color="{{{1}}}">{{{2}}}</font></includeonly><noinclude>
{{TOCright}}
== Usage ==
 
Syntax:
 
<pre>{{colortext|1|2}}</pre>
 
where:
 
* 1 = color name or value
* 2 = text to be displayed
 
=== Example ===
 
This:
 
<pre>{{colortext|red|loldongs}}</pre>


== Usage ==
results in this:
<nowiki>{{colortext|red|loldongs}}</nowiki>


{{colortext|red|loldongs}}
{{colortext|red|loldongs}}
== See also ==
* [[Template:Greentext]]
== External links ==
References:
* [http://www.w3schools.com/html/html_colornames.asp HTML Color Names]
* [http://www.w3schools.com/html/html_colorvalues.asp HTML Color Values]
* [http://www.w3schools.com/html/html_colorgroups.asp HTML Color Groups]
* [http://www.w3schools.com/html/html_colors.asp HTML Color]
* [http://www.w3schools.com/tags/ref_colorpicker.asp HTML Color Picker]


[[Category:Formatting Templates|{{PAGENAME}}]]</noinclude>
[[Category:Formatting Templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 10:17, 25 March 2021

Usage

Syntax:

{{colortext|1|2}}

where:

  • 1 = color name or value
  • 2 = text to be displayed

Example

This:

{{colortext|red|loldongs}}

results in this:

loldongs

See also

External links

References: