Jump to content
Wikipedia The Free Encyclopedia

Template:Wikisource author

From Wikipedia, the free encyclopedia
This template is currently being deleted.
This template is being removed from the pages on which it is currently used, after which it will be deleted. Please check Wikipedia:Templates for discussion/Holding cell for any additional instructions. Please do not use it on any additional pages, but do not remove it from pages if it is under deletion review. The decision to delete this template was made following this discussion initiated on 5 July 2023 at Templates for discussion.
Administrators : Please review this template's instructions at Wikipedia:Templates for discussion/Holding cell before proceeding with any action.

%5B%5BWP%3ACSD%23G6%7CG6%5D%5D%3A+%5B%5BWikipedia%3ATemplates+for+discussion%2FLog%2F2023+July+5%23Template%3AWikisource+author%5D%5D{{{CRITERION}}}

Wikisource has original works by or about:
Template:Wikisource author
Template documentation[view] [edit] [history] [purge]
Warning This template is used on approximately 5,400 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.
This template uses Lua:

This template when used on an author's page will utilise interwiki links stored at Wikidata to create the link and the label to the author page at English Wikisource. A different language can be chosen by using the |lang= parameter and the corresponding language code.

Usage

Wikitext Output Notes
At William Shakespeare
{{wikisource author}}
Wikisource has original works by or about:
William Shakespeare
Placement of the template is usually after the "External links" section header prior to any inline list.
Warning: Do not put an asterisk "*" at the start of the line or it will cause the box and text to be distorted.

To note that parameters can still be utilised to override the presentation, though this would not be the preferred means as when a page is moved here or at Wikisource the link would be broken. An example of such usage would be adding an author link on an article that is a list of works of the author.

Wikitext Output
At Alice Bertha Gomme
{{wikisource author|wslink=Alice Bertha Gomme|title=Alice Gomme}}
Wikisource has original works by or about:
Alice Gomme

"works by or about"

The default template text says "Wikisource has original works by or about [author]". This can be changed to "works by [author]", "works about [author]", or "works by and about [author]", by setting the |works= parameter.

Wikitext Output
At Joseph Hardman
{{wikisource author|works=by}}
Wikisource has original works by:
Joseph Hardman
At Henry VII
{{wikisource author|works=about}}
Wikisource has original works about:
Henry VII
At William Shakespeare
{{wikisource author|works=both}}
Wikisource has original works by and about:
William Shakespeare

See also

Maintenance

Templates applied to articles without Wikidata items will be listed in Category:Wikisource templates with missing id.

The above documentation is transcluded from Template:Wikisource author/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Add categories to the /doc subpage. Subpages of this template.

AltStyle によって変換されたページ (->オリジナル) /