Formatting: Difference between revisions
Myriad-admin (talk | contribs) Created page with "The Disaster Risk Gateway has been created using [https://www.mediawiki.org/wiki/MediaWiki<span style="color: #374CFF">MediaWiki</span>], just like [https://www.wikipedia.org/ <span style="color: #374CFF">Wikipedia</span>]. This software uses [https://en.wikipedia.org/wiki/Help:Wikitext <span style="color: #374CFF">Wikitext</span>], which consists of syntax and keywords to format pages. Additional formatting can be done using [https://en.wikipedia.org/wiki/Help:HTML_in_w..." Tags: Mobile edit Mobile web edit |
(No difference)
|
Revision as of 12:11, 30 May 2025
The Disaster Risk Gateway has been created using MediaWiki, just like Wikipedia. This software uses Wikitext, which consists of syntax and keywords to format pages. Additional formatting can be done using HTML elements.
Below are some common formatting examples.
Formatting | Type | Result |
---|---|---|
Bold text | '''text''' |
text |
Italic text | ''text'' |
text |
Bold and italic text | '''''text''''' |
text |
Quotes | <q>This is a quotation</q> |
This is a quotation |
Coloured text | Colour options include: <span style="color: var(--myriad-blue)">--myriad-blue, </span><span style="color: var(--myriad-purple)">--myriad-purple, </span><span style="color: var(--myriad-pink)">--myriad-pink, </span><span style="color: var(--myriad-dkblue)">--myriad-dkblue, </span><span style="color: var(--myriad-yellow)">--myriad-yellow, </span><span style="color: var(--myriad-green)">--myriad-green</span> |
Colour options include: --myriad-blue, --myriad-purple, --myriad-pink, --myriad-dkblue, --myriad-yellow, --myriad-green |
Justify text | <div style="text-align:justify"> Text that needs justified alignment</div> |
Text that needs justified alignment
|
Bullet list | * start line with asterisk then a space before text |
|
Number list | # start line with hashtag (number sign) then a space before text |
|
Internal links | [[Main Page]] |
Main Page |
Internal links with specified text | [[Main_Page|My name]] |
My name |
External link (URLs are automatically linked) | https://www.myriadproject.eu |
https://www.myriadproject.eu |
External link with specified text | [https://www.myriadproject.eu/ MYRIAD-EU project] |
MYRIAD-EU project |