Template:Wikisource-inline: Difference between revisions
m Changed protection settings for "Template:Wikisource-inline": Highly visible template: t-protect upgrade by request ([Edit=Require template editor access] (indefinite) [Move=Require administrator access] (indefinite)) |
m 1 revision imported from wikipedia:en:Template:Wikisource-inline |
(No difference)
|
Latest revision as of 02:06, 16 August 2025
Works related to Wikisource-inline at Wikisource
![]() | This template is used on approximately 6,300 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Usage
<syntaxhighlight lang="wikitext">
Works related to Wikisource work at Wikisource
</syntaxhighlight>
This template creates an inline link to Wikisource in list format.
Examples
Normal
<syntaxhighlight lang="wikitext"> Works related to Work at Wikisource</syntaxhighlight>
Works related to Work at Wikisource
Text override
<syntaxhighlight lang="wikitext"> Works related to Puffle at Wikisource</syntaxhighlight>
Works related to Puffle at Wikisource
Link to a single text
<syntaxhighlight lang="wikitext"> The full text of Work at Wikisource</syntaxhighlight>
The full text of Work at Wikisource
Full link override
<syntaxhighlight lang="wikitext"> Works related to [[s:EB1911|]] and [[s:The New Student's Reference Work|]] at Wikisource</syntaxhighlight>
Works related to EB1911 and The New Student's Reference Work at Wikisource
List format
<syntaxhighlight lang="wikitext">* Texts on Wikisource:
See also
{{Commons-inline}}
{{Commons category-inline}}
{{Wikinews-inline}}
{{Wikiquote-inline}}
{{Wikispecies-inline}}
{{Wiktionary-inline}}
{{Wikiversity-inline}}
{{Ws}}
{{wikisource}}
- to create the sidebox{{cite wikisource}}
{{Wikisource redirect}}
Help:Interwiki linking provides easy ways to link to another project entry to permit you to formulate your citation however you choose:
As in
- Hopkins, Samuel. (July 31, 1790) United States of America. United States patent X1.
- Tennyson, Alfred. (1842) The Keepsake. Come not, when I am dead.
TemplateData
TemplateData for Wikisource-inline
<templatedata> { "params": { "1": { "label": "Wikisource pagename", "description": "The page name as on Wikisource. Pulls from Wikidata if possible.", "type": "string", "suggested": true }, "2": { "label": "Displayed text", "description": "The text to display inline for this link. Defaults to current page name.", "type": "string", "suggested": true }, "single": { "label": "Single work?", "description": "Whether to change the text to indicate \"The full text\" instead of \"Works\".", "example": "true", "type": "boolean", "autovalue": "true" }, "list": { "label": "List", "description": "List of links to put below as a list instead of inline.", "type": "string" }, "links": { "label": "Links", "description": "Multiple links to list inline. Changes the text after \"Works related to\". Use s:link.", "type": "string" }, "extratext": { "label": "Extra text", "type": "string" } }, "description": "This template creates an inline link to Wikisource in list format." } </templatedata>