Template:Xt/doc: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Headbomb m moved Template:Example text/doc to Template:Xt/doc: to follow the rest of the template |
meta>Army1987 →Usage: better examples, in the old one the advantage over quotemarks or italics isn't obvious |
||
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 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.) | ||
< | |||
</ | |||
{|class="wikitable" | {|class="wikitable" | ||
Line 16: | Line 10: | ||
|<center>'''What you write'''</center> | |<center>'''What you write'''</center> | ||
|- | |- | ||
|<nowiki> | |<code><nowiki>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}}. | ||
</nowiki></code> | |||
</nowiki> | |- | ||
|<code><nowiki>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.'"}}</nowiki></code> | |||
|- | |- | ||
|<center>'''What you get'''</center> | |<center>'''What you get'''</center> | ||
|- | |- | ||
| | |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.'"}} | |||
|} | |} | ||
<includeonly> | |||
<!-- CATEGORIES AND INTERWIKIS BELOW THIS LINE PLEASE --> | |||
</includeonly> |
Revision as of 13:02, 18 December 2008
This is a documentation subpage for Template:Xt. It may contain usage information, categories and other content that is not part of the original template page. |
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 parameter if it contains equals signs.)
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.'"}}
|
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.'" |