Help:서식 지정
- Bahasa Indonesia
- Deutsch
- English
- Esperanto
- Kumoring
- Lëtzebuergesch
- Nederlands
- Qaraqalpaqsha
- Sunda
- Tagalog
- Tiếng Việt
- Türkçe
- Yorùbá
- asturianu
- bosanski
- català
- dansk
- eesti
- español
- français
- interlingua
- italiano
- magyar
- norsk bokmål
- occitan
- polski
- português
- português do Brasil
- română
- slovenčina
- suomi
- svenska
- čeština
- беларуская (тарашкевіца)
- русский
- українська
- қазақша
- עברית
- العربية
- سنڌي
- فارسی
- مازِرونی
- پښتو
- کٲشُر
- ߒߞߏ
- हिन्दी
- தமிழ்
- മലയാളം
- සිංහල
- ไทย
- 中文
- 日本語
- 한국어
위키 마크업을 이용하여 텍스트의 서식을 지정할 수 있습니다. 위키 마크업은 별표(*), 따옴표(') 또는 등호(=)와 같은 부호들을 이용하며, 간혹 삽입되는 위치에 의존하는 경우도 있습니다. 예를 들어, 단어를 이탤릭체로 적용하려면, 단어의 앞과 뒤를 따옴표 두 개로 ''이렇게'' 감싸면 됩니다.
텍스트 서식 마크업
| 설명 | 문법 | 결과 |
|---|---|---|
| 글자(인라인) 서식 - "모든 곳에 적용 가능" | ||
| 이탤릭체 | ''이탤릭'' |
이탤릭 |
| 볼드체 | '''볼드''' |
볼드 |
| 볼드와 이탤릭 | '''''볼드 & 이탤릭''''' |
볼드 & 이탤릭 |
| 위키 마크업 무시 | <nowiki>''마크업'' 무시</nowiki> |
''마크업'' 무시 |
| 섹션 서식 - "줄 맨 처음에서만 적용 가능" | ||
| 여러 단계의 수준별 제목 | == 제목 2 == === 제목 3 === ==== 제목 4 ==== ===== 제목 5 ===== ====== 제목 6 ====== |
제목 2제목 3제목 4제목 5제목 6 |
| 가로선 | 이전 텍스트 ---- 이후 텍스트 |
이전 텍스트 이후 텍스트 |
| 목록 내어쓰기 |
* 각 줄의 시작을 * [[Wikipedia:asterisk|별표]] (*)로 시작한다. ** 별표가 많아질 수록 *** 하위 수준으로 적용된다. * 줄넘김 <br />은 목록 수준을 유지한다. *** 하지만 중간 단계를 뛰어넘으면 공백을 만든다. 별표가 아닌 다른 시작은 목록을 끝낸다. * 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 |
별표가 아닌 다른 시작은 목록을 끝낸다.
|
| 번호 목록 |
# 각 줄의 시작을 # [[Wikipedia:Number_sign|샵]] (#)으로 시작한다. ## 별표가 많아질 수록 ### 하위 수준으로 ### 적용된다. # 줄넘김 <br />은 목록 수준을 유지한다. ### 하지만 중간 단계를 뛰어넘으면 공백을 만든다. # 공백 줄은 # 목록을 완료하고 새로운 목록을 생성한다. 다른 시작 또한 목록을 완료한다. <nowiki>#</nowiki> use "nowiki" tags to display a literal (#) at the beginning of a line without interpreting it as a numbered list. |
다른 시작 또한 목록을 완료한다. # use "nowiki" tags to display a literal (#) at the beginning of a line without interpreting it as a numbered list. |
| 정의 목록 | ;아이템 1 : 정의 1 ;아이템 2 : 정의 2-1 : 정의 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
:. |
|
| 텍스트 들여쓰기 | : 1번 들여쓰기 :: 2번 들여쓰기 ::::: 다중 들여쓰기 이러한 우회 수단은 접근성에 악영향을 줄 수 있다.
|
|
| 혼합 목록 | # 일 # 이 #* 일.일 #* 일.이 # 삼 #;삼 아이템 일 #:삼 정의 일 # 사 #:사 정의 일 #:이렇게 하면 이어지는 들여쓰기로 보이며 #: <nowiki><br></nowiki> 대신 #: 사용할 수 있다. # 오 ## 오 하위 일 ### 오 하위 일 하위 일 ## 오 하위 이 줄을 나누기 위해
#:와 *:를 사용하는 것 또한 접근성에 악영향을 끼칠 수 있다. |
|
| 사전서식 텍스트 | 각 줄을 공백으로 시작한다. 텍스트는 '''사전서식''' 되며 ''마크업''도 '''''가능'''''하다. Text is '''preformatted''' and ''markups'' '''''can''''' be done. 이런 형태의 사전서식은 섹션 서식에만 적용할 수 있다. 텍스트 단위 서식 마크업은 여전히 유효하다. Character formatting markups are still effective.
|
각 줄을 공백으로 시작한다. 텍스트는 사전서식 되며 마크업도 가능하다. Text is preformatted and markups can be done. |
| 사전서식 텍스트 블록 | <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 |
문단
미디어위키는 한 줄 줄바꿈을 무시한다. 새 문단을 시작하려면, 한 줄을 띄우고 줄바꿈하면 된다. HTML 태그 <br />를 사용하여 강제로 줄바꿈을 할 수 있다.
HTML 태그
일부 HTML 태그는 미디어위키에서 사용할 수 있습니다. 사용할 수 있는 태그는 <code>, <div>, 그리고 <span>가 있습니다. 이 태그들은 문서의 어느 부분에 넣어도 자동으로 활성화됩니다.
| 설명 | 작성하고, | 결과는 |
|---|---|---|
| Inserted (Displays as underline in most browsers) |
<ins>Inserted</ins> 또는 <u>밑줄</u> |
Inserted (追記ここまで) 또는 밑줄 |
| Deleted (Displays as strike-through in most browsers) |
<s>가로줄</s> 또는 <del>삭제됨</del> |
또는
|
| Fixed width text | <code>원본 코드</code> |
원본 코드
|
| 양쪽 들여쓰기 | 이전 텍스트 <blockquote>양쪽 들여쓰기</blockquote> 이후 텍스트 If the quote contains multiple paragraphs the tags need to be on separate lines to display properly, i.e.:
<blockquote> First paragraph. Second paragraph. </blockquote> |
이전 텍스트
이후 텍스트 |
| 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 |
| 의견 | <!-- 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. |
The full list of recognized tags is given on Help:HTML in wikitext .
기호 삽입
Symbols and other special characters not available on your keyboard can be inserted in a multitude of ways. Many operating systems and browsers allow to insert special characters through a menu option or operating system panel. Additionally, you can use the WikiEditor or VisualEditor to insert them into the edit screen.
As a last resort, you can use a special sequence of characters. Those sequences are called HTML character references. For example:
- the rightwards arrow symbol (
→) can be displayed using the→sequence - an em dash (
—) can be displayed using—.
| 설명 | 작성하고, | 결과는 |
|---|---|---|
| 저작권 표시 | © |
|
| Greek delta letter symbol | δ |
|
| Euro currency symbol | € |
|
See the list of all HTML entities on the Wikipedia article List of HTML entities. Additionally, MediaWiki supports two non-standard entity reference sequences: &רלמ; and &رلم; which are both considered equivalent to ‏ which is a right-to-left mark. (Used when combining right to left languages with left to right languages in the same page.)
HTML tags and symbol entities displayed themselves (with and without interpreting them)
&euro;→ €
<span style="color: red; text-decoration: line-through;">고쳐야 할 오타</span>→ 고쳐야 할 오타
<span style="color: red; text-decoration: line-through;">Typo to be corrected</span>→ <span style="color: red; text-decoration: line-through;">고쳐야 할 오타</span>
HTML에 Nowiki
<nowiki /> can prohibit (HTML) tags:
- <<nowiki/>pre> → <pre>
But not & symbol escapes:
- &<nowiki/>amp; → &
To print & symbol escapes as text, use "&" to replace the "&" character (eg. type "&nbsp;", which results in " ").
다른 형식
앞에서 설명한 텍스트 형식 지정 문법 이외에도 다른 형식 지정 참조가 있습니다.
- LanguageConverter markup – see Writing systems/Syntax
- 주석 - 확장기능:Cite 참조
- 표
- Manual:Collapsible_elements
You can find more references at 도움말:목차 .