Testpage: Difference between revisions

From OpenCommons
Jump to navigation Jump to search
No edit summary
 
(23 intermediate revisions by the same user not shown)
Line 1: Line 1:
Text is rendered normally
=Basic=
 
Wikis use symbols such as asterisks, single-quotes, square-brackets and braces to represent formatting elements like making words into links to other sites or articles, or creating tables for layout and dividing the text into headings. This kind of text markup used in the MediaWiki (Wikipedia) project is called '''wikitext'''.
 
'''bold'''
 
''italic''
'''''bold & italic'''''
 
=Table=
 
{|
|Orange
|Apple
|12,333.00
|-
|Bread
|Pie
|500.00
|-
|Butter
|Ice cream
|1.00
|}
 
{| style="border:none; text-align:center;  background:#f0f0f0;"
| width="200px" style="background: #e4e4e4; padding: 3px 5px; text-align:center;"|Box 1
| width="100px" style="background: #ffff55; padding: 3px 5px; text-align:center;"|Box 2
|- style="background: #e4e4e4; padding: 3px 5px; text-align:left; font-size: 120%;"
|Level2
|Level2
|}
 
=Links=
 
[[Wilfred Pinfold|Bob]]<br />
[[Wilfred Pinfold|Wilf]]<br />
<br>
[[:Category:Person]]
 
[http://www.example.com]<br />
[http://www.example.com display text]<br />
http://www.example.com<br />
 
[mailto:wilfred.pinfold@opencommons.org Wilf's email]
 
=Signature=
[[User:Wpinfold|Wilf]]<br>
[[User:Wpinfold|wilf]] {{CURRENTTIME}}, {{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}}<br>
{{CURRENTTIME}}, {{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}}<br>
 
=Escape wiki markup=
with ''markup''<br />
<nowiki>without ''markup''</nowiki>
 
=Headings=
 
== Level 1 ==
=== Level 2 ===
==== Level 3 ====
===== Level 4 =====
 
 
== 1. one ==
=== 2. two ===
==== 2.1 two point one ====
=== 3. three ===
 
=Bullet list=
* one
* two
** two point one
* three
 
# one
# two
## two point one
# three
 
Definition list
 
<code>&#59;Definition</code><br />
<code>&#58;item 1</code><br />
<code>&#58;item 2</code>
 
;Definition
:item 1
:item 2
 
=Thumbnail image=
[[File:Eu flag (2).jpg|thumb|EU Flag|left]]
 
__NOTOC__
 
 
<!--Text is rendered normally
a single line break is not a break plus two.
a single line break is not a break plus two.


Line 11: Line 111:


[[File:Indicators - Sheet1.pdf|400px]]
[[File:Indicators - Sheet1.pdf|400px]]
Wikis use symbols such as asterisks, single-quotes, square-brackets and braces to represent formatting elements like making words into links to other sites or articles, or creating tables for layout and dividing the text into headings. This kind of text markup used in the MediaWiki (Wikipedia) project is called ''wikitext''.
Below is a table of the most commonly used wikitext formatting, the middle column is what you type into the article in "edit mode" (after clicking the edit link at the top of the page), and the right-hand column shows what the result would be when viewing the article normally. For more detailed information about editing and wikitext, see [https://meta.wikimedia.org/wiki/Help:Wikitext Help:Wikitext].
{| style="border:none; text-align:left;  background:#f0f0f0; font-size: 95%;"
|-
| width="25%" style="background: #e4e4e4; padding: 3px 5px; text-align:center;"|'''Description'''
| style="background: #e4e4e4; padding: 3px 5px; text-align:center;"|'''You type'''
| width="25%" style="background: #e4e4e4; padding: 3px 5px; text-align:center;"|'''You get'''
|-
| colspan="3" style="background: #e4e4e4; padding: 3px 5px; font-family: sans-serif; font-size: 0.9em; text-align:center;" | Applies anywhere
|-
|Italicise text
|
<code><nowiki>''italic''</nowiki></code>
|
''italic''
|-
|colspan="3" style="border-top:1px solid #d4d4d4;"|&nbsp;
|-
|Bold text
|
<code><nowiki>'''bold'''</nowiki></code>
|
'''bold'''
|-
|colspan="3" style="border-top:1px solid #d4d4d4;"|&nbsp;
|-
|Bold and italic
|
<code><nowiki>'''''bold & italic'''''</nowiki></code>
|
'''''bold & italic'''''
|-
|colspan="3" style="border-top:1px solid #d4d4d4;"|&nbsp;
|-
|valign="top"|Internal link<br />
(within this wiki)
<br />
<br />
Internal link<br />
(to a category)
<br />
<br />
Interwiki Link<br />
(to partner wiki)
|valign="top"|
<code><nowiki>[[name of page]]</nowiki></code><br />
<code><nowiki>[[name of page|display text]]</nowiki></code><br />
<br><code><nowiki>[[:Category:name of category]]</nowiki></code><br />
<br>
<br>
<code><nowiki>[[w:name of article]]</nowiki></code><br/>
<code><nowiki>[[wiki:name of article]]</nowiki></code><br/>
<code><nowiki>[[wiki:name of article|display text]]</nowiki></code>
|valign="top"|
[[name of page]]<br />
[[name of page|display text]]<br />
<br>
[[:Category:name of category]]
<br/>
<br/>
<br/>
[[w:name of article]]<br />
[[wiki:name of article]]<br />
[[wiki:name of article|display text]]<br />
'''''Note: '''red links mean''<br>''the page doesn't exist yet''
|-
|colspan="3" style="border-top:1px solid #d4d4d4;"|&nbsp;
|-
|External link<br />
(to other websites)
|
<code><nowiki>[http://www.example.com]</nowiki></code><br />
<code><nowiki>[http://www.example.com display text]</nowiki></code><br />
<code><nowiki>http://www.example.com</nowiki></code><br />
<code><nowiki>[mailto:bob@yahoo.com Bob's email]</nowiki></code>
|
[http://www.example.com]<br />
[http://www.example.com display text]<br />
http://www.example.com<br />
[mailto:bob@yahoo.com Bob's email]
|-
|colspan="3" style="border-top:1px solid #d4d4d4;"|&nbsp;
|-
|Redirect
|
<code><nowiki>#redirect [[Target page]]</nowiki></code>
|
1. redirect [[Target page]]
|-
|colspan="3" style="border-top:1px solid #d4d4d4;"|&nbsp;
|-
|Signature
|
<code>~~<nowiki>~</nowiki></code><br>
<code>~~<nowiki>~~</nowiki></code><br>
<code>~~<nowiki>~</nowiki>~~</code><br>
|
[[User:J.Doe|J.Doe]]<br>
[[User:J.Doe|J.Doe]] {{CURRENTTIME}}, {{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}}<br>
{{CURRENTTIME}}, {{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}}<br>
|-
|colspan="3" style="border-top:1px solid #d4d4d4;"|&nbsp;
|-
|Escape wiki markup
|
<code><nowiki>with ''markup''</nowiki></code><br />
<code><nowiki><nowiki>without ''markup''</nowiki></nowiki></code>
|
with ''markup''<br />
<nowiki>without ''markup''</nowiki>
|-
| colspan="3" style="background: #e4e4e4; padding: 3px 5px; font-family: sans-serif; font-size: 0.9em; text-align:center;" | Applies only at the beginning of the line
|-
|valign="top"|Headings<br />
of different sizes
|
<code><nowiki>== level 1 ==</nowiki></code><br />
<code><nowiki>=== level 2 ===</nowiki></code><br />
<code><nowiki>==== level 3 ====</nowiki></code><br />
<code><nowiki>===== level 4 =====</nowiki></code>
<br><br>'''''Tip:''' put <nowiki>__NOTOC__</nowiki> in an article''
<br>''to remove its table-of-contents''
|valign="top"|
== Level 1 ==
=== Level 2 ===
==== Level 3 ====
===== Level 4 =====
|-
|colspan="3" style="border-top:1px solid #d4d4d4;"|&nbsp;
|-
|valign="top"|Outline Numbered<br>Headings
|valign="top"|
<code>&#35; one</code><br />
<code>&#35; two</code><br />
<code>&#35;&#35; two point one</code><br />
<code>&#35; three</code>
|
== 1. one ==
=== 2. two ===
==== 2.1 two point one ====
=== 3. three ===
|-
|colspan="3" style="border-top:1px solid #d4d4d4;"|&nbsp;
|-
|valign="top"|Bullet list
|
<code>&#42; one</code><br />
<code>&#42; two</code><br />
<code>&#42;&#42; two point one</code><br />
<code>&#42; three</code>
|
* one
* two
** two point one
* three
|-
|-
|colspan="3" style="border-top:1px solid #d4d4d4;"|&nbsp;
|-
|valign="top"|Definition list
|
<code>&#59;Definition</code><br />
<code>&#58;item 1</code><br />
<code>&#58;item 2</code>
|
;Definition
:item 1
:item 2
|-
|colspan="3" style="border-top:1px solid #d4d4d4;"|&nbsp;
|-
|Thumbnail image
|
<nowiki>[[File:Eu flag (2).jpg|thumb|Caption text]]</nowiki>
|
[[File:Eu flag (2).jpg|thumb|Caption text]]
|}
[[Category:MediaWiki]]
[[Category:Help]]
[[Category:Examples]]
__NOTOC__
__NOEDITSECTION__
-->

Latest revision as of 15:48, October 21, 2022

Basic

Wikis use symbols such as asterisks, single-quotes, square-brackets and braces to represent formatting elements like making words into links to other sites or articles, or creating tables for layout and dividing the text into headings. This kind of text markup used in the MediaWiki (Wikipedia) project is called wikitext.

bold

italic

bold & italic

Table

Orange Apple 12,333.00
Bread Pie 500.00
Butter Ice cream 1.00
Box 1 Box 2
Level2 Level2

Links

Bob
Wilf

Category:Person

[1]
display text
http://www.example.com

Wilf's email

Signature

Wilf
wilf 05:49, 22 November 2024
05:49, 22 November 2024

Escape wiki markup

with markup
without ''markup''

Headings

Level 1

Level 2

Level 3

Level 4

1. one

2. two

2.1 two point one

3. three

Bullet list

  • one
  • two
    • two point one
  • three
  1. one
  2. two
    1. two point one
  3. three

Definition list

;Definition
:item 1
:item 2

Definition
item 1
item 2

Thumbnail image

EU Flag