الفرق بين المراجعتين لصفحة: «مساعدة:محتويات»
(أنشأ الصفحة ب'يمكن قراءة تعليمات أساسية من هذه [http://knol.google.com/k/bachar-al-jammal/تعلم-الويكي/3t5qhgro3s2os/1 المقالة]') |
(بداية كتابة نص المقال) |
||
سطر 1: | سطر 1: | ||
يمكن قراءة تعليمات أساسية من هذه [http://knol.google.com/k/bachar-al-jammal/تعلم-الويكي/3t5qhgro3s2os/1 المقالة] | يمكن قراءة تعليمات أساسية من هذه [http://knol.google.com/k/bachar-al-jammal/تعلم-الويكي/3t5qhgro3s2os/1 المقالة] | ||
===أمثلة عملية للكتابة=== | |||
<!-- | |||
--> | |||
{| border="1" cellpadding="2" cellspacing="0" | |||
|- | |||
! النص كما يظهر على بعد الحفظ | |||
! الذي تكتبه في صندوق التحرير | |||
|- valign="top" | |||
| | |||
Start your sections as follows: | |||
<!-- The following code messes up the table of contents | |||
and makes the section edit links much less useful, | |||
so please do not use it. | |||
== New section == | |||
=== Subsection === | |||
==== Sub-subsection ==== | |||
--> | |||
<!-- The following should look almost the same, using | |||
HTML headings markup instead of wiki headings. | |||
However, it messes up the section edit links, | |||
so please do not use it. | |||
<h2>New section</h2> | |||
<h3>Subsection</h3> | |||
<h4>Sub-subsection</h4> | |||
--> | |||
<!-- The following just uses bolding and font changes, | |||
so it should be safe. However, it might not | |||
look exactly right, especially when people | |||
use non-standard CSS stylesheets. | |||
--> | |||
'''<font style="font-size:120%">New section</font>''' | |||
'''<font style="font-size:110%">Subsection</font>''' | |||
'''<font style="font-size:100%">Sub-subsection</font>''' | |||
* Start with a second-level heading (<tt><nowiki>==</nowiki></tt>); don't use first-level headings (=). | |||
* Don't skip levels (for example, second-level followed by fourth-level). | |||
* A Table of Contents will automatically be added to an article that has four or more sections. | |||
*If appropriate, place subsections in an appropriate order. If listing countries, place them in alphabetical order rather than, say, relative to population of OECD countries, or some random order. | |||
| | |||
<pre><nowiki> | |||
==New section== | |||
===Subsection=== | |||
====Sub-subsection==== | |||
</nowiki></pre> | |||
|- valign="top" | |||
| | |||
A single newline | |||
generally has no effect on the layout. | |||
These can be used to separate | |||
sentences within a paragraph. | |||
Some editors find that this aids editing | |||
and improves the function ''diff'' | |||
(used internally to compare | |||
different versions of a page). | |||
But an empty line | |||
starts a new paragraph. | |||
* When used in a list, a newline ''does'' affect the layout (see below). | |||
| | |||
<pre><nowiki> | |||
A single newline | |||
generally has no effect on the layout. | |||
These can be used to separate | |||
sentences within a paragraph. | |||
Some editors find that this aids editing | |||
and improves the function ''diff'' | |||
(used internally to compare | |||
different versions of a page). | |||
But an empty line | |||
starts a new paragraph. | |||
</nowiki></pre> | |||
|- valign="top" | |||
| | |||
You can break lines<br> | |||
without starting a new paragraph. | |||
* Please use this sparingly. | |||
* Close markup between lines, do not start a link or ''italics'' or '''bold''' on one line and close it on the next. | |||
| | |||
<pre><nowiki> | |||
You can break lines<br> | |||
without starting a new paragraph. | |||
</nowiki></pre> | |||
|- id="lists" valign="top" | |||
| | |||
* إنشاء قائمة تعداد بسهولة: | |||
** Start every line with a star (asterisk). | |||
*** More stars means deeper levels. | |||
**** A newline in a list | |||
marks the end of a list item. | |||
* An empty line starts a new list. | |||
| | |||
<pre><nowiki> | |||
* It's easy to create a list: | |||
** Start every line with a star. | |||
*** More stars means deeper levels. | |||
**** A newline in a list | |||
marks the end of a list item. | |||
* An empty line starts a new list. | |||
</nowiki></pre> | |||
|- valign="top" | |||
| | |||
# Numbered lists are also good | |||
## very organized | |||
## easy to follow | |||
### easier still | |||
| | |||
<pre><nowiki> | |||
# Numbered lists are also good | |||
## very organized | |||
## easy to follow | |||
### easier still | |||
</nowiki></pre> | |||
|- valign="top" id="definition" | |||
| | |||
; Definition list : list of definitions | |||
; item : the item's definition | |||
; another item | |||
: the other item's definition | |||
* Begin with a semicolon. One item per line; a newline can appear before the colon, but using a space before the colon improves parsing. | |||
| | |||
<pre><nowiki> | |||
; Definition list : list of definitions | |||
; item : the item's definition | |||
; another item | |||
: the other item's definition | |||
</nowiki></pre> | |||
|- valign="top" | |||
| | |||
* You can even create mixed lists | |||
*# and nest them | |||
*#* like this | |||
*#*; can I mix definition list as well? | |||
*#*: yes | |||
*#*; how? | |||
*#*: it's easy as | |||
*#*:* a | |||
*#*:* b | |||
*#*:* c | |||
| | |||
<pre><nowiki> | |||
* You can even create mixed lists | |||
*# and nest them | |||
*#* like this | |||
*#*; can I mix definition list as well? | |||
*#*: yes | |||
*#*; how? | |||
*#*: it's easy as | |||
*#*:* a | |||
*#*:* b | |||
*#*:* c | |||
</nowiki></pre> | |||
|- valign="top" | |||
| | |||
: A colon indents a line or paragraph. | |||
A manual newline starts a new paragraph. | |||
* This is primarily for displayed material, but is also used for discussion on [[Talk page]]s. | |||
| | |||
<pre><nowiki> | |||
: A colon indents a line or paragraph. | |||
A manual newline starts a new paragraph. | |||
</nowiki></pre> | |||
|- valign=top | |||
| | |||
When there is a need for separating a block of text | |||
<blockquote> | |||
the '''blockquote''' command will indent both margins when needed instead of the left margin only as the colon does. | |||
</blockquote> | |||
This is useful for (as the name says) inserting blocks of quoted (and cited) text. | |||
| | |||
<pre><nowiki> | |||
<blockquote> | |||
The '''blockquote''' command will indent | |||
both margins when needed instead of the | |||
left margin only as the colon does. | |||
</blockquote> | |||
</nowiki></pre> | |||
|- valign=top | |||
| | |||
(See formula on right): | |||
*This is useful for: | |||
** pasting preformatted text; | |||
** algorithm descriptions; | |||
** program source code; | |||
** ASCII art; | |||
** chemical structures; | |||
* '''WARNING''': If you make it wide, you force the whole page to be wide and hence less readable, especially for people who use lower resolutions. Never start ordinary lines with spaces. | |||
| | |||
<pre><nowiki> | |||
IF a line starts with a space THEN | |||
it will be formatted exactly | |||
as typed; | |||
in a fixed-width font; | |||
lines will not wrap; | |||
ENDIF | |||
</nowiki></pre> | |||
|- valign="top" | |||
| | |||
<center>Centered text.</center> | |||
* Please note the American spelling of "center." | |||
| | |||
<pre><nowiki> | |||
<center>Centered text.</center> | |||
</nowiki></pre> | |||
|- valign="top" | |||
| | |||
A horizontal dividing line: | |||
this is above it | |||
---- | |||
and this is below it. | |||
* Mainly useful for | |||
**disambiguation - but to be used sparsely, only when separating completely different, unrelated (groups of) meanings | |||
**separating threads on Talk pages. | |||
| | |||
<pre><nowiki> | |||
A horizontal dividing line: | |||
this is above it | |||
---- | |||
and this is below it. | |||
</nowiki></pre> | |||
|} | |||
{{بذرة}} |
مراجعة 19:07، 29 مارس 2012
يمكن قراءة تعليمات أساسية من هذه المقالة
أمثلة عملية للكتابة
النص كما يظهر على بعد الحفظ | الذي تكتبه في صندوق التحرير |
---|---|
Start your sections as follows: New section Subsection Sub-subsection
|
==New section== ===Subsection=== ====Sub-subsection==== |
A single newline generally has no effect on the layout. These can be used to separate sentences within a paragraph. Some editors find that this aids editing and improves the function diff (used internally to compare different versions of a page). But an empty line starts a new paragraph.
|
A single newline generally has no effect on the layout. These can be used to separate sentences within a paragraph. Some editors find that this aids editing and improves the function ''diff'' (used internally to compare different versions of a page). But an empty line starts a new paragraph. |
You can break lines
|
You can break lines<br> without starting a new paragraph. |
marks the end of a list item.
|
* It's easy to create a list: ** Start every line with a star. *** More stars means deeper levels. **** A newline in a list marks the end of a list item. * An empty line starts a new list. |
|
# Numbered lists are also good ## very organized ## easy to follow ### easier still |
|
; Definition list : list of definitions ; item : the item's definition ; another item : the other item's definition |
|
* You can even create mixed lists *# and nest them *#* like this *#*; can I mix definition list as well? *#*: yes *#*; how? *#*: it's easy as *#*:* a *#*:* b *#*:* c |
A manual newline starts a new paragraph.
|
: A colon indents a line or paragraph. A manual newline starts a new paragraph. |
When there is a need for separating a block of text
This is useful for (as the name says) inserting blocks of quoted (and cited) text. |
<blockquote> The '''blockquote''' command will indent both margins when needed instead of the left margin only as the colon does. </blockquote> |
(See formula on right):
|
IF a line starts with a space THEN it will be formatted exactly as typed; in a fixed-width font; lines will not wrap; ENDIF |
|
<center>Centered text.</center> |
A horizontal dividing line: this is above it and this is below it.
|
A horizontal dividing line: this is above it ---- and this is below it. |