משתמש:Broken/דוד1/ארגז חול/עזרה לעריכה
מתוך ויקיפדיה, האנציקלופדיה החופשית
ויקיפדיה היא ויקי, והמשמעות היא שכל אחד יכול בקלות לערוך כל מאמר ולגרום לעדכון מיידי שלו. עמוד זה הוא תיעוד של תחביר הויקי.
תוכן עניינים |
[עריכה] פירוט תחביר הויקי
בעמודה השמאלית של הטבלה שבהמשך, נציג את היכולות / אפקטים של שפת הסימנים של ויקי. בעמודה הימנית , נדגים מה צריך לכתוב, (איך לערוך את הטקסט) כדי להגיע ליכולות הנ"ל.
במילים אחרות: כדי שתראו את הטקסט כפי שהוא מופיע בעמודה השמאלית, יש להשתמש בסימנים הרשומים בעמודה הימנית.
[עריכה] פיסקאות, קטעים, רשימות ושורות
| מה שנדרש לכתוב | איך זה נראה בויקי |
|---|---|
== פיסקה חדשה == === תת-פיסקה === ==== תת תת-פיסקה ==== |
התחל את הפיסקאות שלך בשורות כותרת: [עריכה] פיסקה חדשה[עריכה] תת-פיסקה[עריכה] תת תת-פיסקה |
ל[[שורה חדשה]] אחת, באנגלית (New-Line) אין השפעה על התצוגה. סימני שורות חדשות ישמשו להפרדה בין משפטים בתוך מקטע. אבל שורת רווח, כמו זו שלפני, מתחילה מקטע חדש. |
לשורה חדשה אחת, באנגלית (New-Line) אין השפעה על התצוגה. סימני שורות חדשות ישמשו להפרדה בין משפטים בתוך מקטע. אבל שורת רווח, כמו זו שלפני, מתחילה מקטע חדש. |
ניתן לפצל ("לשבור")שורה ע"י שימוש ב-<br>
בלי להתחיל מקטע חדש.
|
ניתן לפצל (ל"שבור") שורה ע"י שימוש ב- |
* קל לערוך רשימות: * התחל כל שורה ברשימה ב"כוכבית" ** "כוכבית" נוספת, פירושה רמה נוספת, זוהי שורה ברמה 2. |
|
# ניתן לערוך גם רשימות ממוספרות (שורות המתחילות ב-#) ## הן קלות לארגון ## ולמעקב |
|
* ניתן גם לערב את שני סוגי הרשימות *# כאשר אחת תת-רשימה של השניה (קינון) *#* כמו בדוגמא זו |
|
|
; Definition list : list of definitions ; item : the item's definition |
: סימן נקודתיים (בתחילת שורה) מסיט (הזחה) את השורה או המקטע. הקשת שורה חדשה(NewLine)בתוך "קטע מוגדר ע"י :", מתחילה פיסקה חדשה. |
הקשת שורה חדשה (NewLine) בתוך "קטע מוגדר ע"י :", מתחילה פיסקה חדשה.
|
IF a line starts with a space THEN
it will be formatted exactly
as typed;
in a fixed-width font;
lines won't wrap;
ENDIF
this is useful for:
* pasting preformatted text;
* algorithm descriptions;
* program source code
* ascii art;
WARNING If you make it wide, you force the whole page to be wide and hence less readable. Never start ordinary lines with spaces. |
IF a line starts with a space THEN
it will be formatted exactly
as typed;
in a fixed-width font;
lines won't wrap;
ENDIF
this is useful for:
* pasting preformatted text;
* algorithm descriptions;
* program source code
* ascii art;
|
|
|
<center>Centered text.</center> |
| A horizontal dividing line: above
and below. Mainly useful for separating threads on Talk pages. |
A horizontal dividing line: above ---- and below. |
[עריכה] Links, URLs, images
| What it looks like | What you type |
|---|---|
London has good public transport.
Thus the link above is to http://www.wikipedia.org/wiki/Public_transport, which is the article with the name "Public transport". |
London has good [[public transport]]. |
| Same target, different name ("piped link"): answers. |
Same target, different name: [[wikipedia FAQ|answers]] |
| Endings are blended into the link: testing, genes |
Endings are blended into the link: [[test]]ing, [[gene]]s |
|
Automatically hide stuff in parentheses: kingdom. Automatically hide namespace: Village Pump. The server fills in the part after the | when you save the page. |
Automatically hide stuff in parentheses: [[kingdom (biology)|]]. Automatically hide namespace: [[Wikipedia:Village Pump|]]. |
| When adding a comment to a Talk page,
you should sign it. You can do this by adding three tildes for your user name:
or four for user name plus date/time:
|
When adding a comment to a Talk page, you should sign it. You can do this by adding three tildes for your user name: : ~~~ or four for user name plus date/time: : ~~~~ |
| The weather in London is a page that doesn't
exist yet.
|
[[The weather in London]] is a page that doesn't exist yet. |
|
Redirect one article title to another by putting text like this in its first line. |
#REDIRECT [[United States]] |
|
For a special way to link to the article on the same subject in another language, see Wikipedia:Interlanguage links. |
|
| External link: Nupedia |
External link: [http://www.nupedia.com Nupedia] |
| Or just give the URL: http://www.nupedia.com. |
Or just give the URL: http://www.nupedia.com. |
A picture:
|
A picture: [[Image:Wiki.png]] or, with alternate text (strongly encouraged) [[Image:Wiki.png|Wikipedia - The Free Encyclopedia]] Browsers render alternate text when not displaying an image -- for example, when the image isn't loaded, or in a text-only browser, or when spoken aloud. See Alternate text for images for help on choosing alternate text. |
|
Clicking on an uploaded image displays a description page, which you can also link directly to: Image:Wiki.png |
[[:Image:Wiki.png]] |
|
To include links to non-image uploads such as sounds, or to images shown as links instead of drawn on the page, use a "media" link. |
[[media:Sg_mrob.ogg|Sound]] [[media:Tornado.jpg|Image of a Tornado]] |
|
To link to books, you can use Wikipedia:ISBN links. |
ISBN 0123456789X |
[עריכה] Character formatting
| What it looks like | What you type |
|---|---|
|
Emphasize, strongly, very strongly.
|
''Emphasize'', '''strongly''', '''''very strongly'''''. |
|
You can also write italic and bold if the desired effect is a specific font style rather than emphasis, as in mathematical formulae:
|
You can also write <i>italic</i> and <b>bold</b> if the desired effect is a specific font style rather than emphasis, as in mathematical formulas: :<b>F</b> = <i>m</i><b>a</b> |
| A typewriter font for technical terms. |
A typewriter font for <tt>technical terms</tt>. |
| You can use small text for captions. |
You can use <small>small text</small> for captions. |
| You can and underline new material. |
You can <strike>strike out deleted material</strike> and <u>underline new material</u>. |
|
Umlauts and accents: (See wikipedia:Special characters) |
À Á Â Ã Ä Å Æ Ç È É Ê Ë Ì Í Î Ï Ñ Ò Ó Ô Õ Ö Ø Ù Ú Û Ü ß à á â ã ä å æ ç è é ê ë ì í î ï ñ ò ó ô œ õ ö ø ù ú û ü ÿ |
|
Punctuation: |
¿ ¡ « » § ¶ † ‡ • — |
|
Commercial symbols: |
™ © ® ¢ € ¥ £ ¤ |
| Subscript: x2 Superscript: x2 or x²
ε0 = 8.85 × 10−12 C² / J m. |
Subscript: x<sub>2</sub> Superscript: x<sup>2</sup> or x² ε<sub>0</sub> = 8.85 × 10<sup>−12</sup> C² / J m. |
| Greek characters: α β γ δ ε ζ |
α β γ δ ε ζ η θ ι κ λ μ ν ξ ο π ρ σ ς τ υ φ χ ψ ω Γ Δ Θ Λ Ξ Π Σ Φ Ψ Ω |
|
Math characters: |
∫ ∑ ∏ √ − ± ∞ ≈ ∝ ≡ ≠ ≤ ≥ → × · ÷ ∂ ′ ″ ∇ ‰ ° ∴ ℵ ø ∈ ∉ ∩ ∪ ⊂ ⊃ ⊆ ⊇ ¬ ∧ ∨ ∃ ∀ ⇒ ⇔ → ↔ |
x2 ≥ 0 true.
|
<i>x</i><sup>2</sup> ≥ 0 true. |
|
Complicated formulae: |
<math>\sum_{n=0}^\infty \frac{x^n}{n!}</math>
|
|
Suppressing interpretation of markup:
|
<nowiki>Link → (<i>to</i>) the [[Wikipedia FAQ]]</nowiki> |
|
Commenting page source:
|
<!-- comment here --> |
[עריכה] Tables
HTML tables can be quite useful as well. For details on how to use them and discussion about when they are appropriate, see Wikipedia:How to use tables.
[עריכה] See also
- UseModWiki and Wikipedia:PHP script.
- HTML tag.
- Wikipedia:Protected page
GNU Free Documentation License




