Difference between revisions of "Template:Link"
From LGPedia
					
										
					
					| m (Changing category sort key) |  (→Usage) | ||
| Line 1: | Line 1: | ||
| <includeonly>{{ #ifeq: {{{external}}}|yes|{{(}}|{{(}}{{(}}}}{{{link}}}{{ #ifeq: {{{external}}}|yes| |{{!}}}}<span {{ #if: {{{color|}}} | style="color: {{{color}}};"}}>{{{text|{{{link}}}}}}</span>{{ #ifeq: {{{external}}}|yes|]|]]}}</includeonly><noinclude>This template generates custom internal and external links. | <includeonly>{{ #ifeq: {{{external}}}|yes|{{(}}|{{(}}{{(}}}}{{{link}}}{{ #ifeq: {{{external}}}|yes| |{{!}}}}<span {{ #if: {{{color|}}} | style="color: {{{color}}};"}}>{{{text|{{{link}}}}}}</span>{{ #ifeq: {{{external}}}|yes|]|]]}}</includeonly><noinclude>This template generates custom internal and external links. | ||
| − | ==Usage== | + | '''Bold text''''''Bold text'''==Usage== | 
| <pre>{{link|link=|text=|color=|external=yes}}</pre> | <pre>{{link|link=|text=|color=|external=yes}}</pre> | ||
| :{|cellspacing="2" cellpadding="3" | :{|cellspacing="2" cellpadding="3" | ||
Revision as of 07:10, 8 December 2007
This template generates custom internal and external links. 'Bold text'Bold text==Usage==
{{link|link=|text=|color=|external=yes}}
- link - The target destination of this link - text - The text that should be shown. Defaults to link destination. - color - The color the text should be in. Can be any valid HTML color value or name. Defaults to normal link colors. - external=yes - Set this if the destination is not an LGPedia or InterWiki-linkable page. 
{{link|link=http://www.lonelygirl15.com/?p=292&play=1|text=Sing Until The End|color=Pink|external=yes}} generates Sing Until The End.
