Template:Source: Difference between revisions

From Discourse DB
Jump to navigation Jump to search
(Bolded field labels)
No edit summary
Line 12: Line 12:


The order of the fields is not relevant.
The order of the fields is not relevant.
</noinclude><includeonly>
{{#cargo_declare:Type=Text (size=20;allowed values=Newspaper, Magazine, Online magazine, Blog)|Circulation=Number|Monthly_unique_visitors=Number|Country=Text (size=50)|Language=Text (size=50)|URL=URL}}
</noinclude><includeonly>{{#cargo_store:Type={{{type|}}}|Circulation={{{circulation}}}|Monthly_unique_visitors={{{monthly unique visitors|}}}|Country={{{country|}}}|Language={{{language|}}}|URL={{{url|}}} }}
This is a [[:Category:Sources|source]].
This is a [[:Category:Sources|source]].



Revision as of 15:47, September 4, 2014

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.

Error: Table name must be specified.