උදවු:Link color
In Wikipedia, the color of a link shows the status of the corresponding target page. The default colors (in the Vector skin) have the meanings shown in the table below. See also Wikipedia:Manual of Style/Accessibility/Colors. Standard colors
Note that the colors in the boxes may appear darker than text of the same color; also, larger or bold text will tend to look darker. Furthermore, the actual color seen by a user will vary slightly according to their operating system, desktop settings, and browser, as well as their monitor and for low-end LCDs, viewing angle. Logged-in users can also change the colors they see by selecting a different skin or using custom CSS. Custom colorsTo use named CSS colors for text on a white background, refer to Wikipedia:Manual of Style/Accessibility/CSS colors for text on white for recommended colors. Normal textFor normal text, the {{color}} template with two parameters can be used: the color, either by name or hex code, and some text. However, prose text intended for readers should never be manually colored. ()
LinksRefrain from implementing colored links that may impede user ability to distinguish links from regular text, or color links for purely aesthetic reasons. () Styling individual links on a pageYou can set the color of an individual link or set of links on a page (rather than a global change to the style of all links on Wikipedia) as follows. Setting styles in this way will apply to everyone who views those particular links or that particular page, not just you. However, links intended for readers should never be manually colored. () The {{colored link}} template takes two parameters to function: the color of the link, the article being linked to, with an optional third parameter for alternative text to display as a piped link.
You can turn links a different color like so:
Or, if you desire existence checking, you can try:
External linksA similar styled span can be added within an external link:
Styling all links just for youYou can also customize link colors by editing the CSS at your skin subpage. This is a change which will apply to all links throughout the site, but will only be visible to you. The standard link selectors are:
Colors are defined by hexadecimal characters: see web colors. /* standard link colors */
.mw-body-content a:link { color: #0000FF; } /* normal unvisited links */
.mw-body-content a:link:visited { color: #0B0080; } /* visited links */
.mw-body-content a:link:active { color: #FF0000; } /* active links */
.mw-body-content a:link.new { color: #FF0000; } /* new links */
.mw-body-content a:link.extiw { color: #3366BB; } /* interwiki links */
.mw-body-content a:link.external { color: #3366BB; } /* external links */
.mw-body-content a:link.stub { color: #772233; } /* hovered links */
.mw-body-content a:link {color: #FF0000}
.mw-body-content a:visited {color: #00FF00}
.mw-body-content a:hover {color: #FF00FF}
.mw-body-content a:active {color: #0000FF}
Notes:
RedirectShow redirects as green links: .mw-body-content a.mw-redirect {color:#308050}
.mw-body-content a.mw-redirect:visited {color:#3070A0}
ExternalShow external links as green links: .mw-body-content a.external {color: #008000}
.mw-body-content a.external:visited {color: #008000}
Text decorationThis allows formatting such as underlines. For example: .mw-body-content a:link {color: #000000; text-decoration: underline; }
Possible values are:
Font familyThis will change the link font: .mw-body-content a:link {font-family: monospace}
PreferencesThe "display links to disambiguation pages in orange" feature, located in the gadgets tab of the preferences menu (under the "appearance" section), shows you all links to disambiguation pages in orange. ScriptsUser:Anomie/linkclassifier is a popular script that customizes colors to indicate links such as pages to be deleted, nonfree-media, redirects, protected pages and more. See also
|
Portal di Ensiklopedia Dunia