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.)
<!--=== See also ===-->
 
<includeonly>
<!-- CATEGORIES AND INTERWIKIS BELOW THIS LINE PLEASE -->
 
</includeonly>


{|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''&nbsp;=&nbsp;293.15 K}}, {{xt|1=''m''&nbsp;=&nbsp;5.4&nbsp;kg}}.
Avoid nonsensical sentences (e.g., do not write {{Example text|Toxic suzaphones do not sleep well under velvet roadkills}} but rather {{Example text|Lord Butterfairy is not a real person, but the world would be a better place if he were}}).
</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>
|-
|-
|Avoid nonsensical sentences (e.g., do not write {{Example text|Toxic suzaphones do not sleep well under velvet roadkills}} but rather {{Example text|Lord Butterfairy is not a real person, but the world would be a better place if he were}}).
|Symbols for variables are normally italicized, and symbols for units of measurement are usually upright: for example, {{xt|1=''T''&nbsp;=&nbsp;293.15 K}}, {{xt|1=''m''&nbsp;=&nbsp;5.4&nbsp;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

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.)

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.'"