Template:Xt/doc: Difference between revisions

→‎Usage: clean up
m (1 revision)
(→‎Usage: clean up)
 
Line 3: Line 3:


==Usage==
==Usage==
Use template {{tlx|xt}} (the name of which stands for "e<strong>x</strong>ample <strong>t</strong>ext") in order to format examples of style, especially when using quotation marks or italics could be confusing. This changes the given text to {{xt|the serif typeface and green color}}. This template is used frequently in the [[Wikipedia:Manual of Style|Manual of Style]] when ''inline'' typeface changes are needed. For cases where the serif typeface is not desirable (e.g. in blocks of computer code), use {{tlx|bxt}}, which substitutes boldfacing. For style examples that break to their own line (e.g. paragraphs), use {{tlx|xt2}}.  {{strong|This template is not for use as quotation markup in talk pages; use {{tlx|tq}} instead.}}
Use template {{tlx|xt}} (the name of which stands for "e<strong>x</strong>ample <strong>t</strong>ext") in order to format examples of style, especially when using quotation marks or italics could be confusing. This changes the given text to {{xt|the serif typeface and green color}}. This template is used frequently in the [[Sarkarverse:Manual of Style|Manual of Style]] when ''inline'' typeface changes are needed. For cases where the serif typeface is not desirable (e.g. in blocks of computer code), use {{tlx|bxt}}, which substitutes boldfacing. For style examples that break to their own line (e.g. paragraphs), use {{tlx|xt2}}.  {{strong|This template is not for use as quotation markup in talk pages; use {{tlx|tq}} instead.}}


For examples of {{!xt|bad/wrong style, in red}}, use {{tlx|!xt}} (or {{tlx|!bxt}}) and {{tlx|!xt2}}, respectively.
For examples of {{!xt|bad/wrong style, in red}}, use {{tlx|!xt}} (or {{tlx|!bxt}}) and {{tlx|!xt2}}, respectively.
14,061

edits