Help:Formatting: Difference between revisions

From wikilawschool.net. Wiki Law School does not provide legal advice. For educational purposes only.
mNo edit summary
mNo edit summary
Line 3: Line 3:
== Text formatting markup ==
== Text formatting markup ==


{| align="center" {{Prettytable}}
<!--COMMENT MARKUP. Displays:Edit mode only-->
{| align="right" class="noprint" style="padding: 0.3em; margin-left:15px; border: 1px solid #B8C7D9; background:#f5faff; text-align:center; font-size: 95%"
|}
<div align="center">
{| style="border:1px solid #A3B1BF; text-align:left; background:#f5faff"
|-<!--COLUMN HEADINGS-->
| width="25%" style="background: #cee0f2; padding: 0.3em; text-align:center;"|'''Description'''
| style="background: #cee0f2; padding: 0.3em; text-align:center;"|'''You type'''
| width="25%" style="background: #cee0f2; padding: 0.3em; text-align:center;"|'''You get'''
|-<!--1ST HEADING-->
| colspan="3" style="background: #cee0f2; padding: 0.2em; font-family: sans-serif; font-size: 0.9em; text-align:center;" | Applies anywhere
|-<!--1ST ROW 1ST COLUMN-->
|Italicise text
|<!--2ND COLUMN-->
<tt><nowiki>''italic''</nowiki></tt>
|<!--3RD COLUMN-->
''italic''
|-<!--HORIZONTAL LINE-->
|colspan="3" style="border-top:1px solid #cee0f2;"|
|-<!--2ND ROW 1ST COLUMN-->
|Bold text
|
<tt><nowiki>'''bold'''</nowiki></tt>
|
'''bold'''
|-
|colspan="3" style="border-top:1px solid #cee0f2;"|
|-
|Bold and italic
|
<tt><nowiki>'''''bold & italic'''''</nowiki></tt>
|
'''''bold & italic'''''
|-
|colspan="3" style="border-top:1px solid #cee0f2;"|
|-
|Internal link<br />
(within Wiki Law School)
|
<tt><nowiki>[[name of page]]</nowiki></tt><br />
<tt><nowiki>[[name of page|display text]]</nowiki></tt><br />
|
[[name of page]]<br />
[[name of page|display text]]<br />
|-
|-
|{{Hl3}}|'''Description'''
|colspan="3" style="border-top:1px solid #cee0f2;"|
|{{Hl3}}|'''You type'''
|{{Hl3}}|'''You get'''
|-
|-
| colspan="3" align="center" | ''applies anywhere''
|Redirect to another page
|
<tt><nowiki>#redirect [[Target page]]</nowiki></tt>
|
1. redirect [[Target page]]
|-
|-
|Italic text
|colspan="3" style="border-top:1px solid #cee0f2;"|
|<tt><nowiki>''italic''</nowiki></tt>
|''italic''
|-
|-
| Bold text
|External link<br />
|<tt><nowiki>'''bold'''</nowiki></tt>
(to other websites)
|'''bold'''
|
<tt><nowiki>[http://www.example.com]</nowiki></tt><br />
<tt><nowiki>[http://www.example.com display text]</nowiki></tt><br />
<tt><nowiki>http://www.example.com</nowiki></tt>
|
[http://www.example.com]<br />
[http://www.example.com display text]<br />
http://www.example.com
|-
|-
| Bold and italic
|colspan="3" style="border-top:1px solid #cee0f2;"|
|<tt><nowiki>'''''bold & italic'''''</nowiki></tt>
|'''''bold & italic'''''
|-
|-
|Escape wiki markup
|Escape wiki markup
|<tt><nowiki><nowiki>no ''markup''</nowiki></nowiki></tt>
|
|<nowiki>no ''markup''</nowiki>
<tt><nowiki>with ''markup''</nowiki></tt><br />
<tt><nowiki><nowiki>without ''markup''</nowiki></nowiki></tt>
|
with ''markup''<br />
<nowiki>without ''markup''</nowiki>
|-
|colspan="3" style="border-top:1px solid #cee0f2;"|
|-
|-
| colspan="3" align="center" | ''only at the beginning of the line''
|
Sign your posts <br />
on talk pages
|
<nowiki>~~~~</nowiki>
|
[[User:Username|Username]] {{CURRENTTIME}}, <br />
{{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}} (UTC)
|-<!--2ND HEADING-->
| colspan="3" style="background: #cee0f2; padding: 0.2em; font-family: sans-serif; font-size: 0.9em; text-align:center;" | Applies only at the beginning of the line
|-
|-
|Headings of<br />
|Headings<br />
different sizes
of different sizes
|
|
<tt><nowiki>==level 1==</nowiki></tt><br />
<tt><nowiki>==level 1==</nowiki></tt><br />
Line 42: Line 105:
=====Level 4=====
=====Level 4=====
|-
|-
|Horizontal rule
|colspan="3" style="border-top:1px solid #cee0f2;"|
|
<tt><nowiki>----</nowiki></tt>
|
----
|-
|-
|Bullet list
|Bullet list
|
|
&#42; one<br>
<tt>&#42; one</tt><br />
&#42; two<br>
<tt>&#42; two</tt><br />
&#42; three<br>
<tt>&#42;&#42; two point one</tt><br />
&#42;&#42; three and one-third<br>
<tt>&#42; three</tt>
&#42;&#42; three and two-thirds<br>
|
|
* one
* one
* two
* two
** two point one
* three
* three
** three and one-third
|-
** three and two-thirds
|colspan="3" style="border-top:1px solid #cee0f2;"|
|-
|-
|Numbered list
|Numbered list
|
|
&#35; one<br />
<tt>&#35; one</tt><br />
&#35; two<br />
<tt>&#35; two</tt><br />
&#35; three<br />
<tt>&#35;&#35; two point one</tt><br />
&#35;&#35; three point one<br />
<tt>&#35; three</tt>
&#35;&#35; three point two<br />
|
|
# one
# one
# two
# two
## two point one
# three
# three
## three point one
## three point two
|-
|-
| Mixture of bulleted<br /> and numbered lists
|colspan="3" style="border-top:1px solid #cee0f2;"|
|
&#35; one<br />
&#35; two<br />
&#35;&#42; two point one<br />
&#35;&#42; two point two<br />
|
# one
# two
#* two point one
#* two point two
|-
|-
|Definition list
| Definition list
|
|
&#59;Definition<br />
<tt>&#59;Definition</tt><br />
&#58;item 1<br />
<tt>&#58;item 1</tt><br />
&#58;item 2<br />
<tt>&#58;item 2</tt>
|
|
;Definition
;Definition
:item 1
:item 1
:item 2
:item 2
|-
|Preformatted text
|
&nbsp;&nbsp;preformatted text is done with<br />
&nbsp;&nbsp;a space at the<br />
&nbsp;&nbsp;beginning of the line<br />
|
preformatted text is done with
a space at the
beginning of the line
|}
|}
 
</div>


== Paragraphs ==
== Paragraphs ==

Revision as of 04:17, December 17, 2006

You can format your text using wiki markup. This consists of normal characters like asterisks, single quotes or equation marks which have a special function in the wiki, sometimes depending on their position. For example, to format a word in italic, you include it in two single quotes like ''this''

Text formatting markup

Description You type You get
Applies anywhere
Italicise text

''italic''

italic

Bold text

'''bold'''

bold

Bold and italic

'''''bold & italic'''''

bold & italic

Internal link

(within Wiki Law School)

[[name of page]]
[[name of page|display text]]

name of page
display text

Redirect to another page

#redirect [[Target page]]

1. redirect Target page

External link

(to other websites)

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

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

Escape wiki markup

with ''markup''
<nowiki>without ''markup''</nowiki>

with markup
without ''markup''

Sign your posts
on talk pages

~~~~

Username 22:01,
25 April 2024 (UTC)

Applies only at the beginning of the line
Headings

of different sizes

==level 1==
===level 2===
====level 3====
=====level 4=====

Level 1

Level 2

Level 3

Level 4
Bullet list

* one
* two
** two point one
* three

  • one
  • two
    • two point one
  • three
Numbered 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

Paragraphs

Wiki Law School ignores normal line breaks. To start a new paragraph, leave an empty line. You can also start a new line with the HTML tag <br />.

HTML

Some HTML-Tags are allowed in Wiki Law School, for example <code>, <div>, <span> and <font>.

More advanced formatting

Beyond the basic text formatting markup shown above, there are some more advanced formatting tricks:

External Links