Difference between revisions of "Template:Cite news"
From Self-sufficiency
(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 20:07, 8 March 2006
Do not use template:Cite news. This is under development. Template:Qif
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. |