!! hooks pages !! endhooks !!article MediaWiki:Proofreadpage pagenum template !!text [[{{{page}}}|{{{num}}}]] !!endarticle !!article MediaWiki:Proofreadpage header template !!text {{{title}}} -- {{{author}}} {{{from}}} -- {{{to}}} {{{prev}}} -- {{{next}}} !!endarticle !!article Index:Test !!text {{ |Title=Title |Pages=[[Page:Test 1.jpg|TOC]] [[Page:Test 2.tiff|1]] [[Page:Test 3.png|2]] |Author=[[Author:Me]] |TOC=* [[Test/Chapter 1]] * [[Test/Chapter 2|Chapter 2]] * [[Test/Chapter 3|Chapter 3]] }} !!endarticle !!article Index:LoremIpsum.djvu !!text {{ |Title=Lorem Ipsum |Pages= |Author=[[Author:Me]] |TOC=* [[Test/Chapter 1]] * [[Test/Chapter 2|Chapter 2]] * [[Test/Chapter 3|Chapter 3]] }} !!endarticle !!article Page:Test 1.jpg !!text Test 1 !!endarticle !!article Page:Test 2.tiff !!text Test 2 !!endarticle !!article Page:Test 3.png !!text Test 3 !!endarticle !!article Page:LoremIpsum.djvu/1 !!text Page 1 !!endarticle !!article Page:LoremIpsum.djvu/2 !!text Page 2 !!endarticle !!article Page:LoremIpsum.djvu/3 !!text Page 3 !!endarticle !!article Page:LoremIpsum.djvu/4 !!text Page 4 !!endarticle !!article Author:Me !!text !!endarticle !!article Test/Chapter 1 !!text !!endarticle !!article Test/Chapter 2 !!text !!endarticle !!article Test/Chapter 3 !!text !!endarticle !! test pages: without index !! wikitext !! html

Error: Index expected

!! end !! test pages: with non existing index !! wikitext !! html

Error: No such index

!! end !! test pages: without file: Simple transclusion !! wikitext !! html

TOCTest 1 1Test 2 2

Test 3

!! end !! test pages: without file: Simple transclusion without from !! wikitext !! html

TOCTest 1 1Test 2

!! end !! test pages: without file: Simple transclusion without to !! wikitext !! html

1Test 2 2

Test 3

!! end !! test pages: without file: Header !! options title="Test/Chapter 2" !! wikitext !! html

Title -- Author:Me TOC -- 1 Test/Chapter 1 -- Chapter 3TOCTest 1 1Test 2

!! end !! test pages: without file: TOC !! options title=Test !! wikitext !! html

Title -- Author:Me {{{from}}} -- {{{to}}} Chapter 3 -- {{{next}}}

!! end !! test pages: recursion !! wikitext !! html

Title -- Author:Me {{{from}}} -- {{{to}}} Chapter 3 -- {{{next}}}

!! end !! test pages: with file: Simple transclusion !! options djvu !! wikitext !! html !! end !! test pages: with file: Simple transclusion without from !! options djvu !! wikitext !! html

iPage 1 II

Page 2

!! end !! test pages: with file: Invalid from !! options djvu !! wikitext !! html

Error: Invalid interval

!! end !! test pages: with file: Invalid to !! options djvu !! wikitext !! html

Error: Invalid interval

!! end !! test pages: with file: Simple transclusion without to !! options djvu !! wikitext !! html !! end !! test pages: with file: step !! options djvu !! wikitext !! html !! end !! test pages: with file: Invalid step !! options djvu !! wikitext !! html

Error: Numeric value expected

!! end !! test pages: with file: exclude !! options djvu !! wikitext !! html !! end !! test pages: with file: include !! options djvu !! wikitext !! html

iPage 1 II

Page 2 2Page 4

!! end !! test pages: with file: invalid include (1) !! options djvu !! wikitext !! html

Error: Invalid interval

!! end !! test pages: with file: invalid include (2) !! options djvu !! wikitext !! html

Error: Invalid interval

!! end !! test pages: with file: Header !! options djvu title="Test/Chapter 2" !! wikitext !! html

Lorem Ipsum -- Author:Me II -- 1 Test/Chapter 1 -- Chapter 3II

Page 2 1Page 3

!! end !! test pages: with file: TOC !! options djvu title=Test !! wikitext !! html

Lorem Ipsum -- Author:Me {{{from}}} -- {{{to}}} Chapter 3 -- {{{next}}}

!! end !! hooks pages section !! endhooks !!article Index:TestSection !!text {{ |Pages=[[Page:TestSection 1|TOC]] [[Page:TestSection 2|1]] [[Page:TestSection 3|2]] }} !!endarticle !!article Page:TestSection 1 !!text Test 10
Test 11
Test 12 !!endarticle !!article Page:TestSection 2 !!text Test 20
Test 21
Test 22 !!endarticle !!article Page:TestSection 3 !!text Test 30
Test 31
Test 32 !!endarticle !! test pages: fromsection !! wikitext !! html

TOC Test 11

Test 12 1Test 20

Test 21

Test 22 2Test 30

Test 31

Test 32

!! end !! test pages: tosection !! wikitext !! html

1Test 20

Test 21

Test 22 2Test 30

Test 31

!! end !! test pages: onlysection !! wikitext !! html

TOC Test 11 1 Test 21 2

!! end