:페이지 나누기/설명문서

위키문헌 ― 우리 모두의 도서관.

이 틀은 페이지 간의 내용이 연속적이지 않고 별도로 구분되어야 하는 경우 사용합니다.

사용법[편집]

  • 1: 표시할 쪽수.
  • 2: 선과 라벨의 위치를 조정합니다.
  • 값으로 상단 또는 top을 추가하면 선이 라벨 위쪽에 추가됩니다.
  • 좌측 또는 left를 추가하면 라벨이 왼쪽 여백 부분에 추가됩니다.
  • 아무 것도 입력하지 않거나 하단 또는 bottom을 추가하면 선이 라벨 아래쪽에 추가됩니다.
  • 라벨 / label: 쪽수 뒤쪽에 기본으로 추가되는 문구로, 기본 값은 ‘쪽’입니다. |라벨=과 같이 아무 값도 지정하지 않으면 아무 문구도 추가되지 않습니다. 왼쪽 여백에 라벨이 추가되는 경우 표시되지 않습니다.
  • 테두리너비 / border-width: 기본 값은 1px입니다.
  • 테두리모양 / border-style: 기본 값은 dashed입니다.
  • 테두리색상 / border-color: 기본 값은 #999999입니다.

예제[편집]

예제 1 - 라벨 없이 사용[편집]

위키텍스트[편집]

and so the moral of this story is, when you
{{페이지 나누기|라벨=}}
ain't got rhythm, you should get out of the kitchen.

결과[편집]

and so the moral of this story is, when you ain't got rhythm, you shouldn't be in the kitchen.

예제 2 - 라벨 상단[편집]

위키텍스트[편집]

and so the moral of this story is, when you
{{페이지 나누기|17}}
ain't got rhythm, you should get out of the kitchen.

결과[편집]

and so the moral of this story is, when you 17쪽 ain't got rhythm, you shouldn't be in the kitchen.

예제 3 - 라벨 하단[편집]

위키텍스트[편집]

and so the moral of this story is, when you
{{페이지 나누기|18|top}}
ain't got rhythm, you should get out of the kitchen.

결과[편집]

and so the moral of this story is, when you 18쪽 ain't got rhythm, you shouldn't be in the kitchen.

예제 4 - 왼쪽 라벨[편집]

왼쪽 여백 부분에 라벨을 띄우려면, CSS 속성으로 indented-page를 추가해야 합니다. 단, 페이지 이름공간의 문서를 일반 이름공간으로 끼워넣는 경우에는 이 속성을 사용하지 마시기 바랍니다. 여백이 자동으로 추가됩니다.

위키텍스트[편집]

<div class=indented-page>
and so the moral of this story is, when you
{{페이지 나누기|17|left}}
ain't got rhythm, you should get out of the kitchen.
</div>

결과[편집]

and so the moral of this story is, when you [ 17 ] ain't got rhythm, you should get out of the kitchen.