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 wikilinkslinks that are enclosed within <code>[[</code> and <code>]]</code>(ai.ke.a internal links) and interwiki links). Technically speaking, it is mainly used to style the <code>text-decoration</code>, <code>color</code>, and <code>background</code> attributes, which are often overridden in <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 ==
Line 10:
== Examples ==
* <code><nowiki>{{Link style|Hololive Production|Hololive|style="background:#27c7fe; color:#ffffff;"}}</nowiki></code> = {{Link style|Hololive Production|Hololive|style="background:#27c7fe; color:#ffffff;"}}
* <code><nowiki><span style="background-color:#27c7fe;></nowiki>'''<nowiki>{{ls|Hololive Production}}</nowiki>'''<nowiki></span></nowiki></code> = <span style="background-color:#27c7fe;>{{ls|Hololive Production}}</span>
 
== External links ==