Template:Link style: Difference between revisions

m
no edit summary
No edit summary
mNo edit summary
Line 1:
<includeonly>[[{{{1}}}|<span style={{{style|color:#ffffff;}}}>{{{2|{{{1}}}}}}</span>]]</includeonly><noinclude>
This template lets you style wikilinks (a.k.a internal links). ItTechnically speaking, it is mainly used to style the <code>text-decoration</code>, <code>color</code>, and <code>background</code> attributes, which are often overridden by styles withinin <code><nowiki><a></a></nowiki></code> tags placed post hoc by the wikitext parser. The alias <code>'''ls'''</code> can be used instead of <code>'''Link style'''</code>.
 
== Usage ==
<code>&lbrace;&lbrace;'''Link style'''|<var>link target</var>|<var>link text</var>|style=<var>style</var>&rbrace;&rbrace;</code>
Line 17 ⟶ 18:
 
== What if I only want to style ''part'' of a link text? ==
HereFor more granular control, don't use this template. Instead, here is basically how thethis template works. Go nuts.
 
<code><nowiki>[[Hololive Production|<span style="text-decoration:red wavy underline">Hololive</span> Production]]</nowiki></code> = [[Hololive Production|<span style="text-decoration:red wavy underline">Hololive</span> Production]]