Difference between revisions of "Argonath RPG Wiki:Markup"

From Argonath RPG Wiki
Jump to navigation Jump to search
m
 
(No difference)

Latest revision as of 14:03, 3 August 2014

About the Argonath WikiArgonath Wiki EditorsArgonath Wiki To-Do List Argonath Wiki RulesWhat the Argonath Wiki is notArgonath Wiki Markup


Wiki markup is the system that the wiki software uses to generate a page's layout. You can experiment with it at the Sandbox, but if you're new to wiki markup or need to find a wiki markup command that you need, read below.

Adopted from Wikipedia's markup help page.

Layout

Sections

What it looks like What you type

Sections These divide articles into sections, which can be included in the Table of Contents.

Subsections More = signs creates smaller subsections.

Smaller subsections Like this.

=Sections=
These divide articles into sections, which can be included in the Table of Contents.

==Subsections==
More = signs creates smaller subsections.

===Smaller subsections===
Like this.

Line breaks

What it looks like What you type

A single newline doesn't do anything.

Two newlines do, though.

A single newline
doesn't do anything.

Two newlines do, though.
You can also break lines
without creating a new paragraph.
You can also break lines<br />without creating a new paragraph.

Indentation

What it looks like What you type
A colon at the beginning of the line
indents the line.
More colons creates more indentation.
:A colon at the beginning of the line
::indents the line.
:::More colons creates more indentation.

Center text

What it looks like What you type
This text is centered.
<center>This text is centered.</center>

Lists

What it looks like What you type
  • This
    • is
      • a
    • list
* This
** is
*** a
** list
  1. This
    1. is
    2. an
  2. ordered
  3. list
# This
## is
## an
# ordered
# list
  • A
    • new

line

    • ends
  • a
  • list
* A
** new
line
** ends
* a
* list

Text Formatting

What it looks like What you type
Two apostrophes on each side of a phrase italicizes it.

Three apostrophes bolds it.

Five apostrophes bolds and italicizes it.

A semicolon at the beginning of a line bolds the entire line.
''Two apostrophes on each side of a phrase'' italicizes it.
'''Three apostrophes''' bolds it.

'''''Five apostrophes''''' bolds and italicizes it.
;A semicolon at the beginning of a line bolds the entire line.
Teletype can be used as well. It supports italics, but not bold.
<tt>Teletype can be used as well. It supports ''italics'', but not '''bold.'''</tt>

Links

Linking to other articles

What it looks like What you type
Main Page
[[Main Page]]
Renamed article title
[[Main Page|Renamed article title]]

Linking to sections of other articles

What it looks like What you type
Argonath Rules#Basic Rules
[[Argonath Rules#Basic Rules]]

External links

What it looks like What you type
[1]
[http://www.argonathrpg.eu/index.php]
Argonath RPG portal
[http://www.argonathrpg.eu/index.php Argonath RPG portal]

Redirects

Description What you type
Redirect to an article #REDIRECT [[Main Page]]

Categories

Description What it looks like What you type
Include article in category [[Category:Category name]]
Link to category Category:Locations [[:Category:Locations]]
Link to category, without prefix Locations [[:Category:Locations|]]

Images

What it looks like What you type
Arlogo150.png [[File:Arlogo150.png]]
Arlogo150.png
[[File:Arlogo150.png|frame]]
Argonath RPG
[[File:Arlogo150.png|frame|Argonath RPG]]
Arlogo150.png
[[File:Arlogo150.png|thumb]]
Arlogo150.png
[[File:Arlogo150.png|right]]
Arlogo150.png
[[File:Arlogo150.png|frame|left]]
File:Arlogo150.png [[:File:Arlogo150.png]]

Magic Words

Magic word Output
{{CURRENTWEEK}} 47
{{CURRENTDOW}} 4
{{CURRENTMONTH}} 11
{{CURRENTMONTHNAME}} November
{{CURRENTMONTHNAMEGEN}} November
{{CURRENTDAY}} 21
{{CURRENTDAYNAME}} Thursday
{{CURRENTYEAR}} 2024
{{CURRENTTIME}} 17:32
{{NUMBEROFARTICLES}} 287
{{NUMBEROFPAGES}} 1,307
{{NUMBEROFUSERS}} 3
{{PAGENAME}} Markup
{{NAMESPACE}} Argonath RPG Wiki
{{REVISIONID}} 7850
{{REVISIONUSER}} Patton
{{localurl:pagename}} /index.php?title=Pagename
{{localurl:My Page|action=edit}} /index.php?title=My_Page&action=edit
{{fullurl:pagename}} https://wiki.argonathrpg.eu/index.php?title=Pagename
{{fullurl:pagename|query_string}} https://wiki.argonathrpg.eu/index.php?title=Pagename&query_string
{{SERVER}} https://wiki.argonathrpg.eu
{{SITENAME}} Argonath RPG Wiki

Tables

See Wikipedia's Help:Table.

HTML

Many (but not all, for security reasons) HTML tags can be used in addition to and mixed with Wiki markup. Don't worry yourself about HTML unless you know it.

Miscellaneous

Description What it looks like What you type
You should sign comments by adding four tildes to the comment, which adds your signature (username) and date/time. Username (talk) 17:32, 21 November 2024 (UTC) ~~~~
Three tildes only adds your signature (username). Username (talk) ~~~
Five tildes only adds the date/time. 17:32, 21 November 2024 (UTC) ~~~~~
The <nowiki> tag ignores Wiki markup. [[See the difference?]]
[[See the difference?]]