Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Template:Xt/doc: Difference between revisions

Content deleted Content added
Rm {{used in system}}, no longer used in system messages
mNo edit summary
Line 19:
{{strong|Also, this family of templates is ''not'' for use as [[Help:Wikitext|wikitext markup]] for [[Wikipedia:Quotations|quotations]] on [[Wikipedia:Talk pages|talk pages]]}}; use {{tlx|tq}} instead.
 
For cases where the serif typeface is not desirable (e.g. in blocks of computer code), use {{tlx|bxt}}, which substitutes boldfacing, or {{tlx|mxt}}, which substitutes a mono-spacedmonospaced font. For style examples that break to their own line (e.g. paragraphs), use {{tlx|xt2}}.
 
For examples of {{!xt|bad/wrong style, in red}}, use {{tlx|!xt}}, {{tlx|!bxt}}, {{tlx|!mxt}}, or {{tlx|!xt2}}, respectively.
Line 33:
 
==Accessibility==
The accompanying change in typeface to a serif or mono-spacedmonospaced type style (as in {{xt|example text}}) is to make it fully accessible for those with [[color blindness]].
 
Keep [[WP:Accessibility|accessibility]] more broadly in mind, and never construct examples such that a blind person, who may not be able to see the coloration, boldfacing, or monospace font change, cannot understand the examples. Especially indicate, with terms like "not", "don't", "wrong:", etc., that a negative example is a negative one, or with "deprecated", "avoid", etc., that deprecated material is deprecated.