Template:Font color/doc: Difference between revisions

[checked revision][checked revision]
Content deleted Content added
m Text replacement - "[[WP:" to "[[Wikipedia:WP:"
m Text replacement - "[[Help:Template" to "[[Wikipedia:Help:Template‏‎ "
 
(One intermediate revision by the same user not shown)
Line 17:
{{tl | Font color }} is also how you can color wikilinks
to something other than blue for when you need to work within background colors.
Normally <kbd>[<nowiki/>[ wikilink ]]</kbd> &rarr; [[wikilinkwikipedia:Wikilink]],
but here we use a {{tl | font color }} with {{para | link }} to create a black wikilink &rarr;
{{ font color | black | violet | link=yes | &nbsp;&nbsp;&nbsp;wikilink&nbsp;&nbsp;&nbsp; }}
Line 42:
You can name <kbd>|fg=</kbd> or <kbd>|bg=</kbd>, which is nice, but...
if you name either of them, you must also name <kbd>|text=</kbd>, which is a compromise.
(See [[Wikipedia:Help:TemplateTemplate‏‎ #Parameters]] for why.)
 
Spacing is of no concern.