More actions
m Add entity section. |
m Add section about formula presentation. |
||
| Line 41: | Line 41: | ||
==== Piped link ==== | ==== Piped link ==== | ||
A piped link is an internal or [[#interwiki link|interwiki]] link where the link target and link label are both specified. | A piped link is an internal or [[#interwiki link|interwiki]] link where the link target and link label are both specified. Piped links should be used sparingly, if a wiki redirect is available it should be used instead. | ||
==== Space or underscore ==== | ==== Space or underscore ==== | ||
| Line 148: | Line 148: | ||
* Finally the external link rendering can be suppressed by using the CSS class {{Co|wheat|plainlinks}} making the link look like an internal one. <code><nowiki><span class="plainlinks">[https://wiki.eveuniversity.org/index.php?title=User:Evon_R%27al Evon R'al's user page]</span></nowiki></code> produces <span class="plainlinks">[https://wiki.eveuniversity.org/index.php?title=User:Evon_R%27al Evon R'al's user page]</span> | * Finally the external link rendering can be suppressed by using the CSS class {{Co|wheat|plainlinks}} making the link look like an internal one. <code><nowiki><span class="plainlinks">[https://wiki.eveuniversity.org/index.php?title=User:Evon_R%27al Evon R'al's user page]</span></nowiki></code> produces <span class="plainlinks">[https://wiki.eveuniversity.org/index.php?title=User:Evon_R%27al Evon R'al's user page]</span> | ||
=== Formula presentation === | |||
UniWiki uses the extension [[:Mediawikiwiki:Extension:SimpleMathJax|SimpleMathJax]] for the presentation of formulas. The formula to be presented needs to be encased whit the tags <nowiki><math></nowiki> and <nowiki></math></nowiki>. <math>\TeX</math> or <math>\LaTeX</math> markup can be used. Error will be marked as <math>\sqrt</math> | |||
To display a formula the following markup can be used: | |||
{| class="wikitable" style="text-align: center;" | |||
|- | |||
! Source !! MathJax presentation || Notes | |||
|- | |||
| X^n || <math>X^n</math> || exponentiation | |||
|- | |||
| a \times b || <math>a \times b</math> || multiplication | |||
|- | |||
| a / b || <math>a / b</math> || divission | |||
|- | |||
| \sqrt{X} || <math>\sqrt{X}</math> || square root | |||
|- | |||
| \root{n} \of{X} || <math>\root{n} \of{X}</math> | |||
|- | |||
| a + b || <math>a + b</math> || addition | |||
|- | |||
| a - b || <math>a - b</math> || abstraction | |||
|- | |||
| \pi || <math>\pi</math> || | |||
|- | |||
| V_{max} ||<math>V_{max}</math> || subscript | |||
|- | |||
| \text{text} ||<math>\text{text}</math> || roman text | |||
|- | |||
| text || <math>text</math> | |||
|- | |||
| \color{blue} b ||<math>\color{blue} b</math> || color | |||
|- | |||
| \color{blue} \text{Blue} || <math>\color{blue} \text{Blue}</math> || | |||
|- | |||
| { \color{blue} b } X || <math>{ \color{blue} b } X</math> || partial color | |||
|- | |||
| \sin || <math>\sin</math> | |||
|} | |||
See also: | |||
* [[UniWiki:Manual of Style/Mathematics]] | |||
* [https://docs.mathjax.org/en/latest/index.html MathJax] | |||
* [https://docs.mathjax.org/en/latest/input/tex/index.html MathJax Tex and LaTeX support] | |||
* [[:Wikipedia:Help:Displaying a formula]] | |||
* [[:Wikipedia:Wikipedia:Manual of Style/Mathematics]] | |||
* [[:Wikipedia:MathML]] | |||
* [[Editing commands visual guide#Math]] | |||
== CSS == | == CSS == | ||
| Line 155: | Line 204: | ||
* [https://developer.mozilla.org/en-US/docs/Web/CSS mdn web docs reference] | * [https://developer.mozilla.org/en-US/docs/Web/CSS mdn web docs reference] | ||
=== CSS location === | === CSS location === | ||
; External style sheet :A separate file with CSS definitions. Loaded into the page with a HTML link in the head section of the page. | ; External style sheet : A separate file with CSS definitions. Loaded into the page with a HTML link in the head section of the page. | ||
; Internal style sheet :On the page in the style element of the head section | ; Internal style sheet : On the page in the style element of the head section | ||
; Inline CSS :By using the style attribute of an HTML element. | ; Inline CSS : By using the style attribute of an HTML element. | ||
For external and Internal style sheets the order in which they | For external and Internal style sheets the order in which they are called in a page is relevant, the last one "wins". | ||
=== Cascading order === | === Cascading order === | ||
| Line 167: | Line 216: | ||
** Internal and external style sheet. In the order they are entered on the page. | ** Internal and external style sheet. In the order they are entered on the page. | ||
*** Inline CSS | *** Inline CSS | ||
when an individual CSS property is used more than ones the last occurrence "wins". | |||
== HTML and CSS entities == | == HTML and CSS entities == | ||