Difference between revisions of "Template:Colored Link"

From Wiki
Jump to: navigation, search
(Copied from UOGuide to color links in Template:Infobox Item)
 
(Replaced content with '<includeonly>[[{{{1}}}|{{Colored Text|color={{{color|000000}}}|text={{{2|{{{1}}}}}}}}]]</includeonly>')
Line 1: Line 1:
<noinclude>{{Template Overview
+
<includeonly>[[{{{1}}}|{{Colored Text|color={{{color|000000}}}|text={{{2|{{{1}}}}}}}}]]</includeonly>
|usedon=all
+
|purpose=display a link in a specific, custom color
+
|template=<nowiki>{{Colored Link|(Page)|(Text)|color=}}</nowiki>
+
|category=Utility
+
}}
+
{{Template Parameter
+
|name=1
+
|usage=mandatory
+
|takes=a string or strings
+
|denotes=the actual page to be linked to
+
|generates=the actual link
+
|othernotes=This parameter is an anonymous parameter, which means that no parameter name needs to be explicitly specified to use it.
+
|validvalues=Any string or strings.
+
}}
+
{{Template Parameter
+
|name=2
+
|takes=a string or strings
+
|denotes=the text that the link displays
+
|generates=the link's visible text
+
|othernotes=This parameter is an anonymous parameter, which means that no parameter name needs to be explicitly specified to use it.
+
|validvalues=Any string or strings.
+
}}
+
{{Template Parameter
+
|name=color
+
|takes=a string
+
|denotes=the color in which the link should display
+
|generates=the color of the link
+
|defaultvalue=000000
+
|validvalues=Any string that corresponds to a valid hexidecimal color value.
+
}}
+
</noinclude><includeonly>[[{{{1}}}|{{Colored Text|color={{{color|000000}}}|text={{{2|{{{1}}}}}}}}]]</includeonly>
+

Revision as of 22:13, 6 July 2010