Difference between revisions of "Template:Cite news"
From Timelines
(break redirect. This was done due to misunderstanding) |
(code from news reference but now with new parameter names. This template is now incompatible with {{news reference}}) |
||
Line 1: | Line 1: | ||
Do not use [[template:Cite news]]. This is under development. | Do not use [[template:Cite news]]. This is under development. | ||
+ | {{qif | ||
+ | |test={{boolnot|{{{title|}}}}} | ||
+ | |then=Template error: argument '''title''' is required. | ||
+ | |else={{qif | ||
+ | |test={{{first|}}}{{{last|}}} | ||
+ | |then={{qif | ||
+ | |test={{{last|}}} | ||
+ | |then={{{last}}}, | ||
+ | }}{{{first|}}}, | ||
+ | |else={{qif | ||
+ | |test={{{author|}}} | ||
+ | |then={{{author|}}}, | ||
+ | }} | ||
+ | }}"{{qif | ||
+ | |test={{{url|}}} | ||
+ | |then=[{{{url}}} {{{title}}}] | ||
+ | |else={{{title}}} | ||
+ | }}"{{qif | ||
+ | |test={{{org|}}} | ||
+ | |then=, ''{{{org}}}'' | ||
+ | }}{{qif | ||
+ | |test={{{date|}}} | ||
+ | |then=, {{{date}}} | ||
+ | }}{{qif | ||
+ | |test={{{pages|}}} | ||
+ | |then=, pp. {{{pages}}} | ||
+ | |else={{qif | ||
+ | |test={{{page|}}} | ||
+ | |then=, p. {{{page}}} | ||
+ | }} | ||
+ | }}{{qif | ||
+ | |test={{{accessdate|}}} | ||
+ | |then=. URL accessed on [[{{{accessdate}}}]] | ||
+ | }}. | ||
+ | }}<noinclude> | ||
+ | {{esoteric}} | ||
+ | [[Category:Citation templates|{{PAGENAME}}]] | ||
+ | </noinclude> |
Revision as of 11:07, 8 March 2006
Do not use template:Cite news. This is under development. Template:Qif Template:Esoteric