Difference between revisions of "FAQ Editing"
From crtc.cs.odu.edu
(add table generator link) |
(→How to insert citations ?) |
||
Line 42: | Line 42: | ||
== How to insert citations ? == | == How to insert citations ? == | ||
Wrap reference inside <code><nowiki> <ref> </ref> </nowiki></code> | Wrap reference inside <code><nowiki> <ref> </ref> </nowiki></code> | ||
+ | |||
example: | example: | ||
− | + | <span > | |
− | <source> | + | <source style="color: red"> |
The Sun is pretty big.<ref>E. Miller, ''The Sun'', (New York: Academic Press, 2005), 23-5.</ref> The Moon, however, is not so big.<ref>''R. Smith, "Size of the Moon", ''Scientific American'', 46 (April 1978): 44-6.</ref> | The Sun is pretty big.<ref>E. Miller, ''The Sun'', (New York: Academic Press, 2005), 23-5.</ref> The Moon, however, is not so big.<ref>''R. Smith, "Size of the Moon", ''Scientific American'', 46 (April 1978): 44-6.</ref> | ||
Line 51: | Line 52: | ||
The Sun is pretty big.<ref>E. Miller, ''The Sun'', (New York: Academic Press, 2005), 23-5.</ref> The Moon, however, is not so big.<ref>''R. Smith, "Size of the Moon", ''Scientific American'', 46 (April 1978): 44-6.</ref> | The Sun is pretty big.<ref>E. Miller, ''The Sun'', (New York: Academic Press, 2005), 23-5.</ref> The Moon, however, is not so big.<ref>''R. Smith, "Size of the Moon", ''Scientific American'', 46 (April 1978): 44-6.</ref> | ||
− | + | </span> | |
=== References=== | === References=== | ||
<references /> | <references /> | ||
+ | |||
For more see [https://www.mediawiki.org/wiki/Extension:Cite#Usage https://www.mediawiki.org/wiki/Extension:Cite#Usage] | For more see [https://www.mediawiki.org/wiki/Extension:Cite#Usage https://www.mediawiki.org/wiki/Extension:Cite#Usage] | ||
+ | <span style="bgcolor:red">hello world</span> | ||
+ | |||
+ | <syntaxhighlight lang="html4strict" style="color:red" > | ||
+ | HTML module goes here... | ||
+ | </syntaxhighlight> |
Revision as of 15:30, 9 May 2018
Contents
How to create a new page
On the browser address bar type :
cepm.cs.odu.edu/<name of page>
or
cepm.cs.odu.edu/<namespace> : <name of page>
How does formatting work ?
https://www.mediawiki.org/wiki/Help:Formatting
How to (easily) create tables ?
http://www.tablesgenerator.com/mediawiki_tables
How to insert code snippets with syntax highlight ?
Warp them in <syntaxhighlight> </syntaxhighlight>
tags
example:
<syntaxhighlight lang="python" line='line'>
def quickSort(arr):
less = []
pivotList = []
more = []
if len(arr) <= 1:
return arr
else:
pass
</syntaxhighlight>
def quickSort(arr):
less = []
pivotList = []
more = []
if len(arr) <= 1:
return arr
else:
pass
For more see https://www.mediawiki.org/wiki/Extension:SyntaxHighlight
How to insert citations ?
Wrap reference inside <ref> </ref>
example:
The Sun is pretty big.<ref>E. Miller, ''The Sun'', (New York: Academic Press, 2005), 23-5.</ref> The Moon, however, is not so big.<ref>''R. Smith, "Size of the Moon", ''Scientific American'', 46 (April 1978): 44-6.</ref>
<references />
The Sun is pretty big.[1] The Moon, however, is not so big.[2]
References
For more see https://www.mediawiki.org/wiki/Extension:Cite#Usage
hello world
HTML module goes here...