Template:Source: Difference between revisions

From Discourse DB
Jump to navigation Jump to search
(Improved)
(Updated property tags and query format)
Line 15: Line 15:
This is a [[:Category:Sources|source]].
This is a [[:Category:Sources|source]].


Publication type: [[Publication type:={{{type| }}}]]
Publication type: [[Publication type::{{{type| }}}]]


{{#if:{{{circulation| }}}|Circulation: [[Has circulation:={{{circulation}}}]] }}{{#if:{{{monthly unique visitors| }}}|Unique visitors per month: [[Monthly unique visitors:={{{monthly unique visitors}}}]]}}
{{#if:{{{circulation| }}}|Circulation: [[Has circulation::{{{circulation}}}]] }}{{#if:{{{monthly unique visitors| }}}|Unique visitors per month: [[Monthly unique visitors::{{{monthly unique visitors}}}]]}}


Country of origin: [[Is published in country:={{{country| }}}]]
Country of origin: [[Is published in country::{{{country| }}}]]


Language of publication: [[Is written in language:={{{language| }}}]]
Language of publication: [[Is written in language::{{{language| }}}]]


URL: [[Has URL:={{{url| }}} ]]
URL: [[Has URL::{{{url| }}} ]]


Opinion items that have appeared in this source:
Opinion items that have appeared in this source:


<ask mainlabel="Title" sort="Was published on" order="descending"> [[Category:Items]] [[Was published by::{{PAGENAME}}]] [[Was written by::*]] [[Was published on:=*]] [[Was published on:=+]] [[Addresses topic::*]]
{{#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}}
</ask>


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

Revision as of 14:10, November 24, 2008

This template holds information on an online or printed publication; it should be called with the following structure:

{{source
|publication type=The type of publication; can be Newspaper, Magazine, Online magazine or Blog
|circulation=The reported circulation, if it's a newspaper or magazine
|monthly unique visitors=Used for blogs or online magazines
|country=The country in which the source is published
|language=The language in which it is written
|url=The main URL for this source
}}

For a newspaper, if there are different numbers for circulation for weekdays and Sundays, go with the higher one.

The order of the fields is not relevant.