Difference between revisions of "Template:Colored Link"
m |
m |
||
| Line 1: | Line 1: | ||
| − | <includeonly>[[{{{1}}}|<font color="#{{#if:{{{ | + | <includeonly>[[{{{1}}}|<font color="#{{#if:{{{3}}}|{{{3}}}|000000}}">{{#if:{{{2}}}|{{{2}}}|{{{1}}}}}</font>]]</includeonly><noinclude> |
This is a template to color links. | This is a template to color links. | ||
| − | Usage | + | ==Usage== |
| + | <pre> | ||
| + | {{Link | Page | Text | Color}} | ||
| + | </pre> | ||
| + | * Link = Name of this template. | ||
| + | * Page = The actual page to be linked to. | ||
| + | * Text = Optional parameter which determines the text displayed as the link. Default is the value of "Page". | ||
| + | * Color = Optional named parameter which determines the text color. Default is black (000000). | ||
| − | + | [[Category:General Wiki Templates]] | |
| − | + | ||
| − | + | ||
</noinclude> | </noinclude> | ||
Revision as of 15:40, 7 January 2008
This is a template to color links.
Usage
{{Link | Page | Text | Color}}
- Link = Name of this template.
- Page = The actual page to be linked to.
- Text = Optional parameter which determines the text displayed as the link. Default is the value of "Page".
- Color = Optional named parameter which determines the text color. Default is black (000000).