1,851 bytes added
, 18:41, 30 March 2022
{{Documentation subpage}}
{{high-use}}
<!-- PLEASE ADD TEMPLATE CATEGORIES AT THE BOTTOM OF THIS PAGE -->
{{Lua|Module:WikidataIB}}
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 [[s:|English Wikisource]]
== Usage ==
===Wikisource title link via Wikidata Sitelink===
{| class="wikitable"
|-
! Wikitext !! Output !! Notes
|-
|At [[William Shakespeare]]<pre>{{wikisource author}}</pre> || {{wikisource author|William Shakespeare}}
|Placement of the template is usually after the "External links" section header prior to any inline list.<br />'''Warning''': Do not put an [[asterisk]] '''"*"''' at the start of the line or it will cause the box and text to be distorted.
|}
===Wikisource title link via Parameter Argument===
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.
{| class="wikitable"
|-
! Wikitext !! Output
|-
|At [[Alice Bertha Gomme]] <pre>{{wikisource author|wslink=Alice Bertha Gomme|title=Alice Gomme}}</pre>
|{{wikisource author|wslink=Alice Bertha Gomme|title=Alice Gomme}}
|}
== See also ==
* {{tl|Wikisource author-inline}}
* [[d:Special:GoToLinkedPage/enwikisource]], e.g., [[d:Special:GoToLinkedPage/enwikisource/Q692]]
==Maintenance==
Templates applied to articles without Wikidata items will be listed in [[:Category:Wikisource templates with missing id]].
<includeonly>{{Sandbox other||
<!-- TEMPLATE CATEGORIES HERE, THANKS -->
[[Category:Wikisource link templates|Wikisource author]]
[[Category:Templates using data from Wikidata|Wikisource author]]
}}</includeonly>