Lex:Basics of MediaWiki: Difference between revisions

From MLexWiki
Jump to navigationJump to search
(Created page with "= The Basics = These are the basic styles of MediaWiki. Know these to write and link basic articles in these Lexicon games. == Headings == Use Equals signs (=) to make headers....")
 
No edit summary
 
(13 intermediate revisions by one other user not shown)
Line 14: Line 14:


== Lists ==
== Lists ==
For reference, bulleted lists are known as unordered lists, and numbered lists are known as ordinal lists.


=== Bulleted Lists ===
Preceed each line with "* ". Mediawiki will make any unbroken series of lines starting with "* " into a bulleted list.
E.g.
<pre>
* List item 1
* List item 2
* List item 3
* List item N
</pre>
Translates to:
* List item 1
* List item 2
* List item 3
* List item N
=== Numbered Lists ===
Preceed each line with "# ". Mediawiki will make any unbroken series of lines start with "# " into a numbered list.
E.g.
<pre>
# List item 1
# List item 2
# List item 3
# List item N
</pre>
Translates to:
# List item 1
# List item 2
# List item 3
# List item N


== Links ==
== Links ==
There are two major kinds of links: Internal and External. Internal links link to other articles in the Wiki. External links link to articles outside the Wiki. For most Wiki articles and links (especially in a Lexicon game), you want to use Internal links as much as possible.
Also beware that because we keep games separate by using a prefix, you have to use that prefix to distinguish your articles from those of another game's. A prefix will be a short word or string.
You should also know and keep in mind that blue or purple links exist within the Wiki and red links DO NOT. This is useful in a game of Lexicon for determining whether there's a link to an article you want to write next turn in something a peer writes this turn.
=== Internal Links ===
In MediaWiki on any server, internal links are surrounded by two square brackets on each side of the linked article name. You can also use a "|" character to give you a chance to specify link text that's different from a link name.
So e.g.
<pre>Click [[Article name|this link]] for more information.</pre>
Translates to:<br />
Click [[Article name|this link]] for more information.<br />
NOTE THAT: The article's name is "Article name" while the text that describes it is "this link" and that's what's shown in blue or red in the actual text you see on the page.


Because you need to use a prefix for your article names (e.g. "Lex"), be sure to include that with a colon in your article name when writing articles for your Lexicon game.<br />
E.g.
<pre>Click [[Lex:Article name|this link in the Lex game]] for more information.</pre>
Translates to:<br />
Click [[Lex:Article name|this link in the Lex game]] for more information.<br />
NOTE THAT: The article's name is now "Lex:Article name" and the description text that shows on the screen is "this link in the Lex game".


=== External Links ===
In MediaWiki on any server, external links are surrounded by one square bracket on each side of the link and descriptive text. You do not use a "|" character, just a space between the URL and the text you want to appear.
So e.g.
<pre>[http://www.google.com/ Google] is an internet search engine.</pre>
Translates to:
[http://www.google.com/ Google] is an internet search engine.
NOTE THAT: The link goes to http://www.google.com/ but the text that's displayed is simply "Google".
== Emphasis ==
To put some text into italics, surround it with two single quotes "''".<br />
E.g.
<pre>''Text''</pre>
Translates to:<br />
''Text''
To put text into bold, surround it with three single quotes "'''".<br />
E.g.
<pre>'''Text'''</pre>
Translates to:<br />
'''Text'''
== Signatures ==
Sign your work or your remarks with a signature macro.
Your plain undated signature is three tilde "~" characters in a row.<br />
E.g.
<pre>
-~~~
</pre>
Translates to:<br />
-[[User:MalAdmin|MalAdmin]]
Your dated signature is four tilde "~" characters in a row. <br />
E.g.
<pre>
-~~~~
</pre>
Translates to:<br />
-[[User:MalAdmin|MalAdmin]] 16:07, 6 August 2012 (PDT)


== More Information ==
== More Information ==
Line 26: Line 118:
* [http://www.mediawiki.org/wiki/Manual:FAQ MediaWiki FAQ]
* [http://www.mediawiki.org/wiki/Manual:FAQ MediaWiki FAQ]
* [https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce MediaWiki release mailing list]
* [https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce MediaWiki release mailing list]
[[Category:Administrative]]

Latest revision as of 12:59, 29 September 2012

The Basics[edit]

These are the basic styles of MediaWiki. Know these to write and link basic articles in these Lexicon games.

Headings[edit]

Use Equals signs (=) to make headers. Each = you use makes your heading a less important one. Use one = for a very important top level heading and two or three for more minor headings.

=== Sample Header Level 3 ===

Displays as

Sample Header Level 3[edit]

Lists[edit]

For reference, bulleted lists are known as unordered lists, and numbered lists are known as ordinal lists.

Bulleted Lists[edit]

Preceed each line with "* ". Mediawiki will make any unbroken series of lines starting with "* " into a bulleted list.

E.g.

* List item 1
* List item 2
* List item 3
* List item N

Translates to:

  • List item 1
  • List item 2
  • List item 3
  • List item N

Numbered Lists[edit]

Preceed each line with "# ". Mediawiki will make any unbroken series of lines start with "# " into a numbered list.

E.g.

# List item 1
# List item 2
# List item 3
# List item N

Translates to:

  1. List item 1
  2. List item 2
  3. List item 3
  4. List item N

Links[edit]

There are two major kinds of links: Internal and External. Internal links link to other articles in the Wiki. External links link to articles outside the Wiki. For most Wiki articles and links (especially in a Lexicon game), you want to use Internal links as much as possible.

Also beware that because we keep games separate by using a prefix, you have to use that prefix to distinguish your articles from those of another game's. A prefix will be a short word or string.

You should also know and keep in mind that blue or purple links exist within the Wiki and red links DO NOT. This is useful in a game of Lexicon for determining whether there's a link to an article you want to write next turn in something a peer writes this turn.

Internal Links[edit]

In MediaWiki on any server, internal links are surrounded by two square brackets on each side of the linked article name. You can also use a "|" character to give you a chance to specify link text that's different from a link name.

So e.g.

Click [[Article name|this link]] for more information.

Translates to:
Click this link for more information.
NOTE THAT: The article's name is "Article name" while the text that describes it is "this link" and that's what's shown in blue or red in the actual text you see on the page.

Because you need to use a prefix for your article names (e.g. "Lex"), be sure to include that with a colon in your article name when writing articles for your Lexicon game.
E.g.

Click [[Lex:Article name|this link in the Lex game]] for more information.

Translates to:
Click this link in the Lex game for more information.
NOTE THAT: The article's name is now "Lex:Article name" and the description text that shows on the screen is "this link in the Lex game".

External Links[edit]

In MediaWiki on any server, external links are surrounded by one square bracket on each side of the link and descriptive text. You do not use a "|" character, just a space between the URL and the text you want to appear.

So e.g.

[http://www.google.com/ Google] is an internet search engine.

Translates to: Google is an internet search engine. NOTE THAT: The link goes to http://www.google.com/ but the text that's displayed is simply "Google".

Emphasis[edit]

To put some text into italics, surround it with two single quotes "".
E.g.

''Text''

Translates to:
Text

To put text into bold, surround it with three single quotes "".
E.g.

'''Text'''

Translates to:
Text

Signatures[edit]

Sign your work or your remarks with a signature macro.

Your plain undated signature is three tilde "~" characters in a row.
E.g.

-~~~

Translates to:
-MalAdmin

Your dated signature is four tilde "~" characters in a row.
E.g.

-~~~~

Translates to:
-MalAdmin 16:07, 6 August 2012 (PDT)

More Information[edit]

Consult the User's Guide for information on using the wiki software.