Módulo:Edition/doc

Wikisource, a biblioteca livre

Esta é a página de documentação de Módulo:Edition

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[editar]

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}}

Method: badge[editar]

Display Wikidata badges for an edition.

Edition Wikitext Output
A Camp in the Adirondacks {{#invoke:Edition|badge|wikidata=Q16325556}} validado
The Great Secret {{#invoke:Edition|badge|wikidata=Q75047127}} revisto
The Riverside song book/The Open Window {{#invoke:Edition|badge|wikidata=Q59364480}} documento digitalproblemático
Douglas Adams (no badge) {{#invoke:Edition|badge|wikidata=Q42}}

Method: inline[editar]

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}} A Pair of Blue Eyes (1873) ()Wikidata books task force logo

Method: authority_control[editar]

For editions, you can list all available authority controlled identifiers with:

Wikitext Output
{{#invoke:Edition|authority_control|wikidata=Q28020002}}

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}}

See also[editar]