Difference between revisions of "Template:Colored Link/doc"

From Krafties
Jump to navigation Jump to search
m
m
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
  
<pre>Usage: Mandatory
+
Just a template that adds a {{tag|span}} to color your links easily.
Description: The 1 parameter takes a string or strings denoting the actual page to be linked to. This is used to generate the actual link. This parameter is an anonymous parameter, which means that no parameter name needs to be explicitly specified to use it.
+
 
Valid Value(s): Any string or strings.
+
==Usage==
2
+
<pre>{{Colored Link
Usage: Optional
+
|PageName
Description: The 2 parameter takes a string or strings denoting the text that the link displays. This is used to generate the link's visible text. This parameter is an anonymous parameter, which means that no parameter name needs to be explicitly specified to use it.
+
|CustomName
Valid Value(s): Any string or strings.
+
|color=#000}}</pre>
color
+
*<code>1=</code> Page name (for the link)
Usage: Optional
+
*<code>2=</code> (OPTIONAL) custom name for link
Description: The color parameter takes a string denoting the color in which the link should display. This is used to generate the color of the link. If this parameter is left blank or omitted, a default value of "000000" is used.
+
*<code>color=</code> specify what color
Valid Value(s): Any string that corresponds to a valid hexidecimal color value.</pre>
+
 
 
==See Also==
 
==See Also==
 
*{{tl|Colored Text}}
 
*{{tl|Colored Text}}
  
 
<includeonly>
 
<includeonly>
[[Category:Typing-aid templates]]
+
[[Category:Formatting templates]]
 
</includeonly>
 
</includeonly>

Latest revision as of 04:54, 5 May 2017

This is a documentation subpage for Template:Colored Link.
It contains usage information, categories and other content that is not part of the original template page.

Just a template that adds a <span>...</span> to color your links easily.

Usage[edit]

{{Colored Link
|PageName
|CustomName
|color=#000}}
  • 1= Page name (for the link)
  • 2= (OPTIONAL) custom name for link
  • color= specify what color

See Also[edit]