Template:Font color/doc: Difference between revisions
| [checked revision] | [checked revision] |
Content deleted Content added
Caleb Cooper (talk | contribs) |
Caleb Cooper (talk | contribs) m Text replacement - "[[Help:Template" to "[[Wikipedia:Help:Template " |
||
| (2 intermediate revisions by the same user not shown) | |||
Line 1:
{{Documentation subpage}}
{{Wikipedia-Warning|1={{big|'''Links should clearly be identifiable as links to readers'''.}}<br />Refrain from implementing colored links that may impede user ability to distinguish links from regular text, or color links for purely aesthetic reasons. See the guides to editing articles for accessibility at [[Wikipedia:WP:CONTRAST|contrast]], [[ Wikipedia:Manual of Style/Accessibility|accessibility]] and [[Wikipedia:WP:NAVBOXCOLOUR|navbox colors]].}}
{{High-use}}
{{Commons Import}}
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> → [[
but here we use a {{tl | font color }} with {{para | link }} to create a black wikilink →
{{ font color | black | violet | link=yes | wikilink }}
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:
Spacing is of no concern.
| |||