Difference between revisions of "Help:Formatting"
Old Hippie (talk | contribs) m (1 revision) |
(No difference)
|
Revision as of 14:11, 28 November 2008
Important note: When you edit this page, you agree to release your contribution into the public domain. If you don't want this or can't do this because of license restrictions, please don't edit. This page is one of the Public Domain Help Pages, which can be freely copied into fresh wiki installations and/or distributed with MediaWiki software; see Help:Contents for an overview of all pages. See Help:Copying for instructions. |
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 | ||
Italic text | ''italic'' | italic |
Bold text | '''bold''' | bold |
Bold and italic | '''''bold & italic''''' | bold & italic |
Escape wiki markup | <nowiki>no "markup"</nowiki> | no ''markup'' |
Fixed width text |
<tt>Fixed width text</tt> |
Fixed width text |
only at the beginning of the line | ||
Indent text |
:Single indent |
|
Headings of different levels <ref>An article with four or more headings will automatically create a table of contents.</ref> |
=level 1=<ref>Use of a level 1 heading is highly discouraged as it appears with the same formatting and size as the page title, which can be confusing.</ref> |
Level 1 |
Horizontal rule |
---- |
|
Bullet list |
* one |
|
Numbered list |
# one |
|
Mixture of bulleted and numbered lists |
# one |
|
Definition list |
;Definition |
|
Preformatted text |
preformatted text is done with |
preformatted text is done with a space at the beginning of the line |
Preformatted text with no indentation |
<pre> some preformatted text with no indentation </pre> |
some preformatted text with no indentation |
Blockquotes |
Body <blockquote> quote quote quote quote quote quote </blockquote> text text text text text text text text text text text text |
Body
text text text text text text text text text text text text |
Comment |
<!--This is comment--> |
Notes: <references/>
Paragraphs
MediaWiki ignores normal line breaks. To start a new paragraph, leave an empty line. You can also start a new line with the HTML tags <br> or <br/>.
HTML
Some HTML tags are allowed in MediaWiki, for example <code>, <div>, <span> and <font>.
20px | Tip for wiki admins: If you trust your users you can allow full HTML by setting {{ #ifeq:
|
www.mediawiki.org | $wgRawHtml | $wgRawHtml
}} = true; in {{ #ifeq: moparwiki.com |
www.mediawiki.org | LocalSettings.php | LocalSettings.php
}}. |
Other formatting
Beyond the text formatting markup shown above, here are some other formatting references:
Languages | Languages: |
English {{#ifexist: {{#if: Help:Formatting | Help:Formatting | {{#if: Help | Help:}}Formatting}}/af | • {{#if: Help:Formatting|Afrikaans| Afrikaans}}|}} {{#ifexist: {{#if: Help:Formatting | Help:Formatting | {{#if: Help | Help:}}Formatting}}/ar | • {{#if: Help:Formatting|العربية| العربية}}|}} {{#ifexist: {{#if: Help:Formatting | Help:Formatting | {{#if: Help | Help:}}Formatting}}/az | • {{#if: Help:Formatting|azərbaycanca| azərbaycanca}}|}} {{#ifexist: {{#if: Help:Formatting | Help:Formatting | {{#if: Help | Help:}}Formatting}}/bcc | • {{#if: Help:Formatting|جهلسری بلوچی| جهلسری بلوچی}}|}} {{#ifexist: {{#if: Help:Formatting | Help:Formatting | {{#if: Help | Help:}}Formatting}}/bg | • {{#if: Help:Formatting|български| български}}|}} {{#ifexist: {{#if: Help:Formatting | Help:Formatting | {{#if: Help | Help:}}Formatting}}/br | • {{#if: Help:Formatting|brezhoneg| brezhoneg}}|}} {{#ifexist: {{#if: Help:Formatting | Help:Formatting | {{#if: Help | Help:}}Formatting}}/ca | • {{#if: Help:Formatting|català| català}}|}} {{#ifexist: {{#if: Help:Formatting | Help:Formatting | {{#if: Help | Help:}}Formatting}}/cs | • {{#if: Help:Formatting|čeština| čeština}}|}} {{#ifexist: {{#if: Help:Formatting | Help:Formatting | {{#if: Help | Help:}}Formatting}}/da | • {{#if: Help:Formatting|dansk| dansk}}|}} {{#ifexist: {{#if: Help:Formatting | Help:Formatting | {{#if: Help | Help:}}Formatting}}/de | • {{#if: Help:Formatting|Deutsch| Deutsch}}|}} {{#ifexist: {{#if: Help:Formatting | Help:Formatting | {{#if: Help | Help:}}Formatting}}/el | • {{#if: Help:Formatting|Ελληνικά| Ελληνικά}}|}} {{#ifexist: {{#if: Help:Formatting | Help:Formatting | {{#if: Help | Help:}}Formatting}}/es | • {{#if: Help:Formatting|español| español}}|}} {{#ifexist: {{#if: Help:Formatting | Help:Formatting | {{#if: Help | Help:}}Formatting}}/fa | • {{#if: Help:Formatting|فارسی| فارسی}}|}} {{#ifexist: {{#if: Help:Formatting | Help:Formatting | {{#if: Help | Help:}}Formatting}}/fi | • {{#if: Help:Formatting|suomi| suomi}}|}} {{#ifexist: {{#if: Help:Formatting | Help:Formatting | {{#if: Help | Help:}}Formatting}}/fr | • {{#if: Help:Formatting|français| français}}|}} {{#ifexist: {{#if: Help:Formatting | Help:Formatting | {{#if: Help | Help:}}Formatting}}/gl | • {{#if: Help:Formatting|galego| galego}}|}} {{#ifexist: {{#if: Help:Formatting | Help:Formatting | {{#if: Help | Help:}}Formatting}}/gu | • {{#if: Help:Formatting|ગુજરાતી| ગુજરાતી}}|}} {{#ifexist: {{#if: Help:Formatting | Help:Formatting | {{#if: Help | Help:}}Formatting}}/he | • {{#if: Help:Formatting|עברית| עברית}}|}} {{#ifexist: {{#if: Help:Formatting | Help:Formatting | {{#if: Help | Help:}}Formatting}}/hu | • {{#if: Help:Formatting|magyar| magyar}}|}} {{#ifexist: {{#if: Help:Formatting | Help:Formatting | {{#if: Help | Help:}}Formatting}}/id | • {{#if: Help:Formatting|Bahasa Indonesia| Bahasa Indonesia}}|}} {{#ifexist: {{#if: Help:Formatting | Help:Formatting | {{#if: Help | Help:}}Formatting}}/it | • {{#if: Help:Formatting|italiano| italiano}}|}} {{#ifexist: {{#if: Help:Formatting | Help:Formatting | {{#if: Help | Help:}}Formatting}}/ja | • {{#if: Help:Formatting|日本語| 日本語}}|}} {{#ifexist: {{#if: Help:Formatting | Help:Formatting | {{#if: Help | Help:}}Formatting}}/ko | • {{#if: Help:Formatting|한국어| 한국어}}|}} {{#ifexist: {{#if: Help:Formatting | Help:Formatting | {{#if: Help | Help:}}Formatting}}/ksh | • {{#if: Help:Formatting|Ripoarisch| Ripoarisch}}|}} {{#ifexist: {{#if: Help:Formatting | Help:Formatting | {{#if: Help | Help:}}Formatting}}/mr | • {{#if: Help:Formatting|मराठी| मराठी}}|}} {{#ifexist: {{#if: Help:Formatting | Help:Formatting | {{#if: Help | Help:}}Formatting}}/ms | • {{#if: Help:Formatting|Bahasa Melayu| Bahasa Melayu}}|}} {{#ifexist: {{#if: Help:Formatting | Help:Formatting | {{#if: Help | Help:}}Formatting}}/nl | • {{#if: Help:Formatting|Nederlands| Nederlands}}|}} {{#ifexist: {{#if: Help:Formatting | Help:Formatting | {{#if: Help | Help:}}Formatting}}/no | • {{#if: Help:Formatting|norsk| norsk}}|}} {{#ifexist: {{#if: Help:Formatting | Help:Formatting | {{#if: Help | Help:}}Formatting}}/oc | • {{#if: Help:Formatting|occitan| occitan}}|}} {{#ifexist: {{#if: Help:Formatting | Help:Formatting | {{#if: Help | Help:}}Formatting}}/pl | • {{#if: Help:Formatting|polski| polski}}|}} {{#ifexist: {{#if: Help:Formatting | Help:Formatting | {{#if: Help | Help:}}Formatting}}/pt | • {{#if: Help:Formatting|português| português}}|}} {{#ifexist: {{#if: Help:Formatting | Help:Formatting | {{#if: Help | Help:}}Formatting}}/ro | • {{#if: Help:Formatting|română| română}}|}} {{#ifexist: {{#if: Help:Formatting | Help:Formatting | {{#if: Help | Help:}}Formatting}}/ru | • {{#if: Help:Formatting|русский| русский}}|}} {{#ifexist: {{#if: Help:Formatting | Help:Formatting | {{#if: Help | Help:}}Formatting}}/si | • {{#if: Help:Formatting|සිංහල| සිංහල}}|}} {{#ifexist: {{#if: Help:Formatting | Help:Formatting | {{#if: Help | Help:}}Formatting}}/sq | • {{#if: Help:Formatting|shqip| shqip}}|}} {{#ifexist: {{#if: Help:Formatting | Help:Formatting | {{#if: Help | Help:}}Formatting}}/sr | • {{#if: Help:Formatting|српски / srpski| српски / srpski}}|}} {{#ifexist: {{#if: Help:Formatting | Help:Formatting | {{#if: Help | Help:}}Formatting}}/sv | • {{#if: Help:Formatting|svenska| svenska}}|}} {{#ifexist: {{#if: Help:Formatting | Help:Formatting | {{#if: Help | Help:}}Formatting}}/th | • {{#if: Help:Formatting|ไทย| ไทย}}|}} {{#ifexist: {{#if: Help:Formatting | Help:Formatting | {{#if: Help | Help:}}Formatting}}/tr | • {{#if: Help:Formatting|Türkçe| Türkçe}}|}} {{#ifexist: {{#if: Help:Formatting | Help:Formatting | {{#if: Help | Help:}}Formatting}}/uk | • {{#if: Help:Formatting|українська| українська}}|}} {{#ifexist: {{#if: Help:Formatting | Help:Formatting | {{#if: Help | Help:}}Formatting}}/vi | • {{#if: Help:Formatting|Tiếng Việt| Tiếng Việt}}|}} {{#ifexist: {{#if: Help:Formatting | Help:Formatting | {{#if: Help | Help:}}Formatting}}/yue | • {{#if: Help:Formatting|粵語| 粵語}}|}} {{#ifexist: {{#if: Help:Formatting | Help:Formatting | {{#if: Help | Help:}}Formatting}}/zh | • {{#if: Help:Formatting|中文| 中文}}|}} {{#ifexist: {{#if: Help:Formatting | Help:Formatting | {{#if: Help | Help:}}Formatting}}/zh-hans | • {{#if: Help:Formatting|中文(简体)| 中文(简体)}}|}} {{#ifexist: {{#if: Help:Formatting | Help:Formatting | {{#if: Help | Help:}}Formatting}}/zh-hant | • {{#if: Help:Formatting|中文(繁體)| 中文(繁體)}}|}} |