Template:Wikisource/testcases
This is the template test cases page for the sandbox of Template:Wikisource. to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki; see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins and parsers with these links: |
First parameter
[edit]Main
[edit]{{Wikisource|1=Hello}}
produces
Sandbox
[edit]{{Wikisource/sandbox|1=Hello}}
produces
Second parameter
[edit]Main
[edit]{{Wikisource|1=Hello|2=Hi}}
produces
Sandbox
[edit]{{Wikisource/sandbox|1=Hello|2=Hi}}
produces
Language parameter
[edit]Language of wikisource in which text as available. It is for merging {{Wikisourcelang}} here as per previous discussion for merging.
{{Wikisource/sandbox|1=Hello|lang=fr}}
produces
Type parameter
[edit]Type of wikisource text(eg. translation). It is for merging {{Wikisourcehas}} here as per previous discussion for merging.
{{Wikisource/sandbox|1=Hello|type=greeting}}
produces
For multiple sources in wikisource
[edit]It is for merging {{Wikisource-multi}} here as per previous discussion for merging.
{{Wikisource/sandbox|1=Hello|s2=Namaste}}
produces
For different text rendering
[edit]{{Wikisource/sandbox|1=Hello|s2=Namaste|t2=Namaskar}}
produces
Limit
[edit]Can support upto 11 sources(including first parameter)
- s2 means source 2nd
- t2 means text 2nd