Help:Formatting: Difference between revisions
m (added footnotes and references to table) |
No edit summary |
||
Line 152: | Line 152: | ||
<nowiki><pre> some preformatted text with no indentation </pre></nowiki> | <nowiki><pre> some preformatted text with no indentation </pre></nowiki> | ||
| | | | ||
<pre> | <pre>some preformatted | ||
some preformatted | |||
text with no indentation | text with no indentation | ||
</pre> | </pre> |
Revision as of 16:57, 12 August 2008
Formatting text
You can format your text using a wiki markup. This consists of normal characters like asterisks, single quotes or equation marks which have a special function in the wiki, sometimes depending on their position.
For example, to format a word in italic, you include it in two single quotes like ''this''. 10 formatting options are displayed as icons right above the editing window.
From left to right the icons represent:
Bold text
Italic text
Internal link
External link
Level 2 headline
Embedded image
Media file link
Mathematical formula (LaTex)
Ignore Wiki syntax
Your signature with time stamp
Horizontal line
In stead of using the icons, you can also use the wiki markup notations listed in the (See table below).
Table examples text formatting
Description | You type | You get |
applies anywhere | ||
Italic text | ''italic'' | italic |
Bold text | '''bold''' | bold |
Bold and italic | '''''bold & italic''''' | bold & italic |
Strike through | <s>Strike through</s> | |
Escape wiki markup | <nowiki>no ''markup''</nowiki> | no ''markup'' |
Fixed width text |
<tt>Fixed width text</tt> |
Fixed width text |
only at the beginning of the line | ||
Indent text |
:Single indent |
|
Headings of different levels (An article with four or more headings will automatically create a table of contents) |
=level 1= |
Level 1 |
Horizontal rule |
---- |
|
Bullet list |
* one |
|
Numbered list |
# one |
|
Mixture of bulleted and numbered lists |
# one |
|
Definition list |
;Definition |
|
Preformatted text |
preformatted text is done with |
preformatted text is done with a space at the beginning of the line |
Preformatted text with no indentation |
<pre> some preformatted text with no indentation </pre> |
some preformatted text with no indentation |
Blockquotes |
Body <blockquote> quote quote quote quote quote quote </blockquote> text text text text text text text text text text text text |
Body
text text text text text text text text text text text text |
Comment |
<!--This is comment--> |
|
Source code highlight |
<geshi lang="java5" lines="0">for (int i = numbers.length - 1; i >= 0; i--) {</geshi> |
<geshi lang="java5" lines="0">for (int i = numbers.length - 1; i >= 0; i--) {</geshi> |
Footnote 1) One or multiple footnotes | For over 40 years, scientists have been developing numerical models to help understand and constrain how sedimentary systems are formed. <ref>Syvitski, J.P.M., 2008. Predictive modeling in sediment transport and stratigraphy. ''Computers & Geosciences'', '''34''', 1167-1169.</ref><ref>Briggs, L.I., Pollack, H.N. 1967. Digital model of evaporite sedimentation, ''Science'', '''155''', 2119–2162.</ref> ''Footnote'' <references/> | For over 40 years, scientists have been developing numerical models to help understand and constrain how sedimentary systems are formed. [1][2]
Footnote |
Footnote 2) Multiple uses of same footnote | This is an example of multiple references to the same footnote.<ref name="anyname">Remember that when you refer to the same footnote multiple times, the text from the first reference is used.</ref> Such references are particularly useful when citing sources, if different statements come from the same source.<ref name="anyname" /> ''Footnote'' <references /> | This is an example of multiple references to the same footnote.[1]
Such references are particularly useful when citing sources, if different statements come from the same source.[1] Footnote |
Footnote 3) Griyoed references | This is an example of a reference together with a footnote.<ref>This is the reference part.</ref> And now comes the footnote. <ref group="footnotes">Place a footnote here.</ref> ''Footnote'' <references group="footnotes" /> ''References'' <references /> | This is an example of a reference together with a footnote.[1]
And now comes the footnote. [footnotes 1] Footnote
References
|