Formatting: Difference between revisions

From Disaster Risk Gateway
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 edit summary
Tags: Mobile edit Mobile web edit
 
Line 6: Line 6:
|-
|-
! Formatting !! Type !! Result
! Formatting !! Type !! Result
|-
| Line break|| <pre>Add a line break<br />here</pre> || Add a line break<br />here
|-
|-
| Bold text || <pre>'''text'''</pre> || '''text'''
| Bold text || <pre>'''text'''</pre> || '''text'''

Latest revision as of 12:33, 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
Line break
Add a line break<br />here
Add a line break
here
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
  • start line with asterisk then a space before text
Number list
# start line with hashtag (number sign) then a space before text
  1. 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