Template:Xt/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Army1987
→‎Usage: better examples, in the old one the advantage over quotemarks or italics isn't obvious
meta>Army1987
m →‎Usage: argument
Line 3: Line 3:


=== Usage ===
=== Usage ===
Use this template to format style examples (for example, on the [[Wikipedia:Manual of Style|Manual of Style]] and its subpages), especially when using quotation marks or italics could be confusing. (Use <code>1=</code> before the parameter if it contains equals signs.)
Use this template to format style examples (for example, on the [[Wikipedia:Manual of Style|Manual of Style]] and its subpages), especially when using quotation marks or italics could be confusing. (Use <code>1=</code> before the argument if it contains equals signs.)


{|class="wikitable"
{|class="wikitable"

Revision as of 13:12, 18 December 2008

Usage

Use this template to format style examples (for example, on the Manual of Style and its subpages), especially when using quotation marks or italics could be confusing. (Use 1= before the argument if it contains equals signs.)

Examples
What you write
Symbols for variables are normally italicized, and symbols for units of measurement are usually upright: for example, {{xt|1=''T'' = 293.15 K}}, {{xt|1=''m'' = 5.4 kg}}.
For nested quotations, use double quotes for the outermost level, single quotes for the next inner level, and continue alternating: for example, {{xt|The Dalai Lama wrote: "As Richard Feynman said, 'I think I can safely say that nobody understands quantum mechanics.'"}}
What you get
Symbols for variables are normally italicized, and symbols for units of measurement are usually upright: for example, T = 293.15 K, m = 5.4 kg.
For nested quotations, use double quotes for the outermost level, single quotes for the next inner level, and continue alternating: for example, The Dalai Lama wrote: "As Richard Feynman said, 'I think I can safely say that nobody understands quantum mechanics.'"