Difference between revisions of "Template:Link twocolor"
From Ouroboros Portal
(Created page with "[[{{{1}}}|{{#ifexist: {{{1}}}|<span style="color:{{{2}}};">{{{4}}}</span>|<span style="color:{{{3}}};">{{{4}}}</span>}}|{{{1}}}]]<noinclude> This is the {{tl|Link twocolor}}...") |
(Removed spurious clause that breaks template) |
||
Line 1: | Line 1: | ||
− | [[{{{1}}}|{{#ifexist: {{{1}}}|<span style="color:{{{2}}};">{{{4}}}</span>|<span style="color:{{{3}}};">{{{4}}}</span> | + | [[{{{1}}}|{{#ifexist: {{{1}}}|<span style="color:{{{2}}};">{{{4}}}</span>|<span style="color:{{{3}}};">{{{4}}}</span>}}]]<noinclude> |
This is the {{tl|Link twocolor}} template, a modified version of Slagatastic's {{tl|Link color}} template. It is used for swapping link colors for use with various templates. This version supports unvisited link colors. | This is the {{tl|Link twocolor}} template, a modified version of Slagatastic's {{tl|Link color}} template. It is used for swapping link colors for use with various templates. This version supports unvisited link colors. |
Latest revision as of 17:10, 28 August 2018
[[{{{1}}}|{{{4}}}]]
This is the {{Link twocolor}} template, a modified version of Slagatastic's {{Link color}} template. It is used for swapping link colors for use with various templates. This version supports unvisited link colors.
Usage: {{Link twocolor|ARTICLE|COLOR1|COLOR2|LINK TEXT}}
- COLOR1 - This is the color of visited links
- COLOR2 - The color of unvisited links