Help:Formatting
위키 마크업을 사용함으로써 텍스트 서식을 지정할 수 있습니다. 이것은 위키에서 특별한 함수를 가지는 별표, 작은 따옴표 또는 등호와 같은 일반 문자로 구성되며, 때때로 그것들의 위치에 따라 다릅니다. 예를 들어, 기울임꼴로 단어의 서식을 지정하기 위해, 그것을 ''this''와 같은 작은 따옴표 두 쌍에 포함시키십시오.
Text formatting markup
| 설명 | 입력하십시오 | 화면에 표시됩니다 |
|---|---|---|
| 문자 (인라인) 서식지정 – 모든 곳에 적용됩니다 | ||
| Italic text | ''italic'' |
italic |
| Bold text | '''bold''' |
bold |
| Bold and italic | '''''bold & italic''''' |
bold & italic |
| Escape wiki markup | <nowiki>no [[wiki]] ''markup''</nowiki>
|
no [[wiki]] ''markup'' |
| Section formatting – only at the beginning of the line | ||
| Section Headings of different levels | == Level 2 == === Level 3 === ==== Level 4 ==== ===== Level 5 ===== ====== Level 6 ======
|
Level 2Level 3Level 4Level 5Level 6 |
| Horizontal rule | Text before ---- Text after |
Text before Text after |
| Bullet list |
* Start each line * with an [[Wikipedia:asterisk|asterisk]] (*). ** More asterisks give deeper *** and deeper levels. * Line breaks <br />don't break levels. *** But jumping levels creates empty space. Any other start ends the list. * combine bullet list ** with definition ::- definition ** creates empty space * combine bullet list ** with definition *:- definition ** without empty spaces *bullet list :- definition :* sublist that doesn't create empty :* spaces after definition |
Any other start ends the list.
|
| Numbered list |
# Start each line # with a [[Wikipedia:Number_sign|number sign]] (#). ## More number signs give deeper ### and deeper ### levels. # Line breaks <br />don't break levels. ### But jumping levels creates empty space. # Blank lines # end the list and start another. Any other start also ends the list. <nowiki>#</nowiki> use "nowiki" tags to display a literal (#) at the beginning of a line without interpreting it as a numbered list. |
Any other start also ends the list. # use "nowiki" tags to display a literal (#) at the beginning of a line without interpreting it as a numbered list. |
| Definition list | ;item 1 : definition 1 ;item 2 : definition 2-1 : definition 2-2 At the end of the line, if the line begins with a semicolon (;), any inserted colon (:) will not be displayed. If you want for the colon to be displayed, escape it by writing
:. |
|
| Indent text | : Single indent :: Double indent ::::: Multiple indent This workaround may harm accessibility.
|
|
| Mixture of different types of list | # one
# two
#* two point one
#* two point two
# three
#; three item one
#: three def one
# four
#: four def one
#: this looks like a continuation
#: and is often used
#: instead <br /> of <nowiki><br /></nowiki>
# five
## five sub 1
### five sub 1 sub 1
## five sub 2
The usage of
#: and *: for breaking a line within an item may also harm accessibility. |
|
| Preformatted text | Start each line with a space. Text is '''preformatted''' and ''markups'' '''''can''''' be done. This way of preformatting only applies to section formatting. Character formatting markups are still effective.
|
Start each line with a space. Text is preformatted and markups can be done. |
| Preformatted text blocks | <nowiki>Start with a space in the first column,
(before the <nowiki>).
Then your block format will be
maintained.
This is good for copying in code blocks:
def function():
"""documentation string"""
if True:
print True
else:
print False</nowiki>
|
Start with a space in the first column,
(before the <nowiki>).
Then your block format will be
maintained.
This is good for copying in code blocks:
def function():
"""documentation string"""
if True:
print True
else:
print False
|
Paragraphs
미디어위키는 단일 줄 바꿈을 무시합니다. 새로운 단락을 시작하기 위해, 단락 사이에 빈 줄을 남겨둬야 합니다. 단락 내에서 강제로 줄 바꿈을 하고 싶으면, HTML 태그 <br />를 삽입하십시오.
HTML tags
일부 HTML 태그는 미디어위키에서 허용되며, 예를 들어 <code>, <div>, 및 <span>이 있습니다. 이것들은 삽입한 곳 어디에서나 적용됩니다.
| 설명 | 입력하십시오 | 화면에 표시됩니다 |
|---|---|---|
| Inserted (Displays as underline in most browsers) |
<ins>Inserted</ins>
or
<u>Underline</u>
|
Inserted or Underline |
| Deleted (Displays as strike-through in most browsers) |
<s>Strike-through</s>
or
<del>Deleted</del>
|
or
|
| Fixed width text | <code>Source code</code>
|
Source code
|
| Blockquotes | Text before
<blockquote>Blockquote</blockquote>
Text after
|
Text before
Text after |
| Quotes | <q>This is a quotation</q>
The q element must not be used in place of quotation marks that do not represent quotes; for example, it is inappropriate to use the q element for marking up sarcastic statements.[1]
|
This is a quotation |
| Comment | <!-- This is a comment -->
Comments are visible only
in the edit zone.
|
Comments are visible only in the edit zone. |
| Completely preformatted text | <pre>
Text is '''preformatted''' and
''markups'' '''''cannot''''' be done
</pre>
For marking up of preformatted text, check the "Preformatted text" entry at the end of the previous table.
|
Text is '''preformatted''' and ''markups'' '''''cannot''''' be done |
| Customized preformatted text | <pre style="color: red">
Text is '''preformatted'''
with a style and
''markups'' '''''cannot''''' be done
</pre>
A CSS style can be named within the
style attribute. |
Text is '''preformatted''' with a style and ''markups'' '''''cannot''''' be done |
continued:
| 설명 | 입력하십시오 | 화면에 표시됩니다 |
|---|---|---|
Default preformatted text has a CSS attribute (white-space: pre-wrap;) to wrap the text according to available width
|
<pre>
This long sentence is used to demonstrate text wrapping. This additional sentence makes the text even longer. This additional sentence makes the text even longer.
</pre>
|
This long sentence is used to demonstrate text wrapping. This additional sentence makes the text even longer. This additional sentence makes the text even longer. |
| Customized preformatted text with disabled text wrapping | <pre style="white-space: pre;">
This long sentence is used to demonstrate text wrapping. This additional sentence makes the text even longer. This additional sentence makes the text even longer.
</pre>
|
This long sentence is used to demonstrate text wrapping. This additional sentence makes the text even longer. This additional sentence makes the text even longer. |
Inserting symbols
키보드에서 직접 입력할 수 없는 기호와 다른 특수 문자는 다양한 방법으로 삽입될 수 있습니다. 많은 운영 시스템과 브라우저는 메뉴 옵션 또는 운영 시스템 패널을 통해 특수 문자를 삽입하는 것을 허용합니다. 추가적으로, 그것들을 편집 화면에 삽입하기 위해 WikiEditor 또는 VisualEditor를 사용할 수 있습니다.
마지막 수단으로, 특수 문자의 시퀀스를 사용할 수 있습니다. 그들 시퀀스는 HTML 엔티티라고 불립니다. 예를 들어, 다음 시퀀스 (엔티티) → 삽입하면 오른쪽 화살표 HTML 기호 →를 표시될 것이고 — 삽입하면 전각 대시 HTML 기호 —로 표시될 것입니다.
| Á | á | Â | â | ´ | Æ | æ | À | à | ℵ | Α | α | & | ∧ | ∠ | Å | å | ≈ | Ã | ã | Ä | ä | „ | Β | β | ¦ | • | ∩ | Ç | ç | ¸ | ¢ |
| Χ | χ | ˆ | ♣ | ≅ | © | ↵ | ∪ | ¤ | † | ‡ | ↓ | ⇓ | ° | Δ | δ | ♦ | ÷ | É | é | Ê | ê | È | è | ∅ | Ε | ε | ≡ | Η | η | ||
| Ð | ð | Ë | ë | € | ∃ | ƒ | ∀ | ½ | ¼ | ¾ | ⁄ | Γ | γ | ≥ | > | ↔ | ⇔ | ♥ | … | Í | í | Î | î | ¡ | Ì | ì | ℑ | ∞ | ∫ | Ι | ι |
| ¿ | ∈ | Ï | ï | Κ | κ | Λ | λ | ⟨ | « | ← | ⇐ | ⌈ | “ | ≤ | ⌊ | ∗ | ◊ | | ‹ | ‘ | < | ¯ | — | µ | · | − | Μ | μ | ∇ | – | |
| ≠ | ∋ | ¬ | ∉ | ⊄ | Ñ | ñ | Ν | ν | Ó | ó | Ô | ô | Œ | œ | Ò | ò | ‾ | Ω | ω | Ο | ο | ⊕ | ∨ | ª | º | Ø | ø | Õ | õ | ⊗ | Ö |
| ö | ¶ | ∂ | ‰ | ⊥ | Φ | φ | Π | π | ϖ | ± | £ | ′ | ″ | ∏ | ∝ | Ψ | ψ | " | √ | ⟩ | » | → | ⇒ | ⌉ | ” | ℜ | ® | ⌋ | Ρ | ρ | |
| › | ’ | ‚ | Š | š | ⋅ | § | | Σ | σ | ς | ∼ | ♠ | ⊂ | ⊆ | ∑ | ⊃ | ¹ | ² | ³ | ⊇ | ß | Τ | τ | ∴ | Θ | θ | ϑ | Þ | þ | ˜ | |
| × | ™ | Ú | ú | ↑ | ⇑ | Û | û | Ù | ù | ¨ | ϒ | Υ | υ | Ü | ü | ℘ | Ξ | ξ | Ý | ý | ¥ | ÿ | Ÿ | Ζ | ζ | | |
| 설명 | 입력하십시오 | 화면에 표시됩니다 |
|---|---|---|
| Copyright symbol | © |
|
| Greek delta letter symbol | δ |
|
| Euro currency symbol | € |
|
위키피디아 기사 HTML 엔티티의 목록에서 모든 HTML 엔티티의 목록을 참조하십시오. 추가적으로, 미디어위키는 두 가지 비-표준 엔티티 참조 시퀀스: &רלמ; 및 &رلم;를 지원합니다. 이것들 둘 다는 ‏와 동등한 것으로 고려되고 오른쪽에서 왼쪽으로 표시됩니다. (같은 페이지에서 오른쪽에서 왼쪽 언어와 왼쪽에서 오른쪽 언어를 결합할 때 사용됩니다.)
HTML tags and symbol entities displayed themselves (with and without interpreting them)
&euro;→ €
<span style="color: red; text-decoration: line-through;">Typo to be corrected</span>→ Typo to be corrected
<span style="color: red; text-decoration: line-through;">Typo to be corrected</span>→ <span style="color: red; text-decoration: line-through;">Typo to be corrected</span>
Nowiki for HTML
<nowiki />는 (HTML) 태그를 금지합니다:
- <<nowiki />pre> → <pre>
그러나 & 기호는 탈출하지 않습니다:
- &<nowiki />amp; → &
& 기호 탈출을 문자로 프린터하기 위해, "&"를 "&" 문자를 대체해서 사용하십시오 (예를 들어, "&nbsp;"를 입력하면, " " 결과로 나타납니다).
Other formatting
이전에 표시된 텍스트 서식 지정 마크업 외에도, 다음과 같은 다른 서식 참조가 있습니다:
- Links
- Lists
- Images
- LanguageConverter markup – see Writing systems/Syntax
- References – see Extension:Cite/Cite.php
- Tables
Help:Contents에서 더 많은 참조를 찾을 수 있습니다.