Help:Editing: Difference between revisions
ArrowHead294 (talk | contribs) |
ArrowHead294 (talk | contribs) mNo edit summary |
||
| Line 172: | Line 172: | ||
=== Maths formulas === | === Maths formulas === | ||
… can be used {{w|Help:Displaying a formula|like in Wikipedia}}. For inline math, start it with <code> | … can be used {{w|Help:Displaying a formula|like in Wikipedia}}. For inline math, start it with <code><nowiki><math></nowiki></code> and end it with <code><nowiki></math></nowiki></code>. For example: <math>V =\frac{4}{3} \pi r^3</math>. For display-style math, open and close the formulas with both <code><nowiki>$$</nowiki></code>; this will render it centered in a new line. | ||
Here is a browser-based formula editor that may be helpful: [https://editor.codecogs.com/ Equation Editor] | Here is a browser-based formula editor that may be helpful: [https://editor.codecogs.com/ Equation Editor] | ||
=== Table of contents === | === Table of contents === | ||
Place <code><nowiki | Place <code>__<nowiki />TOC__</code> where you wish to place the table of contents, mostly this will be at the top of the page. | ||
=== | === Notes and references === | ||
A reference mark is added by <code> | A reference mark is added by <code><nowiki><ref></nowiki></code> and <code><nowiki></ref></nowiki></code> parenthesising the reference text. | ||
The reference texts are shown in the bottom of the article by default; though it is preferable to insert: | |||
<pre> | |||
== References == | |||
<references /> | |||
</pre> | |||
where you wish to show them. | |||
For footnotes, the practice is similar. Insert the text in the note itself between <code><nowiki><ref group="note"></nowiki></code> and <code><nowiki></ref></nowiki></code>. | |||
For pages with footnotes and references, place: | |||
<pre> | |||
== References == | |||
<references group="note" /> | |||
</pre> | |||
before the References section. | |||
References can be reused throughout an article by giving then names. The first time this reference is used, type the full text of the note or reference between the tags (<code><nowiki><ref name="example1">Note 1</ref></nowiki></code>). If you want to reference <code>example1</code> multiple times in the same page, type <code><nowiki><ref name="example1" /></nowiki></code> on all subsequent instances. | |||
== Article structure == | == Article structure == | ||