Template:Magazine: Difference between revisions

From Discourse DB
Jump to navigation Jump to search
No edit summary
(Changed query)
Line 21: Line 21:
'''Opinion items that have appeared in this magazine:'''
'''Opinion items that have appeared in this magazine:'''


{{#ask:[[Category:Items]][[Was published by::{{PAGENAME}}]]|mainlabel=Title|sort=Was published on|order=descending|?Was written by=Author|?Was published on=Date|?Addresses topic=Topic}}
{{#cargo_query:tables=Items,Opinions
|join on=Items._pageName=Opinions._pageName
|where=Source = "{{PAGENAME}}"
|fields=Items._pageName=Title,Author,Date,Topic
|group by=Items._pageName
|order by=Date DESC
}}


[[Category:Magazines]]
[[Category:Magazines]]
</includeonly>
</includeonly>

Revision as of 04:15, November 18, 2014

This template holds information on a magazine; it should be called with the following structure:

{{magazine
|circulation=The reported circulation
|country=The country in which the source is published
|language=The language in which it is written
|url=The main URL for this source
}}

This template adds rows to the table "Sources", which is declared by the template Source. View table.