Help-WikiMarkup: Difference between revisions
No edit summary |
|||
(16 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
==Summary== | ==Summary== | ||
When creating or modifying a page in the wiki, most of the time you simply type the text you want. But there are simple conventions you have to follow to indicate a new paragraph, headings and lists etc. This page will introduce you to the most basic ones, but there are very many more which you can find in the [[mediawiki:Help|Mediawiki Help]] pages. | |||
When creating or modifying a page in the wiki, most of the time you simply type the text you want. But there are simple conventions you have to follow to indicate a new paragraph, headings and lists etc. This page will introduce you to the most basic ones, but there are very many more which you can find in the [[ | |||
==Paragraphs and text== | ==Paragraphs and text== | ||
Line 19: | Line 15: | ||
| | | | ||
<pre> | <pre> | ||
This is | This is a | ||
single paragraph. | |||
paragraph. | |||
But this is a new one. | But this is a new one. | ||
</pre> | </pre> | ||
| | | | ||
This is | This is a | ||
single paragraph. | |||
paragraph. | |||
But this is a new one. | But this is a new one. | ||
Line 38: | Line 32: | ||
==Headings== | ==Headings== | ||
Headings are indicated by a line starting and ending with ( | Headings are indicated by a line starting and ending with (thesame number of) equals signs. More equals signs indicate lower level headings. | ||
{| class="wikitable" | {| class="wikitable" | ||
!You type | !You type | ||
Line 50: | Line 44: | ||
</pre> | </pre> | ||
| | | | ||
==Heading 1== | ==Heading 1== | ||
===Heading 2=== | ===Heading 2=== | ||
====Heading 3==== | ====Heading 3==== | ||
|} | |} | ||
==Lists== | ==Lists== | ||
Line 102: | Line 69: | ||
|- | |- | ||
|<pre> | |<pre> | ||
*Item 1 | |||
**Item 1.1 | |||
**Item 1.2 | |||
*Item 2 | |||
</pre> | </pre> | ||
| | | | ||
*Item 1 | |||
**Item 1.1 | |||
**Item 1.2 | |||
*Item 2 | |||
|} | |} | ||
==Links== | |||
Links to other Wiki pages are indicated by double square brackets ([[ ]]). Between them, insert the name of the page, a vertical bar (|), and the text which is to be hotlinked. | |||
A link to a technical term in the glossary is similar. Instead of the name of a page, insert "Glossary:" followed by the technical term. | |||
{| class="wikitable" | |||
!You type | |||
!You get | |||
|- | |||
| | |||
<nowiki> | |||
It's not so hard to [[Yes,_you_can_fix_your_laptop!|fix your laptop]]. | |||
</nowiki> | |||
| | |||
It's not so hard to [[Yes,_you_can_fix_your_laptop!|fix your laptop]]. | |||
|- | |||
| | |||
<nowiki> | |||
We don't recommend [[Glossary:Percussive_maintenance|percussive maintenance]] in general. | |||
</nowiki> | |||
| | |||
We don't recommend [[Glossary:Percussive_maintenance|percussive maintenance]] in general. | |||
|} | |||
Insert links wherever you can, to hep readers who are not as familiar with the subject and its jargon as you are. | |||
==Images== | ==Images== | ||
These are just a little more complicated. The easiest way is to copy an example and modify it to suit your purposes. Most often, alternating images justified | These are just a little more complicated. The easiest way is to copy an example and modify it to suit your purposes. Most often, alternating images justified righ and left gives the best visual layout. | ||
==Uploading images== | ==Uploading images== | ||
==Creating new pages== | ==Creating new pages== | ||
Revision as of 21:48, 1 July 2020
This page gives a quick introduction to the mark-up language used in the wiki.
Summary
When creating or modifying a page in the wiki, most of the time you simply type the text you want. But there are simple conventions you have to follow to indicate a new paragraph, headings and lists etc. This page will introduce you to the most basic ones, but there are very many more which you can find in the Mediawiki Help pages.
Paragraphs and text
In order to start a new paragraph you need to leave a blank line. Without a blank line, text is assumed to be more of the same paragraph.
Itallics is indicated by surrounding the text by a pair of single quotes, and bold by a triplet of single quotes. We use these sparingly in the Resterters wiki.
You type | You get |
---|---|
This is a single paragraph. But this is a new one. |
This is a single paragraph. But this is a new one. |
''Italics'' and '''Bold''' |
Italics and Bold |
Headings
Headings are indicated by a line starting and ending with (thesame number of) equals signs. More equals signs indicate lower level headings.
You type | You get |
---|---|
==Heading 1== ===Heading 2=== ====Heading 3==== |
Heading 1Heading 2Heading 3 |
Lists
For a bulleted list, start each line with an asterisk (*), or two asterisks for a second level of bullets. Numbered lists are created in exactly the sameway except using hash (#) signs.
You type | You get |
---|---|
*First item **First sub-item **Second sub-item *Second item |
|
*Item 1 **Item 1.1 **Item 1.2 *Item 2 |
|
Links
Links to other Wiki pages are indicated by double square brackets ([[ ]]). Between them, insert the name of the page, a vertical bar (|), and the text which is to be hotlinked.
A link to a technical term in the glossary is similar. Instead of the name of a page, insert "Glossary:" followed by the technical term.
You type | You get |
---|---|
It's not so hard to [[Yes,_you_can_fix_your_laptop!|fix your laptop]]. |
It's not so hard to fix your laptop. |
We don't recommend [[Glossary:Percussive_maintenance|percussive maintenance]] in general. |
We don't recommend percussive maintenance in general. |
Insert links wherever you can, to hep readers who are not as familiar with the subject and its jargon as you are.
Images
These are just a little more complicated. The easiest way is to copy an example and modify it to suit your purposes. Most often, alternating images justified righ and left gives the best visual layout.