MediaWiki:Formatting: Difference between revisions
Jump to navigation
Jump to search
Created page with "Category:Help =Generic= Wiki formatting options: Check Mediawiki advanced editing [https://meta.wikimedia.org/wiki/Help:Advanced_editing] for more. ;<nowiki><syntaxhighlight lang='bash'></nowiki> ;<nowiki></syntaxhighlight></nowiki> :Block of code formatted for the specified [http://pygments.org/languages/ language] ;<nowiki><nowiki></nowiki> ;<nowiki></nowiki></nowiki> :Do not apply wiki formatting on this block ;<nowiki>;</nowiki> Definition list term (<nowiki><..." |
No edit summary |
||
| Line 1: | Line 1: | ||
[[Category: | [[Category:MediaWiki]] | ||
=Generic= | =Generic= | ||
Wiki formatting options: | Wiki formatting options: | ||
Revision as of 21:21, 3 February 2025
Generic
Wiki formatting options: Check Mediawiki advanced editing [1] for more.
- <syntaxhighlight lang='bash'>
- </syntaxhighlight>
- Block of code formatted for the specified language
- <nowiki>
- </nowiki>
- Do not apply wiki formatting on this block
- ; Definition list term (<dt>)
- : Definition list definition or just indent(<dd>)
- :: Indent more
- * Bullit list
- Bullit list
- # Numbered list
- Numbered list
- [[category:name]]
- Add this page to category 'name'
- [[wikipage|alt text]]
- Link to page on local wiki. When provided 'alt text' is displayed instead of the page name.
- [[wikipage#Anchor|alt text]]
- Link to anchor on local wiki page. Headings, span and div's are automatic anchors.
- <span id=Anchor1></span>
- <div id=Anchor1></div>
- =Heading=
- Create anchor (works for each heading level)
- [URL text]
- Link to URL. When text is not provided the link's consecutive number is displayed.
- ''italics''
- '''bold'''
- '''''bold italics'''''
- <code>
Fixed width text</code>
Tables
| {| | table start, required |
| |+ | table caption, optional; only between table start and table row |
| |- | table row, optional on first row—wiki engine assumes the first row |
| ! | table header cell, optional. Consecutive table header cells may be added on same line separated by double marks (!!) or start on new lines, each with its own single mark (!).
|
| | | table data cell, optional.> Consecutive table data cells may be added on same line separated by double marks (||) or start on new lines, each with its own single mark (|).
|
| |} | table end, required |
Template:
{| class="wikitable" style="width:60%"
|+ Caption
! Header
! Header
|-
| Content
| Content
|}
| Header | Header |
|---|---|
| Content | Content |
Formula's
For formula rendering by the Math extension check these examples.
Basic <math>formula</math>
Embedded file (images)
[[file:RadioSpectrum.jpeg|400x1107px]]. See the MediaWiki documentation.
References
After activating the Cite extentsion in LocalSettings.php (wfLoadExtension( 'Cite' );) you can put <ref>This is the reference</ref> in your text. At the end of the page you can put {{References}} or {{reflist}} to have the references displayed.
More on how to use references can be found with wikipedia [2][3]