Template:Cite news: Difference between revisions
Appearance
m Replaced Lua-based template with simple wikitext version |
Create or repair template to remove red links and rendering errors across articles |
||
| Line 1: | Line 1: | ||
<includeonly><ref{{#if:{{{name|}}}| name="{{{name}}}"}}>{{#if:{{{author|}}}|{{{author}}}. }}{{#if:{{{title|}}}|"[{{{url}}} {{{title}}}]".}}{{#if:{{{newspaper|{{{publisher|}}}}}}| | <includeonly><ref{{#if:{{{name|}}}| name="{{{name}}}"}}>{{#if:{{{last|}}}|{{{last}}}{{#if:{{{first|}}}|, {{{first}}}}}. |{{#if:{{{author|}}}|{{{author}}}. }}}}{{#if:{{{title|}}}|{{#if:{{{url|}}}|"[{{{url}}} {{{title}}}]".|"{{{title}}}".}}}}{{#if:{{{newspaper|}}}| ''{{{newspaper}}}''.}}{{#if:{{{publisher|}}}| {{{publisher}}}.}}{{#if:{{{volume|}}}| Vol. {{{volume}}}{{#if:{{{issue|}}}|, no. {{{issue}}}}}.}}{{#if:{{{pages|{{{page|}}}}}}| pp. {{{pages|{{{page}}}}}}.}}{{#if:{{{date|}}}| {{{date}}}.}}{{#if:{{{doi|}}}| doi:{{{doi}}}.}}{{#if:{{{access-date|{{{accessdate|}}}}}}| Retrieved {{{access-date|{{{accessdate}}}}}}.}}</ref></includeonly><noinclude> | ||
Citation template for news articles. Follows the CEO.wiki inline-citation house style described in the [[CEO.wiki:Manual of Style|Manual of Style]]; the template emits its own <code><nowiki><ref></nowiki></code> tags, so do not wrap it in another pair. | |||
| | |||
</ | |||
<pre>{{cite Cite news |last=Jones |first=Sarah |title=Headline |newspaper=Publication |date=January 15, 2024 |url=https://example.com |access-date=January 20, 2024}}</pre> | |||
[[Category:Citation templates]] | [[Category:Citation templates]] | ||
</noinclude> | </noinclude> | ||
Latest revision as of 05:25, 25 August 2026
Citation template for news articles. Follows the CEO.wiki inline-citation house style described in the Manual of Style; the template emits its own <ref> tags, so do not wrap it in another pair.
{{cite Cite news |last=Jones |first=Sarah |title=Headline |newspaper=Publication |date=January 15, 2024 |url=https://example.com |access-date=January 20, 2024}}