Jump to content

Help:Wikitext examples

This is a fully translated help. Click here for more information.
From DawoumWiki, the free Mathematics self-learning

Formatting text in wikitext

Rendering Wikitext
강조 (기울임꼴), 강하게 (굵은 글씨), 매우 강하게 (굵은 기울임꼴).

(이것들은 큰따옴표가 이나라 이중, 삼중 작은따옴표입니다.)

주목: 이것은 링크에도 적용될 수 있습니다 (예를 들어, Wikipedia).

''Emphasize'', '''strongly''',
'''''very strongly'''''.

''[[Wikipedia]]''
특정 글꼴 스타일이 필요한 수학적 계산에서는 강조 대신 기울임꼴굵은 글꼴을 사용하는 것이 유익합니다.
F = ma

(대부분의 사람들은 이 두 가지 접근 방식이 그래픽 브라우저에서는 크게 다르지 않다는 사실을 무시합니다.) 어쨌든, 그것은 시각 장애인에게는 상당한 영향을 미칠 수 있습니다.

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 termscomputer 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 엔터티 &sup2; (²)를 포함하는 줄을 서식 지정하는 것이 더 간단하다고 생각합니다.

ε0 = 8.85 × 10−12 C² / J m.

1 hectare = 1 E4 m²

Subscript: m<sub>2</sub><br />
Superscript: m<sup>2</sup> or m&sup2;

&epsilon;<sub>0</sub> =
8.85 &times; 10<sup>&minus;12</sup>
C&sup2; / J m.
<br /><br />
1 [[hectare]] = [[1 E4 m&sup2;]]


Organizing your writing

Rendering Wikitext

섹션 및 하위 섹션 초안 작성 머릿글 줄로 시작합니다

페이지 제목과 같은 최상위 머릿글은 단일 등호 (=) 기호로 표시됩니다.
A section
A sub-section
Another sub-subsection
  • 첫번째-수준 머릿글 (=)을 사용하지 말고, 대신, 두번째-수준 머릿글 (==)로 시작하십시오.
  • 레벨을 뛰어넘지 마십시오; 예를 들어, 두번째 수준에서 네번째 수준으로 이동하지 마십시오.
  • 만약 기사가 4부분 이상으로 구성되면, 목차 가 자동으로 생성될 것입니다.
  • 하위 섹션을 적절한 순서로 정렬합니다. 예를 들어, 국가를 나열할 때는 OECD 내부의 해당 인구에 따라 또는 임의의 다른 무작위 순서로 정렬하는 대신 알파벳순으로 정렬합니다.
  • 목차에서 제외하려면 HTML 머릿글 태그를 사용하고 슬래시 없이 머릿글을 닫습니다. 예를 들어:
    <h4>Subsection with heading too low level to be in the TOC<h4>
    
== A section ==

=== A sub-section ===

==== Another sub-subsection ====
새로운 줄:
  • 새로운 줄을 추가해도 효과가 없습니다.

This is a line. This is still part of the same paragraph.

  • 빈 줄은 새로운 문단을 시작하거나 목록이나 들여쓰기 부분을 끝냅니다. <p> 태그는 <p> 또는 섹션의 끝까지 문단을 비활성화할 수 있습니다.

This is a paragraph.

This is a continuation of the paragraph. But it appears after an empty line due to the <p> and </p> tags.

This is a line.

This is another line appearing as a second new paragraph instead of a third paragraph due to the <div> and </div> tags.

  • 목록에서 줄바꿈은 개별 항목과 하위 항목을 구분하기 위해 사용되어 미디어위키 구문에서 목록 컨텐츠의 시각적 구조와 가독성을 향상시킵니다. 예를 보려면 Help:Lists 를 참조하십시오.
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 &lt;p> and &lt;/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 &lt;div> and &lt;/div> tags.</div>

Lines can be broken
without beginning another paragraph.

  • 이것을 너무 많이 사용하지 마십시오.
  • 링크 , 기울임꼴 또는 굵은 글씨를 한 줄에서 시작해고 다음 줄에서 끝내지 마십시오; 대신, 각 줄에 마크업을 닫으십시오.
Lines can be broken <br/> without beginning another paragraph.
순서 없는 목록
  • Start a line with asterisks (*) 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.

* 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.
번호-매김 목록
  1. Use a hashtag (#) at the beginning of each line to signify the order.
    1. Use two hashtags (##) for a sub-item.
    2. Continue numbering to maintain the sequence and logical flow of information.
  2. Add a new line between each item for improved readability.

A line starting without a hashtag marks the end of the list.

  1. An ordered list starts with 1.
  2. Then 2, etc.
# 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 (*).
    1. To create a subitem of an ordered list under an unordered list use an asterisk and a hashtag (*#).
      • To create a deeper sub-item of an unordered list within an ordered list, add another asterisk (*#*).
      • You can also break
        lines in a list.
* 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

콜론 (:) 앞에 새 줄을 추가하는 것보다, 한 줄에 한 항목씩 표시하는 것이 가장 적합합니다.

; 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.

: An indented line.
A new line starts a new non-indented paragraph.
블록인용

블록인용 스타일은 외부 원본에서 특정 텍스트 섹션을 강조 표시하거나 주변 컨텐츠와 구별하기 위해 사용됩니다.

This is a blockquote. It is used to highlight quoted text or separate specific content.

<blockquote>
This is a blockquote. It is used to highlight quoted text or separate specific content.
</blockquote>
수평 구분선

위키 페이지에서 수평 구분선은 4개 이상의 연속된 하이픈 (----)으로 표시되며, 이를 통해 섹션 사이의 시각적 구성을 향상시킵니다.

Text above


Text below

Text above
----
Text below


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

''[[MediaWiki]]''
인터링크 링크

이들은 관련된 주제 또는 비슷한 주제를 다루는 또 다른 위키로 연결됩니다.

This interwiki link points to w:Documentation on Wikipedia.

Its Esperanto word equivalent is eo:Dokumentaro.

This interwiki link points to [[w:Documentation]] on Wikipedia.

Its Esperanto word equivalent is [[:eo:Dokumentaro]].
섹션으로의 링크

페이지 이름을 지정한 후 파운드 (#)와 섹션 제목을 추가하여 기존 페이지의 특정 섹션에 링크할 수 있습니다.

Help:Special pages#Editing Special namespace pages

그러한 섹션이 없으면 링크는 페이지의 시작 부분을 가리킵니다. 페이지에 같은 이름을 갖는 섹션이 여러 개 있으면, 끝에 숫자로 섹션의 순위를 지정합니다. (예를 들어, "$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|]].

존재하지 않는 페이지로의 링크

A link to a page which does not exist (like this one) is colored in red.

페이지를 만들기 위해, 링크를 클릭할 수 있습니다. 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

이들 기능은 더 이상 사용되지 않고 일반적으로 사용해서는 안 됩니다.

* ISBN 0131103629
* RFC 234
Media: 링크

미디어 링크는 미디어 파일을 포함하는 페이지를 참조하기 위해 사용됩니다. 그것들은 Media 이름공간을 통해 접근됩니다.

Audio

[[media:Test.ogg|Audio]]
카테고리 링크

카테고리 링크는 사용자를 특정 카테고리 페이지로 안내합니다 (페이지를 해당 카테고리로 분류 없이).

이를 구현하기 위해, 링크와 비슷한 구문을 사용하지만, 이름공간 앞에 콜론 (:)을 추가합니다.

Category:Documentation

[[:Category:Documentation]]
특수 페이지

특수 페이지는 위키 소프트웨어에 의해 생성됩니다. 그것들은 Special 이름공간을 통해 접근됩니다.

다음 형식을 사용하여 "What links here"과 같은 특수 페이지에 대한 링크를 만들 수 있습니다:

Special:Whatlinkshere/Help:Editing

다른 특수 페이지에 대해 Help:Special pages 를 참조하십시오.

[[Special:Whatlinkshere/Help:Editing]]
페이지의 이전 개정판, 차이점 (diffs) 및 특정 역사 페이지로의 링크

이전 개정판, diff 또는 특정 역사 페이지로 링크하기 위해, [[page]]와 같은 표준 위키 링크 구문을 사용하지 마십시오. 대신, 외부 링크 기능을 활용하거나 제공된 URL을 직접 복사하여 붙여넣으십시오.

페이지의 이전 개정판으로의 링크하기 – 위키의 이전 페이지 버전을 공유하기 위해, 해당 페이지의 역사에서 URL을 복사하여 공유하려는 곳에 붙여넣으십시오.

https://www.mediawiki.org/w/index.php?title=Help:Cite&oldid=6364084

Special:PermaLink를 사용하여 이 작업을 수행할 수도 있습니다. 즉, Special:PermaLink/6364084

차이점으로의 링크하기: – 두 개정판의 차이점을 페이지별로 링크하기 위해, 비교하는 페이지의 차이점이 포함된 페이지의 특정 URL을 복사하여 붙여넣으십시오.

https://www.mediawiki.org/w/index.php?title=Help%3ACite&diff=6364333&oldid=6364084

ㅍ를 사용하여 이 작업을 수행할 수도 있습니다. 즉, Special:Diff/6364333/6364084

편집 역사로부터 특정 페이지로의 링크하기 – 편집 역사로 이동하여 "(older)" 또는 "(earliest)" 버튼을 선택하여 특정 페이지 역사로 이동하고, 그런-다음 URL을 복사하여 공유하려는 곳에 붙여넣으십시오.

https://www.mediawiki.org/w/index.php?title=Help:Cite&action=history&offset=20170210105218%7C2391706&limit=100

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: &rarr;
</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: &rarr;
</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: &rarr;

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

보다 자세한 지침에 대해, 다음을 참조하십시오:

파일을 업로드한 후 파일 이름을 입력하고 강조 표시한 다음 편집 도구 모음에서 "embedded image" 버튼을 클릭합니다. 그러면 임베딩 구문이 생성됩니다:

[[Image:filename.png]]

Rendering Wikitext

An image with alternate text: This is Wiki's logo Image with frame and caption:

This is Wiki's logo
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
}}
Text in a bordered box
|<center><span style="border:5px double black">'''Text in a bordered box'''</span></center>
|
This is
a table
{| 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> 태그를 사용하여 갤러리로 구성될 수 있습니다, 예를 들어:

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}}

See also