doc
This is the documentation page for Module:Edition
This page is under construction. This module or section is currently in the middle of an expansion or major revamping. More Information and Options However, you are welcome to assist in its construction by editing it as well. Please consult the edit history should you wish to contact the person who placed this template. If this article has not been edited in several days, please remove the under construction notice. While actively editing, consider adding {{inuse}} to reduce edit conflicts. |
The Edition module is responsible for retrieving and displaying various bits of data about editions on Wikisource.
For all of the methods below, the wikidata
parameter can be left out and the item ID of the page on which it is invoked will be used.
Method: author_list
Get a list of authors. These will be linked to their author pages where they exist.
Used by {{author-list}}.
Wikitext | Output |
---|---|
{{#invoke:Edition|author_list|wikidata=Q28913867}} | Lua error in Module:Edition at line 270: attempt to index field 'wikibase' (a nil value). |
Method: badge
Display Wikidata badges for an edition.
Edition | Wikitext | Output |
---|---|---|
A Camp in the Adirondacks | {{#invoke:Edition|badge|wikidata=Q16325556}} | Lua error in Module:Edition at line 270: attempt to index field 'wikibase' (a nil value). |
The Great Secret | {{#invoke:Edition|badge|wikidata=Q75047127}} | Lua error in Module:Edition at line 270: attempt to index field 'wikibase' (a nil value). |
The Open Window | {{#invoke:Edition|badge|wikidata=Q59364480}} | Lua error in Module:Edition at line 270: attempt to index field 'wikibase' (a nil value). |
Douglas Adams (no badge) | {{#invoke:Edition|badge|wikidata=Q42}} | Lua error in Module:Edition at line 270: attempt to index field 'wikibase' (a nil value). |
Method: inline
The 'inline summary' of an edition can be used on an author's page, for example, to show the basic details about the edition and work.
Wikitext | Output |
---|---|
{{#invoke:Edition|inline|wikidata_id=Q28913867}} | Lua error in Module:Edition at line 270: attempt to index field 'wikibase' (a nil value). |
Method: authority_control
For editions, you can list all available authority controlled identifiers with:
Wikitext | Output |
---|---|
{{#invoke:Edition|authority_control|wikidata=Q28020002}} | Lua error in Module:Edition at line 270: attempt to index field 'wikibase' (a nil value). |
And if you want to list all for the parent work of the edition, use:
Wikitext | Output |
---|---|
{{#invoke:Edition|authority_control|wikidata=Q28020002|show_work=yes}} | Lua error in Module:Edition at line 270: attempt to index field 'wikibase' (a nil value). |
See also
- {{edition}}
- {{author}}
- {{author-list}}
- {{work}}
- Module:Authority control