Help:Formatting: Difference between revisions
mNo edit summary |
mNo edit summary |
||
Line 3: | Line 3: | ||
== Text formatting markup == | == Text formatting markup == | ||
{| align="center" { | <!--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 /> | |||
|- | |- | ||
| | |colspan="3" style="border-top:1px solid #cee0f2;"| | ||
|- | |- | ||
| | |Redirect to another page | ||
| | |||
<tt><nowiki>#redirect [[Target page]]</nowiki></tt> | |||
| | |||
1. redirect [[Target page]] | |||
|- | |- | ||
| | |colspan="3" style="border-top:1px solid #cee0f2;"| | ||
| | |||
|- | |- | ||
| | |External link<br /> | ||
(to other websites) | |||
| | | | ||
<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 | |||
|- | |- | ||
| | |colspan="3" style="border-top:1px solid #cee0f2;"| | ||
| | |||
|- | |- | ||
|Escape wiki markup | |Escape wiki markup | ||
|<tt><nowiki><nowiki> | | | ||
|<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" | | | ||
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 | |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===== | ||
|- | |- | ||
| | |colspan="3" style="border-top:1px solid #cee0f2;"| | ||
| | |||
|- | |- | ||
|Bullet list | |Bullet list | ||
| | | | ||
* one<br> | <tt>* one</tt><br /> | ||
* two<br> | <tt>* two</tt><br /> | ||
<tt>** two point one</tt><br /> | |||
** | <tt>* three</tt> | ||
| | | | ||
* one | * one | ||
* two | * two | ||
** two point one | |||
* three | * three | ||
|- | |||
|colspan="3" style="border-top:1px solid #cee0f2;"| | |||
|- | |- | ||
|Numbered list | |Numbered list | ||
| | | | ||
# one<br /> | <tt># one</tt><br /> | ||
# two< | <tt># two</tt><br /> | ||
<tt>## two point one</tt><br /> | |||
## | <tt># three</tt> | ||
| | | | ||
# one | # one | ||
# two | # two | ||
## two point one | |||
# three | # three | ||
|- | |- | ||
| | |colspan="3" style="border-top:1px solid #cee0f2;"| | ||
| | |||
|- | |- | ||
|Definition list | | Definition list | ||
| | | | ||
;Definition<br /> | <tt>;Definition</tt><br /> | ||
:item 1<br /> | <tt>:item 1</tt><br /> | ||
:item 2< | <tt>:item 2</tt> | ||
| | | | ||
;Definition | ;Definition | ||
:item 1 | :item 1 | ||
:item 2 | :item 2 | ||
|} | |} | ||
</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]] |
|
Redirect to another page |
#redirect [[Target page]] |
1. redirect Target page |
External link (to other websites) |
[http://www.example.com] |
|
Escape wiki markup |
with ''markup'' |
with markup |
Sign your posts |
~~~~ |
Username 22:01, |
Applies only at the beginning of the line | ||
Headings of different sizes |
==level 1== |
Level 1Level 2Level 3Level 4 |
Bullet list |
* one |
|
Numbered list |
# one |
|
Definition list |
;Definition |
|
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: