Help:Formatting: Difference between revisions
wikilaw>Ealex292 (added mixed lists) |
Lost Student (talk | contribs) mNo edit summary |
||
(13 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
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 <samp><nowiki>''this''</nowiki></samp> | |||
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 < | |||
== Text formatting markup == | == Text formatting markup == | ||
{| align="center" | <!--COMMENT MARKUP. Displays:Edit mode only--> | ||
<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--> | |||
<samp><nowiki>''italic''</nowiki></samp> | |||
|<!--3RD COLUMN--> | |||
''italic'' | |||
|-<!--HORIZONTAL LINE--> | |||
|colspan="3" style="border-top:1px solid #cee0f2;"| | |||
|-<!--2ND ROW 1ST COLUMN--> | |||
|Bold text | |||
| | |||
<samp><nowiki>'''bold'''</nowiki></samp> | |||
| | |||
'''bold''' | |||
|- | |||
|colspan="3" style="border-top:1px solid #cee0f2;"| | |||
|- | |||
|Bold and italic | |||
| | |||
<samp><nowiki>'''''bold & italic'''''</nowiki></samp> | |||
| | |||
'''''bold & italic''''' | |||
|- | |||
|colspan="3" style="border-top:1px solid #cee0f2;"| | |||
|- | |||
|Internal link<br /> | |||
(within Wiki Law School) | |||
| | |||
<samp><nowiki>[[Civil Procedure]]</nowiki></samp><br /> | |||
<samp><nowiki>[[Torts|really fun class]]</nowiki></samp><br /> | |||
| | |||
[[Civil Procedure]]<br /> | |||
[[Torts|really fun class]]<br /> | |||
|- | |- | ||
| | |colspan="3" style="border-top:1px solid #cee0f2;"| | ||
|- | |- | ||
| | |Redirect to another page | ||
| | |||
<samp><nowiki>#redirect [[Antitrust]]</nowiki></samp> | |||
| | |||
(redirect to) [[Antitrust]] | |||
|- | |- | ||
| | |colspan="3" style="border-top:1px solid #cee0f2;"| | ||
| | |||
|- | |- | ||
| | |External link<br /> | ||
(to other websites) | |||
| | | | ||
<samp><nowiki>[http://www.example.com]</nowiki></samp><br /> | |||
<samp><nowiki>[http://www.example.com display text]</nowiki></samp><br /> | |||
<samp><nowiki>http://www.example.com</nowiki></samp> | |||
| | |||
[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 | ||
|< | | | ||
|<nowiki> | <samp><nowiki>with ''markup''</nowiki></samp><br /> | ||
<samp><nowiki><nowiki>without ''markup''</nowiki></nowiki></samp> | |||
| | |||
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 | ||
| | | | ||
< | <samp><nowiki>==level 1==</nowiki></samp><br /> | ||
< | <samp><nowiki>===level 2===</nowiki></samp><br /> | ||
< | <samp><nowiki>====level 3====</nowiki></samp><br /> | ||
< | <samp><nowiki>=====level 4=====</nowiki></samp> | ||
| | | | ||
==Level 1== | ==Level 1== | ||
Line 43: | Line 104: | ||
=====Level 4===== | =====Level 4===== | ||
|- | |- | ||
| | |colspan="3" style="border-top:1px solid #cee0f2;"| | ||
| | |||
|- | |- | ||
|Bullet list | |Bullet list | ||
| | | | ||
* one<br> | <samp>* one</samp><br /> | ||
* two<br> | <samp>* two</samp><br /> | ||
<samp>** two point one</samp><br /> | |||
** | <samp>* three</samp> | ||
| | | | ||
* one | * one | ||
* two | * two | ||
** two point one | |||
* three | * three | ||
|- | |||
|colspan="3" style="border-top:1px solid #cee0f2;"| | |||
|- | |- | ||
|Numbered list | |Numbered list | ||
| | | | ||
# one<br /> | <samp># one</samp><br /> | ||
# two< | <samp># two</samp><br /> | ||
<samp>## two point one</samp><br /> | |||
## | <samp># three</samp> | ||
| | | | ||
# one | # one | ||
# two | # two | ||
## two point one | |||
# three | # three | ||
|- | |- | ||
| | |colspan="3" style="border-top:1px solid #cee0f2;"| | ||
|- | |||
| Indented Text | |||
| | | | ||
<samp><nowiki>no indents</nowiki></samp><br /> | |||
<samp><nowiki>:one indent</nowiki></samp><br /> | |||
<samp><nowiki>::two indents</nowiki></samp><br /> | |||
<samp><nowiki>:::three indents</nowiki></samp> | |||
| | | | ||
no indents | |||
:one indent | |||
::two indents | |||
# | :::three indents | ||
|- | |||
|colspan="3" style="border-top:1px solid #cee0f2;"| | |||
|- | |- | ||
|Definition list | | Definition list | ||
| | | | ||
;Definition<br /> | <samp>;Definition</samp><br /> | ||
:item 1<br /> | <samp>:item 1</samp><br /> | ||
:item 2< | <samp>:item 2</samp> | ||
| | | | ||
;Definition | ;Definition | ||
:item 1 | :item 1 | ||
:item 2 | :item 2 | ||
|} | |} | ||
</div> | |||
== Paragraphs == | == 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 <samp><nowiki><br /></nowiki></samp>. | |||
== HTML == | == HTML == | ||
Some HTML-Tags are allowed in | Some HTML-Tags are allowed in Wiki Law School, for example <samp><nowiki><code></nowiki></samp>, <samp><nowiki><div></nowiki></samp>, <samp><nowiki><span></nowiki></samp> and <samp><nowiki><font></nowiki></samp>. | ||
== More advanced formatting == | == More advanced formatting == | ||
Line 128: | Line 174: | ||
*[[Help:Tables|Tables]] | *[[Help:Tables|Tables]] | ||
== | == Style Guide == | ||
See the [[Wiki Law School:Manual of Style]] for a general guideline for the creation, editing, and formatting of uniform Wiki Law School outlines. | |||
== External Links == | |||
http://meta.wikimedia.org/wiki/Help:Editing | |||
__NOTOC__ | __NOTOC__ | ||
__NOEDITSECTION__ | __NOEDITSECTION__ | ||
[[Category:Help|Formatting]] | [[Category:Help|Formatting]] |
Revision as of 16:38, September 12, 2017
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) |
[[Civil Procedure]] |
|
Redirect to another page |
#redirect [[Antitrust]] |
(redirect to) Antitrust |
External link (to other websites) |
[http://www.example.com] |
|
Escape wiki markup |
with ''markup'' |
with markup |
Sign your posts |
~~~~ |
Username 07:26, |
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 |
|
Indented Text |
no indents |
no indents
|
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:
Style Guide
See the Wiki Law School:Manual of Style for a general guideline for the creation, editing, and formatting of uniform Wiki Law School outlines.