Hi all,
I was wondering how to transclude pages that are not in sequential order into mainspace. For example, I have a book that a chapter starts from page 4 to 8, and then the contents continue again from page 20 to 25.
Usually, we can use the following code: <pages index="My example book.djvu" from="4" to="8" /> to transclude.
But in this case, it seems that we cannot repeat the code twice as shown below in the same page: <pages index="My example book.djvu" from="4" to="8" /> <pages index="My example book.djvu" from="20" to="25" />
Is there a way to solve this matter?
Thank you, Rachmat
2016-05-10 16:44 GMT+02:00 Rachmat W. rachmatwahidi.site@gmail.com:
Hi all,
I was wondering how to transclude pages that are not in sequential order into mainspace. For example, I have a book that a chapter starts from page 4 to 8, and then the contents continue again from page 20 to 25.
Usually, we can use the following code:
<pages index="My example book.djvu" from="4" to="8" /> to transclude.
But in this case, it seems that we cannot repeat the code twice as shown below in the same page:
<pages index="My example book.djvu" from="4" to="8" /> <pages index="My example book.djvu" from="20" to="25" />
Is there a way to solve this matter?
Hi,
I think this should work : <pages index="My example book.djvu" from="4" to="25" exclude="9-19" />
Cdlt, ~nicolas
On Tue, 10 May 2016 at 21:44 +0700, Rachmat W. wrote:
Hi all,
I was wondering how to transclude pages that are not in sequential order into mainspace. For example, I have a book that a chapter starts from page 4 to 8, and then the contents continue again from page 20 to 25.
Usually, we can use the following code:
<pages index="My example book.djvu" from="4" to="8" /> to transclude.
But in this case, it seems that we cannot repeat the code twice as shown below in the same page:
<pages index="My example book.djvu" from="4" to="8" /> <pages index="My example book.djvu" from="20" to="25" />
<pages index="My example book.djvu" include"4-8,20-25" />
you can add any number of comma separated range you need.
wikisource-l@lists.wikimedia.org