본문으로 이동

:Iwpage

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

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

사용법

[편집]

This template is used for transcluding a page ("Page" namespace) from another Wikisource domain into another page ("Page" namespace):

Code:

{{iwpage|language code}}

E.g. br:Page:Barzaz Breiz, huitième édition.djvu/13 has {{iwpage|fr}}

"iwpage" class is defined at oldwikisource:MediaWiki:InterWikiTransclusion.js‎.

This template is used for transcluding various pages (from "Page" namespace) from another Wikisource domain:

Code:

{{iwpages|language code|Title of the Index page|page_from|page_to|section_from|section_to}}

(section_from and section_too are optional.)

And this will do the following at the end Wikisource:

<pages index="Title of the Index page" from=page_from to=page_to fromsection=section_from tosection=section_to/>

예제

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

This template is used for transcluding a section from one page (from "Page" namespace) from another Wikisource domain into another page ("Page" namespace):

Code: {{IwpageSection|language code|Title of the page from the outer Wikisource|section name}}


For example:

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

will bring from ca (Catalan) Wikisource, the section named "oc" from the page named "Cansons de la terra (1866).djvu/92":

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.