Template:WikiJournalBotList
This template pair defines a bot-generated list based on Wikidata for all articles in a given journal's volume and issue. The bot (User:WikiJournalBot, Github repository) does a SPARQL query that retrieves all 'scholarly_article' (P31) that are:
- published in 'WikiJournal of Medicine' (P1433 = Q24657325)
- and match the given volume (P478) and issue (P433)
Now the page content between {{WikiJournalBotList}}
and {{ListEnd}}
is replaced with the articles found in the query.
Usage
[edit source]Pages that should be edited by the bot need to contain two templates. It must be "opened" with {{WikiJournalBotList}} and "closed" with {{ListEnd}}; the text between these two templates will be periodically (once every 24h) replaced by the bot-generated list.
{{WikiJournalBotList}} attempts to use the page title to identify the relevant journal, volume, and issue. These can be manually provided by the following arguments:
|journal=
The journal to use in the SPARQL query (default = journal in the root page name)|volume=
The volume number to use in the SPARQL query (default = volume in the sub page name)|issue=
The issue number to use in the SPARQL query (default = issue in the sub page name)|row_template=
The template to use for all found articles with WikiData ID is set asQ
(default = article info)
Example
[edit source]On the page WikiJournal_of_Medicine/Volume_8_Issue_1 :
{{WikiJournalBotList}} {{ListEnd}}
On the page Wikiversity:Sandbox :
{{WikiJournalBotList |journal = WikiJournal of Medicine |volume = 8 |issue = 1 |row_template = article volume summary }} {{ListEnd}}
Support
[edit source]To report issues or propose new ideas:
See also
[edit source]- {{WikiJournalBotList}}
- {{ListEnd}}
- {{article info}}