메뉴 여닫기
개인 메뉴 토글
로그인하지 않음
만약 지금 편집한다면 당신의 IP 주소가 공개될 수 있습니다.

미디어위키 기본 사용법: 두 판 사이의 차이

데브카페
편집 요약 없음
282번째 줄: 282번째 줄:
MediaWiki:Sidebar
MediaWiki:Sidebar
</source>
</source>
[[category:미디어위키]]

2025년 5월 20일 (화) 06:34 판

미디어위키 사용법

미디어 위키 문법

1. 제목(섹션):

== 제목 == (레벨에 따라 = 개수 조정)
=== 소제목 ===
==== 소제목 ====
===== 소제목 =====

Level 2

Level 3

Level 4

Level 5
Level 6

2. 목록:

2.1 순서 번호 목록:

#
 # 첫번째 
 # 두번째 
 # 세번째
 ## 세번째.1
 ## 세번째.2
 ### 세번째.2.1
 #### 세번째.2.1.1
 #####  세번째.2.1.1.1
 ###### 세번째.2.1.1.1.1
 ####### 세번째.2.1.1.1.1.1
  1. 첫번째
  2. 두번째
  3. 세번째
    1. 세번째.1
    2. 세번째.2
      1. 세번째.2.1
        1. 세번째.2.1.1
          1. 세번째.2.1.1.1
            1. 세번째.2.1.1.1.1
              1. 세번째.2.1.1.1.1.1

2.2 순서 없는 목록:

 * 하나 
 ** 둘
 *** 셋
 **** 넷 
 ***** 다섯
 ****** 여섯
 ******* 일곱
 ******** 여덟
  • 하나
          • 다섯
            • 여섯
              • 일곱
                • 여덟
  1. 들여쓰기:
    :
:한칸 들여쓰기
::두칸 들여쓰기
::::두칸 들여쓰기
Single indent
Double indent
Multiple indent


  1. 선언하기:
    ;
item 1
definition 1
item 2
definition 2-1
definition 2-2
  1. 링크:
    1. 내부링크
      [[문서이름]]
    2. 내부링크
      [[문서이름|다른이름으로변경]]
    3. 외부 링크
      [https://example.com 외부링크]
  1. 이미지 삽입:
    [[파일:이미지이름.png]]

글씨체

  • 이탤릭
    ''Italic''
    Italic
  • 진하게
    '''Bold'''
    Bold
  • 이탤랙 진하게
    '''''Bold-italic'''''
    Bold-italic

구분선

----

HTML 태그

<ins>Inserted</ins>

Inserted

<u>Underline</u>

Underline

<s>Strike-through</s>

Strike-through

<del>Deleted</del>

Deleted

<source>Source source

</source>

Source source
Text before
<blockquote>Blockquote</blockquote>
Text after

Text before

Blockquote

Text after

<q>This is a quotation</q>

This is a quotation

<pre style="color: red">
Text is '''preformatted''' 
with a style and 
''markups'' '''''cannot''''' be done
</pre>
Text is '''preformatted''' 
with a style and 
''markups'' '''''cannot''''' be done
<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.

새글 쓰기

  • 위키 글쓰기는 독특함 => 검색 하여 없으면 생성
  • 글제목을 검색창에 검색 후 검색결과가 없으면 ‘’‘생성’‘’ 문구를 클릭하여 생성

표(wiki table) 만들기

Oracle 시작 단계
단계 명령어
nomount Parameter file 까지만 읽어옴
mount Control file 까지만 읽어옴 , 아카로그 모드 변경 작업시 주로 사용
open (Redo log file, Data file 적용), DB open : alter database open 명령어
read only 읽기 상태로만 DB 열기
read write 읽기 / 쓰기 상태로 DB 열기
{| align="center" class="wikitable" style="margin:auto;border-style:solid;border-width:5px;border-color:block;"
|+ Oracle 시작 단계 
|-
! 단계 !! 명령어 
|-
| nomount || Parameter file 까지만 읽어옴
|-
| mount || Control file 까지만 읽어옴 , 아카로그 모드 변경 작업시 주로 사용
|-
| open || (Redo log file, Data file 적용), DB open : alter database open 명령어
|-
| read only || 읽기 상태로만 DB 열기 
|-
| read write || 읽기 / 쓰기 상태로 DB 열기
|}

양식(Form) 만들기

  • Form Extension 설치
  • Form Extension은 동일한 문서 양식을 미리 만들어두는 기능.
  • 최소한의 기본 양식/규칙을 지켜 글이 작성될 수 있도록, 또 는 편의성을 도모하도록 양식을 생성하는 확장 Page Forms

생성단계

  1. 미디어위키 검색에서 Special:CreateForm을 쳐서 폼 생성 페이지로 이동
  2. 3개의 입력란
    1. 양식 명칭, 틀 추가, 문단 추가로,
  3. 양식 명칭은 이름을 입력하는 곳

틀(Template) 만들기

분류(Category) 만들기

틀(Template)

  • 머리말,알림 이나 주의사항 등의 틀을 만들고 여러문서에서 불러서 사용할수 있는기능
{틀:알림
|제목 : 알리미
|내용 : # 내용은 bla bla 
}
  • 틀(Template)과 양식(Form)의 차이점
    • Form은 양식 그 자체로 문서를 만들어주는 기능
    • 틀(Template)은 문서 내에 자주사용되는 구문 이나 형식 등을 삽입할 수 있도록 해주는 기능

목차(TOC)

  • Table Of Contents
  1. 목차는 기본적으로 틀이 없어도 4개의 문단을 가진 경우 자동 생성
  2. 4개 미만일 경우에는 __FORCEDOC__ 입력하여 목차 위치를 지정해 강제 생성 가능

문단(Section)

  • 장점 : 문단으로 구분지어 편집이 편리
  • 1~4 Level의 Depth를 ‘=’ 갯수로 설정 가능

예시 :

= dev cafe란? =
1. dev cafe란?

== dev cafe 이용법 ==
1.1 dev cafe 이용법

=== dev cafe 이용법을 이용한 이용법 ===
1.1.1 dev cafe 이용법을 이용한 이용법

==== dev cafe .... ====
1.1.1.1  dev cafe ....

대문 수정하기

  • 대문 탭 바꾸기
MediaWiki:Mainpage-nstab
  • 대문 문구 바꾸기
MediaWiki:Mainpage
  • 대문 문구 숨기기
MediaWiki:Common.css
body.page-대문 h1.firstHeading { display: none; }
  • 사이드탭 항목 바꾸기
MediaWiki:Sidebar

Comments