Difference between revisions of "Template:Link"
From Hetalia Archives
(Created page with '<includeonly>{{ #ifeq: {{{external}}}|yes|{{(}}|{{(}}{{(}}}}{{{link}}}{{ #ifeq: {{{external}}}|yes| |{{!}}}}<span {{ #if: {{{color|}}} | style="color: {{{color}}};"}}>{{{text…') |
|||
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== | ==Usage== | ||
<pre>{{link|link=|text=|color=|external=yes}}</pre> | <pre>{{link|link=|text=|color=|external=yes}}</pre> |
Revision as of 21:40, 7 November 2010
This template generates custom internal and external links.
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 Hetalia Archives or InterWiki-linkable page.
{{link|link=http://z15.invisionfree.com/Hetayume_Forums/index.php?showforum=1|text=Annoucements and Rules|color=Green|external=yes}}generates Annoucements and Rules.