Template:Cite wikisource/testcases

Examples

 * Just a title:
 * Production template:
 * Sandbox template:
 * Sandbox template:


 * Year and title:
 * Production template:
 * Sandbox template:
 * Sandbox template:


 * Basic usage:
 * Production template:
 * Sandbox template:
 * Sandbox template:


 * Citing a chapter in a book with different authors for different chapters and an editor
 * Production template:
 * Sandbox template:
 * with yes; cs1|2 doesn't like multiple wikilinks in parameter values:
 * Sandbox template:
 * Sandbox template:
 * Sandbox template:


 * positional parameters:
 * production template:
 * sandbox template:
 * sandbox template:

in-source location tests

 * page – used when page display is not linked:


 * wspage – required when page display is to be linked:


 * pages with wspages – both required when pages display (xxix–xxx) is different from the in-source anchor (xxix):


 * at – used when in-source location is not a page number and display is not linked (page number used here for convenience):


 * at with wsat – both required when at display (xxix–xxx) is different from the in-source anchor (xxix) (pagination used here for convenience) – wsat not supported by the current live template:

no icon

 * noicon=yes

magazine
sandbox uses title instead of chapter; magazine instead of plaintitle:

newspaper
sandbox uses title instead of chapter; newspaper instead of plaintitle:

plainchapter
With chapter set: Without chapter set:
 * Current template:
 * Sandbox template:
 * Current template:
 * Sandbox template: