Help:Wikitext examples
Formatting text in wikitext
| Rendering | Wikitext |
|---|---|
| 강조 (기울임꼴), 강하게 (굵은 글씨), 매우 강하게 (굵은 기울임꼴).
(이것들은 큰따옴표가 이나라 이중, 삼중 작은따옴표입니다.) 주목: 이것은 링크에도 적용될 수 있습니다 (예를 들어, Wikipedia). |
''Emphasize'', '''strongly''',
'''''very strongly'''''.
''[[Wikipedia]]''
|
특정 글꼴 스타일이 필요한 수학적 계산에서는 강조 대신 기울임꼴과 굵은 글꼴을 사용하는 것이 유익합니다.
(대부분의 사람들은 이 두 가지 접근 방식이 그래픽 브라우저에서는 크게 다르지 않다는 사실을 무시합니다.) 어쨌든, 그것은 시각 장애인에게는 상당한 영향을 미칠 수 있습니다. |
The use of <i>italic</i> and <b>bold</b> fonts is beneficial in mathematical calculations where specific font styles are needed instead of emphasis.
: <b>F</b> = <i>m</i><b>a</b>
|
| small caps로 쓸 수 있습니다. | You can write <span style="font-variant:small-caps">in small cap</span>
|
technical terms나 computer code에 가끔 사용되는 타자기 글꼴입니다.
|
The typewriter font that is occasionally used for <kbd>technical terms</kbd> and <code>computer code</code>.
|
| 캡션에대해, small text을 사용할 수 있습니다. | For captions, you can use <small>small text</small>.
|
| 삭제된 자료에는 단순히 취소선이나 밑줄 같은 시각적인 단서에만 의존하기보다는, You can also denote
|
Deleted materials can be <s>striked out</s> and new materials can be <u>underlined</u>.
You can also denote <del>deleted material</del> and <ins>inserted material</ins> with the respective tags, preserving their semantic meaning, rather than relying solely on visual cues like strikethrough and underline.
|
| 아래첨자: m2 위첨자: m2 또는 m² 많은 브라우저에서는 위첨자 텍스트를 나타내는 the 2 HTML 태르를 사용하는 것보다 HTML 엔터티 ² (²)를 포함하는 줄을 서식 지정하는 것이 더 간단하다고 생각합니다. |
Subscript: m<sub>2</sub><br />
Superscript: m<sup>2</sup> or m²
ε<sub>0</sub> =
8.85 × 10<sup>−12</sup>
C² / J m.
<br /><br />
1 [[hectare]] = [[1 E4 m²]]
|
Organizing your writing
| Rendering | Wikitext |
|---|---|
|
섹션 및 하위 섹션 초안 작성 머릿글 줄로 시작합니다 페이지 제목과 같은 최상위 머릿글은 단일 등호 (
=) 기호로 표시됩니다.
|
== A section ==
=== A sub-section ===
==== Another sub-subsection ====
|
새로운 줄:
|
This is a line.
This is still part of the same paragraph.
This is a paragraph.<p>This is a continuation of the paragraph. But it appears after an empty line due to the <p> and </p> tags.</p>
This is a line.<div>This is another line appearing as a second new paragraph instead of a third paragraph due to the <div> and </div> tags.</div>
|
|
Lines can be broken <br/> without beginning another paragraph.
|
순서 없는 목록
A line starting without a star marks the end of the list.
Now you are ready to create well-structured unordered lists. |
* Start a line with asterisks (<code>*</code>) to create the first item in an unordered list.
** Use two asterisks for a sub-item.
*** Increase the number of asterisks for deeper levels.
* Each line break signifies a new item in the list.
A line starting without a star marks the end of the list.
* You can start over with a new list
Now you are ready to create well-structured unordered lists.
|
번호-매김 목록
A line starting without a hashtag marks the end of the list.
|
# Use a hashtag (<code>#</code>) at the beginning of each line to signify the order.
## Use two hashtags (<code>##</code>) for a sub-item.
## Continue numbering to maintain the sequence and logical flow of information.
# Add a new line between each item for improved readability.
A line starting without a hashtag marks the end of the list.
# An ordered list starts with 1.
# Then 2, etc.
|
혼합 목록
|
* This mixed list begins with an unordered list (<code>*</code>).
*# To create a subitem of an ordered list under an unordered list use an asterisk and a hashtag (<code>*#</code>).
*#* To create a deeper sub-item of an unordered list within an ordered list, add another asterisk (<code>*#*</code>).
*#* You can also break <br/> lines in a list.
|
| 정의 목록
정의 목록은 일련의 용어-정의 쌍으로 구성됩니다.
콜론 ( |
; Wiki
: A wiki (/ˈwɪki/ ⓘ WI-kee) is a form of online hypertext publication that is collaboratively edited and managed by its own audience directly through a web browser. See [[w:Wiki]].
; Web Browser
: A web browser is an application for accessing websites. See [[w:Web browser]]
|
| 들여쓰기
정의 목록에서 설명한 대로, 줄의 시작 부분에 콜론 (
|
: An indented line.
A new line starts a new non-indented paragraph.
|
| 블록인용
블록인용 스타일은 외부 원본에서 특정 텍스트 섹션을 강조 표시하거나 주변 컨텐츠와 구별하기 위해 사용됩니다.
|
<blockquote>
This is a blockquote. It is used to highlight quoted text or separate specific content.
</blockquote>
|
| 수평 구분선
위키 페이지에서 수평 구분선은 4개 이상의 연속된 하이픈 (
|
Text above
----
Text below
|
Creating links
You will often want to make clickable links to other pages.
| Rendering | Wikitext |
|---|---|
| 기본
You are reading the documentation. |
You are reading the {{Mwll|documentation}}.
|
| 기본 + 텍스트 형식-지정
링크는 기울임꼴로 표시될 수 있습니다. 예를 들어: |
''[[MediaWiki]]''
|
| 인터링크 링크
이들은 관련된 주제 또는 비슷한 주제를 다루는 또 다른 위키로 연결됩니다.
|
This interwiki link points to [[w:Documentation]] on Wikipedia.
Its Esperanto word equivalent is [[:eo:Dokumentaro]].
|
| 섹션으로의 링크
페이지 이름을 지정한 후 파운드 ( 그러한 섹션이 없으면 링크는 페이지의 시작 부분을 가리킵니다. 페이지에 같은 이름을 갖는 섹션이 여러 개 있으면, 끝에 숫자로 섹션의 순위를 지정합니다. (예를 들어, "$1"이라는 제목의 섹션이 세 개 있고 세 번째 섹션에 링크하려면 [[#Section title 3]]을 사용합니다).
See Help:Editing FAQ. |
[[Help:Special pages#Editing Special namespace pages|Help:Special pages]]
|
| 파이프 링크
파이프 기호 ( 위의 내용은 Help:Link 문서에 연결된 About links를 생성합니다. |
* [[Help:Link|About links]]
|
빈 링크 레이블을 사용하면 적절한 링크 레이블이 자동으로 채워집니다. 즉, [[Kingdom (biology)|]]은 [[Kingdom (biology)|Kingdom]]으로 대체될 것입니다.
|
* Parentheses: [[kingdom (biology)|]].
* Colon: [[Help:Pipe|]].
|
|
존재하지 않는 페이지로의 링크
페이지를 만들기 위해, 링크를 클릭할 수 있습니다. Help:starting a new page를 참조하십시오 (그리고 프로젝트의 명명 규칙이 있다면 그 규칙도 참조하십시오). |
A link to a page which does not exist (like [[Foo|this one]]) is colored in red.
|
| 리다이렉트
페이지 시작 부분에 위키텍스트를 추가함으로써 리다이렉트를 만들 수 있습니다. Help:Redirects을 참조하십시오. #REDIRECT [[United States of America]]
|
#REDIRECT [[United States of America]]
|
| 마법 링크
마법 링크를 활성화하여 사용자가 특정 키워드를 입력하여 자동으로 링크를 생성할 수 있습니다.
이들 기능은 더 이상 사용되지 않고 일반적으로 사용해서는 안 됩니다. |
* ISBN 0131103629 * RFC 234 |
Media: 링크
미디어 링크는 미디어 파일을 포함하는 페이지를 참조하기 위해 사용됩니다. 그것들은 |
[[media:Test.ogg|Audio]]
|
| 카테고리 링크
카테고리 링크는 사용자를 특정 카테고리 페이지로 안내합니다 (페이지를 해당 카테고리로 분류 없이). 이를 구현하기 위해, 링크와 비슷한 구문을 사용하지만, 이름공간 앞에 콜론 ( |
[[:Category:Documentation]] |
| 특수 페이지
특수 페이지는 위키 소프트웨어에 의해 생성됩니다. 그것들은 Special 이름공간을 통해 접근됩니다. 다음 형식을 사용하여 "What links here"과 같은 특수 페이지에 대한 링크를 만들 수 있습니다: 다른 특수 페이지에 대해 Help:Special pages를 참조하십시오. |
[[Special:Whatlinkshere/Help:Editing]] |
| 페이지의 이전 개정판, 차이점 (diffs) 및 특정 역사 페이지로의 링크
이전 개정판, diff 또는 특정 역사 페이지로 링크하기 위해, 페이지의 이전 개정판으로의 링크하기 – 위키의 이전 페이지 버전을 공유하기 위해, 해당 페이지의 역사에서 URL을 복사하여 공유하려는 곳에 붙여넣으십시오.
Special:PermaLink를 사용하여 이 작업을 수행할 수도 있습니다. 즉, Special:PermaLink/6364084 차이점으로의 링크하기: – 두 개정판의 차이점을 페이지별로 링크하기 위해, 비교하는 페이지의 차이점이 포함된 페이지의 특정 URL을 복사하여 붙여넣으십시오.
ㅍ를 사용하여 이 작업을 수행할 수도 있습니다. 즉, Special:Diff/6364333/6364084 편집 역사로부터 특정 페이지로의 링크하기 – 편집 역사로 이동하여 "(older)" 또는 "(earliest)" 버튼을 선택하여 특정 페이지 역사로 이동하고, 그런-다음 URL을 복사하여 공유하려는 곳에 붙여넣으십시오. |
https://www.mediawiki.org/w/index.php?title=Help:Cite&oldid=6364084 https://www.mediawiki.org/w/index.php?title=Help%3ACite&diff=6364333&oldid=6364084 https://www.mediawiki.org/w/index.php?title=Help:Cite&action=history&offset=20170210105218%7C2391706&limit=100 |
Displaying text as typed
몇 가지 다른 서식 지정 방법을 사용하면 위키에 입력한 텍스트가 정확히 그대로 표시됩니다.
| Rendering | Wikitext |
|---|---|
|
nowiki 태그는 [[Wiki]] ''마크업''이 렌더링되는 것을 방지합니다. 그것은 줄바꿈과 여러 공백을 제거함으로써 텍스트를 조정합니다. 그것은 특수 문자는 여전히 처리합니다: → |
<nowiki>
The nowiki tag prevents
[[Wiki]] ''markup'' from rendering.
It adjusts text by
eliminating
newlines and multiple
spaces.
It still processes special
characters: →
</nowiki>
|
The pre tag bypasses [[Wiki]] ''markup''. It also maintains text format. It still recognizes special characters: → |
<pre>
The pre tag bypasses [[Wiki]]
''markup''.
It also maintains text
format.
It still recognizes special
characters: →
</pre>
|
|
선행 공백은 서식을 유지하는 또 다른 방법을 제공합니다. Inserting a space at the start of each line keeps the text as is. It still processes Wiki markup and special characters: → |
Leading spaces offer another method to keep formatting.
Inserting a space at the
start of each
line keeps the text
as is. It still
processes [[Wiki]]
''markup'' and special
characters: →
|
Displaying code
구문 강조 확장을 사용할 수 있으면, HTML <pre> 태그와 유사하게 소스 코드를 표시할 수 있지만. 고급 텍스트 편집기와 유사한 구문 강조 기능이 있습니다. 지원되는 언어 목록을 참조하십시오: http://pygments.org/languages/ 다음은 C# 코드를 표시하는 예제입니다:
<syntaxhighlight lang="csharp">
// Hello World in Microsoft C# ("C-Sharp").
using System;
class HelloWorld
{
public static int Main(String[] args)
{
Console.WriteLine("Hello, World!");
return 0;
}
}
</syntaxhighlight>
다음과 같이 렌더링됩니다:
// Hello World in Microsoft C# ("C-Sharp").
using System;
class HelloWorld
{
public static int Main(String[] args)
{
Console.WriteLine("Hello, World!");
return 0;
}
}
Using images, tables, video, and sounds
보다 자세한 지침에 대해, 다음을 참조하십시오:
- Help:Images - 업로드와 이미지 구문에 대해.
- Help:Tables - 테이블 생성에 대해.
파일을 업로드한 후 파일 이름을 입력하고 강조 표시한 다음 편집 도구 모음에서 "embedded image" 버튼을 클릭합니다. 그러면 임베딩 구문이 생성됩니다:
[[Image:filename.png]]
| Rendering | Wikitext | ||||
|---|---|---|---|---|---|
|
An image with alternate text:
![]() |
An image with alternate text:
[[Image:Wiki.png|This is Wiki's logo]]
Image with frame and caption:
[[Image:Wiki.png|frame|This is Wiki's logo]]
| ||||
|
Link to MediaWiki's image page: Image:Wiki.png Direct link to the image: Media:Wiki.png |
Link to MediaWiki's image page:
[[:Image:Wiki.png]]
Direct link to the image:
[[Media:Wiki.png]]
| ||||
|
The media: namespace tag can be used to link directly to sounds or videos: A sound file |
The '''media:''' namespace tag can be used to link directly to sounds or videos:
[[media:Classical guitar scale.ogg|A sound file]]
| ||||
| Include a spoken version of text in a template ({{listen}}): | Include a spoken version of text in a template:
{{listen
|title = Flow, my tears
|filename = Flow, my tears.ogg
|filesize = 1.41 MB
}}
| ||||
|<center><span style="border:5px double black">'''Text in a bordered box'''</span></center>
|
| |||||
|
{| style="margin: auto; border: 10px solid black; border-spacing: 5px;"
|-
! style="padding: 10px;" | This
! style="padding: 10px;" | is
|-
| style="padding: 10px;" | a
| style="padding: 10px;" | table
|}
|
Galleries
이미지는 <gallery> 태그를 사용하여 갤러리로 구성될 수 있습니다, 예를 들어:
-
Captioned
-
Links can be put in captions.
Mathematical formula
수학 공식을 형식화하기 위해, TeX 마크업을 사용할 수 있습니다.
| Rendering | Wikitext |
|---|---|
<math>\sum_{n=0}^\infty \frac{x^n}{n!}</math>
|
Templates
템플릿은 자동으로 페이지에 복사 ("transcluded")할 수 있는 위키 마크업의 스니펫입니다. 템플릿 이름을 {{double braces}} 안에 넣어서 추가할 수 있습니다. 다른 이름공간에서 페이지를 전달-삽입하기 위해, {{:콜론과 이중 중괄호}}를 사용합니다. 일부 템플릿은 파이프 문자로 구분된 매개변수를 허용합니다.
| Rendering | Wikitext |
|---|---|
|
이것은 Wikitext examples/transclusion demo 하위-페이지에서 가져온 짧은 데모 텍스트입니다. |
{{Help:Wikitext examples/transclusion demo}}
|
|
This template uses takes one parameter and returns it twice: Hello WorldHello World |
This template uses takes one parameter and returns it twice:
{{2x|Hello World}}
|

