Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

UniWiki:Manual of Style/Dates and numbers: Difference between revisions

From EVE University Wiki
Djavin novienta (talk | contribs)
Djavin novienta (talk | contribs)
Line 658: Line 658:
* In some cases it may be appropriate to provide a conversion accounting for inflation or deflation over time.
* In some cases it may be appropriate to provide a conversion accounting for inflation or deflation over time.


==<span id="Minus sign"></span>Common mathematical symbols==
==Common mathematical symbols==
{{shortcut|WP:COMMONMATH||MOS:MINUS}}
{{See also|UniWiki:Manual of Style/Mathematics}}
{{See also|Wikipedia:Manual of Style/Mathematics}}
 
* The ''Insert'' menu below the editing window gives a more complete list of math symbols, and allows symbols to be inserted without the HTML encoding (e.g. <code>&amp;divide;</code>) shown here.
* The ''Insert'' menu below the editing window gives a more complete list of math symbols, and allows symbols to be inserted without the HTML encoding (e.g. <code>&amp;divide;</code>) shown here.
* Spaces are placed to left and right when a symbol is used {{nobr|[[binary operation|with two operands]]}}, but no space is used when {{nobr|[[unary operation |there is one operand]]}}.
* Spaces are placed to left and right when a symbol is used [[Wikipedia:binary operation|with two operands]]}}, but no space is used when [[Wikipedia:unary operation |there is one operand]]}}.
* Use {{tlx|var}} or {{tag|var}} for variable names: <code><nowiki>{{var|base}} + {{var|ht}}</nowiki></code> and <code><nowiki><var>base</var> + <var>ht</var></nowiki></code> both produce {{var|base}} + {{var|ht}}.
* Use {{tag|var}} for variable names: <code><nowiki><var>base</var> + <var>ht</var></nowiki></code> produces <var>base</var> + <var>ht</var>.
* The {{tlx|nbsp}} and {{tlx|nowrap}} templates may be used to prevent awkward linebreaks.
* The {{tl|nbsp}} template may be used to prevent awkward linebreaks.


{{clear right}}
{|class="wikitable" style="align: center; text-align: center;"
{|class="wikitable" style="align: center; text-align: center;"
|+Common mathematical symbols
|+Common mathematical symbols
Line 675: Line 674:
! Comments
! Comments
|-
|-
| rowspan=2| [[Plus sign|Plus /<br />positive]]
| rowspan=2| [[Wikipedia:Plus sign|Plus /<br />positive]]
| {{var|x}} + {{var|y}}
| <var>x</var> + <var>y</var>
| <code>{{var|x}} + {{var|y}}</code>
| <code><nowiki><var>x</var> + <var>y</var></nowiki></code>
| rowspan=2|
| rowspan=2|
|-
|-
| +{{var|y}}
| +<var>y</var>
| <code>+{{var|y}}</code>
| <code><nowiki>+<var>y</var></nowiki></code>
|-
|-
| rowspan=2|[[Minus sign|Minus /<br />negative]]
| rowspan=2|[[Wikipedia:Minus sign|Minus /<br />negative]]
| {{var|x}} &minus; {{var|y}}
| <var>x</var> &minus; <var>y</var>
| <code>{{var|x}} &amp;minus; {{var|y}}</code>
| <code>{{var|x}} &amp;minus; {{var|y}}</code>
| rowspan=2|Do not use hyphen ({{!xt|<code>-</code>}}) or dashes ({{!xt|{{tlx|ndash}}}} {{nobr|or {{!xt|{{tlx|mdash}}}}).}}
| rowspan=2|Do not use hyphen ({{!xt|<code>-</code>}}) or dashes ({{!xt|{{tlx|ndash}}}} {{nobr|or {{!xt|{{tlx|mdash}}}}).}}