Template:SL: Difference between revisions
No edit summary |
m (Text replacement - "]] </noinclude>" to "]]</noinclude>") |
||
Line 9: | Line 9: | ||
Another parameter in the template allows the user to change the color of the link. Typing '''<nowiki>{{SL|Roxas|color=#CC9900}}</nowiki>''' will appear as '''{{SL|Roxas|color=#CC9900}}''' and typing '''<nowiki>{{SL|List of known Keyblade Wielders|Keyblade wielders|color=#33FF33}}</nowiki>''' will give '''{{SL|List of known Keyblade Wielders|Keyblade wielders|color=#33FF33}}'''. | Another parameter in the template allows the user to change the color of the link. Typing '''<nowiki>{{SL|Roxas|color=#CC9900}}</nowiki>''' will appear as '''{{SL|Roxas|color=#CC9900}}''' and typing '''<nowiki>{{SL|List of known Keyblade Wielders|Keyblade wielders|color=#33FF33}}</nowiki>''' will give '''{{SL|List of known Keyblade Wielders|Keyblade wielders|color=#33FF33}}'''. | ||
[[Category:In-line templates|{{PAGENAME}}]] | [[Category:In-line templates|{{PAGENAME}}]]</noinclude> | ||
</noinclude> |
Revision as of 06:45, 30 August 2019
[[{{{1}}}|<font color="#CC2200">{{{1}}}</font>]]
This template functions exactly like a normal link would, but gives a different color. SL is the shorthand for "Special Link". This is to be used in place of usual links where the background color is too close to the normal link color, #002BB8, or where normal link colors aren't used, like navigation headers.
When color parameters aren't supplied, the default color shown is the broken link color, #CC2200.
Typing [[Sora]] will show as Sora whereas {{SL|Sora}} will show as Sora. Typing [[Ventus|Ven]] will show as Ven whereas {{SL|Ventus|Ven}} will show as Ven.
Another parameter in the template allows the user to change the color of the link. Typing {{SL|Roxas|color=#CC9900}} will appear as Roxas and typing {{SL|List of known Keyblade Wielders|Keyblade wielders|color=#33FF33}} will give Keyblade wielders.