Jump to content

Template:Wikisource-inline/doc

From MediaWiki3D
Revision as of 00:22, 29 April 2025 by wikipedia:en>Chew (add templatedata)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

<syntaxhighlight lang="wikitext"> The full text of Work at Wikisource</syntaxhighlight> The full text of Work at Wikisource

<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

Help:Interwiki linking provides easy ways to link to another project entry to permit you to formulate your citation however you choose:

Project Long form Shortcut Pagename template Inline template
Wikipedia wikipedia: [[w:]] {{Wikipedia|Pagename}}
Wiktionary [[wiktionary:]] [[wikt:]] {{Wiktionary|Pagename}} {{Wiktionary-inline|Pagename}}
Wikinews [[wikinews:]] [[n:]] {{Wikinews|Pagename}} {{Wikinews-inline|Pagename}}
Wikibooks [[wikibooks:]] [[b:]] {{Wikibooks|Pagename}} {{Wikibooks-inline|Pagename}}
Wikiquote [[wikiquote:]] [[q:]] {{Wikiquote|Pagename}} {{Wikiquote-inline|Pagename}}
Wikisource [[wikisource:]] [[s:]] {{Wikisource|Pagename}} {{Wikisource-inline|Pagename}}
Wikisource (common repository) [[oldwikisource:]] {{WikisourceWiki|Pagename}}
Wikispecies [[species:]]
[[wikispecies:]]
{{Wikispecies|Pagename}} {{Wikispecies-inline|Pagename}}
Wikiversity [[wikiversity:]] [[v:]] {{Wikiversity|pagename}} {{Wikiversity-inline|Pagename}}
Wikimedia Foundation [[wikimedia:]]
[[foundation:]]
[[wmf:]]
Wikimedia Commons [[commons:]] {{Commons|Pagename}} {{Commons-inline|Pagename}}
Wikimedia Meta-Wiki [[meta:]]
[[metawikipedia:]]
[[m:]] {{Meta|Pagename}}
Strategic planning [[strategy:]]
Wikimedia Incubator [[incubator:]] {{Incubator|Pagename}}
MediaWiki [[mediawikiwiki:]] [[mw:]] {{MediaWiki|Pagename}}
MediaWiki Quality [[quality:]]
Phabricator
(formerly Bugzilla and MediaZilla)
[[phabricator:]]
[[bugzilla:]]
[[mediazilla:]]
[[phab:]] {{Phab|Task}}
Nostalgia [[nost:]]
Test Wikipedia [[testwiki:]]

As in

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Wikisource-inline in articles based on its 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>