Wikitext: Difference between revisions
No edit summary |
|||
Line 14: | Line 14: | ||
==Images== | ==Images== | ||
See [ | See [[Mediawiki: Help:Images]]. | ||
==Line Breaks== | ==Line Breaks== | ||
Line 22: | Line 22: | ||
Download my extension [[Mediawikiwiki: Extension:LineBreaks]] to use two spaces and a new line as a line break. | Download my extension [[Mediawikiwiki: Extension:LineBreaks]] to use two spaces and a new line as a line break. | ||
==References== | |||
Referenced are defined using the <code><ref></code> tag inline. | |||
I'm actually pretty opposed to formatting all references inline with the wikitext. | |||
They should be centralized somewhere else such as in a references section. | |||
Instead you can use [[Wikipedia: Help:Footnotes#List-defined_references]]. |
Revision as of 04:57, 3 August 2020
Code
Inline code can by represented with <code></code>
Code blocks should be like:
<syntaxhighlight lang="cpp"> // ... my code here </syntaxhighlight>
Math
Math is written in standard latex syntax inside of <math></math>.
- Beware: Do not use
||
, use\Vert
instead.
Images
Line Breaks
Line breaks are usually done with:
<br>
or<br />
for new lines- Two new lines for paragraph breaks
Download my extension Mediawikiwiki: Extension:LineBreaks to use two spaces and a new line as a line break.
References
Referenced are defined using the <ref>
tag inline.
I'm actually pretty opposed to formatting all references inline with the wikitext.
They should be centralized somewhere else such as in a references section.
Instead you can use Wikipedia: Help:Footnotes#List-defined_references.