본문으로 이동

:Iwtrans

위키문헌, 우리 모두의 도서관.
틀 설명문서[보기] [편집] [역사] [새로 고침]

이 틀은 다른 언어판의 위키문헌에 존재하는 문서의 내용을 한국어 위키문헌으로 불러옵니다. 소도구의 "인터위키 끼워넣기"에서 기능을 해제할 수 있으며, 코드는 mul:MediaWiki:InterWikiTransclusion.js를 사용합니다.

사용법

[편집]

이 틀은 다른 언어판에 존재하는 페이지 이름공간 문서를 다른 페이지 이름공간 문서로 불러옵니다.

{{iwpage|언어 코드}}

예를 들어 페이지:대한매일신보 19040804.pdf/3 문서의 본문은 {{iwpage|en}}로 지정되어 있으며, 영어판의 Page:대한매일신보 19040804.pdf/3 문서의 내용을 대신 표시합니다.

이 틀은 다른 언어판에 존재하는 여러 페이지 문서를 불러옵니다.

{{iwpages|언어 코드|색인 문서 제목|페이지_시작|페이지_끝|단락_시작|단락_끝}}

("단락_시작"과 "단락_끝" 부분은 선택입니다.)

위와 같이 입력하면 아래와 같은 효과를 만들어냅니다.

<pages index="색인 문서 제목" from=페이지_시작 to=페이지_끝 fromsection=단락_시작 tosection=단락_끝/>

예시

{{iwpages|el|On two Greek inscriptions, from Kamiros and Ialysos, in Rhodes, respectively (1878).djvu|4|4|Greek|Greek}}

이 틀은 다른 언어판에 있는 페이지의 한 단락을 불러옵니다.

{{IwpageSection|언어 코드|다른 언어판의 페이지 문서 제목|단락 이름}}

예시

{{IwpageSection|ca|Cansons de la terra (1866).djvu/92|oc}}

위 예시는 카탈루냐어(ca) 위키문헌의 "Cansons de la terra (1866).djvu/92" 페이지 문서에서 "oc"로 이름이 지정된 단락을 가져옵니다.

This template allows the transclusion of a page (in any namespace) from another Wikisource domain; useful for multilingual books. Parameters (used at "iw_trans" function at oldwikisource:MediaWiki:InterWikiTransclusion.js):

  1. The first is the ISO code of the language ("es" for Spanish, "fr" for French, etc.).
  2. The second one, is the title of the outer Wikisource. The namespace prefix must be included.
  3. num: page number that will appear.
  4. position: indentation in "em" units. By default, 1em.