টেমপ্লেট:Iwpages
This documentation has been extracted from respective templates on oldwikisource: as of 14:08, 15 October 2010 (UTC) and may need to be updated. |
Usage
[সম্পাদনা]Interwiki transclusions
Style is defined at oldwikisource: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/>
{{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:
{{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):
- The first is the ISO code of the language ("es" for Spanish, "fr" for French, etc.).
- The second one, is the title of the outer Wikisource.
- num: page number that will appear.
- position: indentation in "em" units. By default, 1em.
Usage
[সম্পাদনা]It allows the transclusion from other Wikisource domain (or another Wikimedia site); useful for multilingual books. Parameters (used at "iw_trans" function at MediaWiki:InterWikiTransclusion.js):
- The first is the ISO code of the language ("es" for Spanish, "fr" for French, etc.). For this multilingual Wikisource, it will be "old".
- The second is the title of the page on the other Wikisource.
- The third (optional) is the name of the other Wikimedia site (wikipedia, wiktionary, wikinews, wikibooks, wikiquote). Default is "wikisource".
Examples:
- {{Iwtrans|la|Pyramus et Thisbe}} shows the content of la:Pyramus et Thisbe.
- {{Iwtrans|it|Ted Nelson|wikipedia}} shows the content of wikipedia:it:Ted Nelson.
- For Commons, Wikispecies and Meta use like this: {{Iwtrans|species|Homo sapiens}} and it shows species:Homo sapiens
উপরোক্ত নথিটি টেমপ্লেট:Iwpage/doc থেকে প্রতিলিপ্ত। (সম্পাদনা | ইতিহাস) ব্যবহারকারীগণ খেলাঘর (তৈরি করুন | আয়না) এবং পরীক্ষা পাতায় (তৈরি করুন) এই টেমপ্লেট সংক্রান্ত পরীক্ষা-নিরীক্ষা করতে পারেন। এই টেমপ্লেটের উপপাতাসমূহ। |