مساعدة:Editing

من ويكي عربآيز
نسخة 14:40، 4 أغسطس 2008 للمستخدم 24.113.123.124 (ناقش) (Caption)
اذهب إلى: تصفح، ابحث

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''



Note: Would like to read this page in Arabic, localize it


Paragraphs

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

HTML

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

Recapitulative table

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''
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
Horizontal rule

----


Bullet list

* one
* two
* three

  • one
  • two
  • three
Numbered list

# one
# two
# three

  1. one
  2. two
  3. three
Definition list

;Definition
:item 1
:item 2

Definition
item 1
item 2
Preformatted text

  a space at the
  beginning of the line
  creates
  preformatted text

a space at the 
beginning of the line
creates 
preformatted text


Links

Description You type You get
Internal link [[Page]] Page
Piped link [[Page|different text]] different text
External link http://mediawiki.org http://mediawiki.org
External link,

different title

[http://mediawiki.org MediaWiki] MediaWiki
External link,

unnamed

[http://mediawiki.org] [1]
External link,

same host unnamed

[http://{{SERVERNAME}}/pagename] [2]
Interwiki link [[Wikipedia:MediaWiki]] Wikipedia:MediaWiki


There are four sorts of links in MediaWiki: internal links to other pages in the wiki, external links to websites, InterWiki links to other wikis and interlanguage links to other language versions of the same wiki.

To add an internal link, enclose the name of the page you want to link to in double square brackets. When you save the page, you'll see the new link pointing to your page. If the page exists already, it is displayed in blue, empty pages are displayed in red. Selflinks to the current page are not transformed in URLs but displayed in bold.

The first letter of the target page is automatically capitalized and spaces are represented as underscores (typing an underscore in the link has the same effect as typing a space, but is not recommended).

Tables

{| start table
|+ table caption, optional; only one per table and between table start and first row
|- table row, optional on first row -- wiki engine assumes the first row
! table header cell, optional. Consecutive table headers may be added on same line separated by double marks (!!) or start on new lines, each with its own single mark (!).
| table data cell, required! Consecutive table data cells may be added on same line separated by double marks (||) or start on new lines, each with its own single mark (|).
|} end table
  • The above marks must start on a new line except the double || and !! for optionally adding consecutive cells to a line.
  • XHTML attributes. Each mark, except table end, optionally accepts one or more XHTML attributes. Attributes must be on the same line as the mark. Separate attributes from each other with a single space.
    • Cells and caption (| or ||, ! or !!, and |+) hold content. So separate any attributes from content with a single pipe (|). Cell content may follow on same line or on following lines.
    • Table and row marks ({| and |-) do not directly hold content. Do not add pipe (|) after their optional attributes. If you erroneously add a pipe after attributes for the table mark or row mark the parcer will delete it and your final attribute if it was touching the erroneouse pipe!
  • Content may (a) follow its cell mark on the same line after any optional XHTML attributes or (b) on lines below the cell mark. Content that uses wiki markup that itself needs to start on a new line, such as lists, headers, or nested tables, must of course be on its own new line.

Simple table

Plain

The following table lacks borders and good spacing but shows the simplest wiki markup table structure

Orange Apple
Bread Pie
Butter Ice cream
{|
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream 
|}

Alternative

For more table-ish looking wiki markup cells can be listed on one line separated by ||. This does not scale well for longer cell content such as paragraphs. It works well for short bits of content however, such as our example table.

Extra spaces within cells in the wiki markup can be added, as I have done in the wiki markup below, to make the wiki markup itself look better but they do not effect the actual table rendering.

HTML attributes can be added to this table following the examples in other tables on this page but have been left out of the following example for simplicity.

Orange Apple more
Bread Pie more
Butter Ice cream and more
{|
|  Orange    ||   Apple   ||   more
|-
|   Bread    ||   Pie     ||   more
|-
|   Butter   || Ice cream ||  and more
|}

With HTML attributes

You can add HTML attributes to make your table look better

border="1"

Orange Apple
Bread Pie
Butter Ice cream
{| border="1"
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream 
|}
align="center" border="1"
Orange Apple
Bread Pie
Butter Ice cream
{| align="center" border="1"
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream 
|}
align="right" border="1"

You can put attributes on individual cells. Numbers for example may look better aligned right

Orange Apple 12,333.00
Bread Pie 500.00
Butter Ice cream 1.00
{| border="1"
|Orange
|Apple
|align="right"|12,333.00
|-
|Bread
|Pie
|align="right"|500.00
|-
|Butter
|Ice cream
|align="right"|1.00
|}


You can put attributes on individual rows, too.

Orange Apple 12,333.00
Bread Pie 500.00
Butter Ice cream 1.00
{| border="1"
|Orange
|Apple
|align="right"|12,333.00
|-
|Bread
|Pie
|align="right"|500.00
|- style="font-style:italic;color:green;"
|Butter
|Ice cream
|align="right"|1.00
|}
cellspacing="0" border="1"
Orange Apple
Bread Pie
Butter Ice cream
{| cellspacing="0" border="1"
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream 
|}
cellpadding="20" cellspacing="0" border="1"
Orange Apple
Bread Pie
Butter Ice cream
{| cellpadding="20" cellspacing="0" border="1"
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream 
|}

With HTML attributes and CSS styles

CSS style attributes can be added with or without other HTML attributes http://stevens-48.newsbloga.com Stevens http://incidentate-92.newsbloga.com Incidentate http://simili-57.newsbloga.com Simili http://gotici-86.newsbloga.com Gotici http://bollino-29.newsbloga.com Bollino http://setter-56.newsbloga.com Setter http://fuoribordo-22.newsbloga.com Fuoribordo http://campionaria-90.newsbloga.com Campionaria http://aparthotel-20.newsbloga.com Aparthotel http://autorizzata-92.newsbloga.com Autorizzata http://leggera-40.newsbloga.com Leggera http://afitto-47.newsbloga.com Afitto http://stabbin-97.newsbloga.com Stabbin http://pregio-75.newsbloga.com Pregio http://highland-50.newsbloga.com Highland http://prague-90.newsbloga.com Prague http://cirillico-59.newsbloga.com Cirillico http://corporate-84.newsbloga.com Corporate http://timothy-58.newsbloga.com Timothy http://programs-76.newsbloga.com Programs http://aggiornamento-87.newsbloga.com Aggiornamento http://package-81.newsbloga.com Package http://emporium-78.newsbloga.com Emporium http://frizzi-43.newsbloga.com Frizzi http://bretagna-96.newsbloga.com Bretagna http://moreno-35.newsbloga.com Moreno http://bowling-66.newsbloga.com Bowling http://gilmour-31.newsbloga.com Gilmour http://concorrenza-35.newsbloga.com Concorrenza http://riscaldamento-92.newsbloga.com Riscaldamento http://whitman-47.newsbloga.com Whitman http://branch-38.newsbloga.com Branch http://diretto-86.newsbloga.com Diretto http://percentili-3.newsbloga.com Percentili http://medica-81.newsbloga.com Medica http://sender-27.newsbloga.com Sender http://angelucci-4.newsbloga.com Angelucci http://steroids-31.newsbloga.com Steroids http://romanica-74.newsbloga.com Romanica http://multiplo-34.newsbloga.com Multiplo http://splinter-16.newsbloga.com Splinter http://elementary-94.newsbloga.com Elementary http://whaler-5.newsbloga.com Whaler http://windsor-74.newsbloga.com Windsor http://sabrina-43.newsbloga.com Sabrina http://carving-51.newsbloga.com Carving http://united-7.newsbloga.com United http://divina-10.newsbloga.com Divina http://vincitore-61.newsbloga.com Vincitore http://partecipare-30.newsbloga.com Partecipare

http://migliore-90.newsbloga.com Migliore http://unique-43.newsbloga.com Unique http://keeley-84.newsbloga.com Keeley http://beauchamp-33.newsbloga.com Beauchamp http://carbon-48.newsbloga.com Carbon http://omologati-39.newsbloga.com Omologati http://rumeno-74.newsbloga.com Rumeno http://uscite-32.newsbloga.com Uscite http://exploit-84.newsbloga.com Exploit http://deposito-2.newsbloga.com Deposito http://movies-90.newsbloga.com Movies http://sabrok-43.newsbloga.com Sabrok http://mancanza-81.newsbloga.com Mancanza http://frontespizio-92.newsbloga.com Frontespizio http://cartelli-66.newsbloga.com Cartelli http://sostegno-62.newsbloga.com Sostegno http://biglietto-40.newsbloga.com Biglietto http://invisible-13.newsbloga.com Invisible http://ruggiero-77.newsbloga.com Ruggiero http://ceresole-21.newsbloga.com Ceresole http://calling-20.newsbloga.com Calling http://ghiaccia-83.newsbloga.com Ghiaccia http://height-94.newsbloga.com Height http://domestico-80.newsbloga.com Domestico http://ainette-58.newsbloga.com Ainette http://xpress-95.newsbloga.com Xpress http://adottare-3.newsbloga.com Adottare http://bruciore-82.newsbloga.com Bruciore http://dedicated-86.newsbloga.com Dedicated http://iglesias-84.newsbloga.com Iglesias http://milani-89.newsbloga.com Milani http://carime-71.newsbloga.com Carime http://stabbin-97.newsbloga.com Stabbin http://elevatrice-59.newsbloga.com Elevatrice http://protrusione-84.newsbloga.com Protrusione http://flotta-84.newsbloga.com Flotta http://murano-42.newsbloga.com Murano http://sabbath-84.newsbloga.com Sabbath http://busines-67.newsbloga.com Busines http://romane-88.newsbloga.com Romane http://multisala-39.newsbloga.com Multisala http://guiness-81.newsbloga.com Guiness http://abbadia-96.newsbloga.com Abbadia http://bennato-20.newsbloga.com Bennato http://quattordicenni-41.newsbloga.com Quattordicenni http://spegni-92.newsbloga.com Spegni http://prossimi-45.newsbloga.com Prossimi http://leonardo-25.newsbloga.com Leonardo http://veloci-9.newsbloga.com Veloci http://luxury-88.newsbloga.com Luxury

http://quintino-72.newsbloga.com Quintino http://bravia-92.newsbloga.com Bravia http://corrado-50.newsbloga.com Corrado http://girona-62.newsbloga.com Girona http://generazione-96.newsbloga.com Generazione http://espressione-86.newsbloga.com Espressione http://accesso-64.newsbloga.com Accesso http://cyrano-30.newsbloga.com Cyrano http://dishes-47.newsbloga.com Dishes http://gladiatore-23.newsbloga.com Gladiatore http://client-84.newsbloga.com Client http://scoperte-78.newsbloga.com Scoperte http://maledetta-1.newsbloga.com Maledetta http://raffaele-47.newsbloga.com Raffaele http://marittima-24.newsbloga.com Marittima http://statunitense-19.newsbloga.com Statunitense http://blaster-18.newsbloga.com Blaster http://christine-23.newsbloga.com Christine http://ritardi-60.newsbloga.com Ritardi http://modificata-26.newsbloga.com Modificata http://abbellire-20.newsbloga.com Abbellire http://winxclub-5.newsbloga.com Winxclub http://settare-79.newsbloga.com Settare http://presentazioni-64.newsbloga.com Presentazioni http://referendario-69.newsbloga.com Referendario http://corvaglia-26.newsbloga.com Corvaglia http://command-11.newsbloga.com Command http://cipriani-80.newsbloga.com Cipriani http://travaglio-9.newsbloga.com Travaglio http://affini-98.newsbloga.com Affini http://settore-54.newsbloga.com Settore http://brando-64.newsbloga.com Brando http://composer-82.newsbloga.com Composer http://increase-45.newsbloga.com Increase http://castelletto-17.newsbloga.com Castelletto http://steele-51.newsbloga.com Steele http://charles-64.newsbloga.com Charles http://pomello-75.newsbloga.com Pomello http://sirenetta-31.newsbloga.com Sirenetta http://yespica-76.newsbloga.com Yespica http://agencies-92.newsbloga.com Agencies http://ecologiche-96.newsbloga.com Ecologiche http://principianti-5.newsbloga.com Principianti http://autorun-10.newsbloga.com Autorun http://diabetes-48.newsbloga.com Diabetes http://mexicana-46.newsbloga.com Mexicana http://allure-86.newsbloga.com Allure http://aldeno-18.newsbloga.com Aldeno http://marziale-5.newsbloga.com Marziale http://pasquali-87.newsbloga.com Pasquali

Table with H1, H2, H3 etc. headings

HTML H1, H2, H3, H4 etc. headings can be created the standard wiki markup way with ==equal== signs and must be on a line all by themselves to work.

Preview the whole table. If you click on an edit tab for a heading within a table, edit, and preview, the parent table will display erroneously broken because part of it will be missing.

Keep the heading hierarchy consistant with the rest of the page so that the table of contents at page top works correctly.

Yummiest

Orange Apple
Bread Pie
Butter Ice cream
{| border="1" cellpadding="20" cellspacing="0"
|colspan="2"|
===Yummiest===
|-
|Orange
|Apple
|-
|Bread
|Pie
|-
|Butter
|Ice cream 
|}