Template:Iwpage/doc

Usage
Interwiki transclusions


 * Template:Iwpage
 * Template:Iwpages
 * Template:IwpageSection
 * Template:Iwtrans

Style is defined at mul:MediaWiki:InterWikiTransclusion.js‎

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

Code:

E.g. br:Page:Barzaz Breiz, huitième édition.djvu/13 has

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

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

Code:

(section_from and section_too are optional.)

And this will do the following at the end Wikisource: 

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

Code:

For example:

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

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