Template:Wikisource-multi
The output of this template should be similar to Template:Wikisource, but allows for many links in the same box.
Required parameter(s)
The Wikisource entries are passed as unnamed parameters from 1 to 10.
Optional parameters
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.
Very optional parameters
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:
- "position" - if set to "left" then the <table> tag used to create the box contains class="metadata plainlinks mbox-small-left"; otherwise "-left" is omitted.
- "image" feeds a replacement image for the standard Wikisource image (Size, caption, links, etc. all must be specified).
- "imageright" adds an extra cell (presumably an image you specify) right of the text links.
- "below" adds extra text or an image below the links.
- "style" provides HTML attributes to the style declaration for the table (i.e. the box) created by Side Box.
- "textstyle" provides a similar style, but only to the text in the text fields and parameter "below".
Examples
| 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]]</div> |imageright=[[Image:Hw-darwin.jpg |29px |link=s:Author:Charles Darwin]]}} |
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.