This is the template sandbox page for Template:Wikisource-multi (diff). See also the companion subpage for test cases. |
The output of this template should be similar to Template:Wikisource, but allows for many links in the same box.
The Wikisource entries are passed as unnamed parameters from 1 to 10.
Parameters t1 to t10 pass text to change the text displayed for the 1st to 10th unnamed link.
The parameter "object" replaces the word "article" in the template above.
The parameter "caption" replaces the entire top text if desired (this supersedes "object").
The parameter "leading" changes the distance between lines. The suffix "px" (pixels) is required. 4px is the default.
The parameter "firstleading" changes this distance only between the top (caption) text and the first link. 4px is the default.
The parameters for Template:Side box are also passed:
Wiki markup | Output |
---|---|
{{Wikisource-multi|Item One|Item Two}} | |
{{Wikisource-multi|Item One|Item Two|Item Three#subsection|t3=Item Three|Item Four}} | |
{{Wikisource-multi|object=section|leading=2px|Document/Book 1|t1=Item One|Document/Book 2|t2=Item Two|Document/Book 3|t3=Item Three}} | |
{{Wikisource-multi|The Descent of Man and Selection in Relation to Sex|Document/Book 2|t2=Item Two|The Zoology of the Voyage of H.M.S. Beagle|leading=5px|firstleading=2px|caption=See also [[Wikisource]]:|below=<div align="center">[[s:Author:Charles Darwin|Part of a series of works by Darwin]]|imageright=[[Image:Hw-darwin.jpg|29px|link=s:Author:Charles Darwin]]</div> |