Difference between revisions of "Template:Cite news"
From Self-sufficiency
("URL accessed" → "Retrieved on" for consistency with current {{template:cite web}}, and minor template code reformatting) |
(Added usage information (in noinclude section)) |
||
Line 24: | Line 24: | ||
}}.|Template error: argument '''title''' is required.}}<noinclude> | }}.|Template error: argument '''title''' is required.}}<noinclude> | ||
{{esoteric}} | {{esoteric}} | ||
+ | == Usage == | ||
+ | <pre> | ||
+ | {{cite news | ||
+ | |first = | ||
+ | |last = | ||
+ | |author = | ||
+ | |coauthors = | ||
+ | |url = | ||
+ | |title = | ||
+ | |work = | ||
+ | |publisher = | ||
+ | |pages = | ||
+ | |page = | ||
+ | |date = | ||
+ | |accessdate = | ||
+ | }} | ||
+ | </pre> | ||
+ | <code><nowiki>{{cite news|first= |last= |author= |url= |title= |work= |publisher= |pages= |page= |date= |accessdate= }}</nowiki></code> | ||
+ | *'''title''' is required, rest is optional. | ||
+ | * '''author''': Author | ||
+ | ** '''last''' works with '''first''' to produce <code>last, first</code> | ||
+ | ** '''coauthors''' allows additional authors | ||
+ | * '''publisher''': Publisher, if any. | ||
+ | * '''date''': date of publication. [[ISO 8601]] YYYY-MM-DD format recommended. May be [[m:Help:Preferences#Date_format|wikilinked]] to enable [http://en.wikipedia.org/wiki/Special:Preferences#prefsection-4 date user preferences]. | ||
+ | * '''accessdate''': Date when item was accessed. Use [[ISO 8601]] YYYY-MM-DD format. | ||
+ | * '''work''': If this item is part of a larger work, name of that work. | ||
+ | * '''pages''' overrides '''page''' | ||
+ | |||
+ | |||
[[Category:Citation templates|{{PAGENAME}}]] | [[Category:Citation templates|{{PAGENAME}}]] | ||
[[Category:Templates using ParserFunctions|{{PAGENAME}}]] | [[Category:Templates using ParserFunctions|{{PAGENAME}}]] |
Revision as of 15:06, 9 June 2006
Template error: argument title is required.
40x40px | This template employs intricate features of template syntax. You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. Remember that you can conduct experiments, and should test all improvements, in either the general Template sandbox or your user space before changing anything here. |
Usage
{{cite news |first = |last = |author = |coauthors = |url = |title = |work = |publisher = |pages = |page = |date = |accessdate = }}
{{cite news|first= |last= |author= |url= |title= |work= |publisher= |pages= |page= |date= |accessdate= }}
- title is required, rest is optional.
- author: Author
- last works with first to produce
last, first
- coauthors allows additional authors
- last works with first to produce
- publisher: Publisher, if any.
- date: date of publication. ISO 8601 YYYY-MM-DD format recommended. May be wikilinked to enable date user preferences.
- accessdate: Date when item was accessed. Use ISO 8601 YYYY-MM-DD format.
- work: If this item is part of a larger work, name of that work.
- pages overrides pagevi:Tiêu bản:Chú thích báo