Template:Cite news: Difference between revisions

From PoliticalSG
(Created page with "<includeonly>{{Citation core|mode=news|last={{{last|{{{last1|}}}}}}|first={{{first|{{{first1|}}}}}}|last2={{{last2|}}}|first2={{{first2|}}}|date={{{date|}}}|year={{{year|}}}|title={{{title|}}}|url={{{url|}}}|work={{{work|}}}|publisher={{{publisher|}}}|language={{{language|}}}|pages={{{pages|{{{page|}}}}}}|access-date={{{access-date|{{{accessdate|}}}}}}|archive-url={{{archive-url|}}}|archive-date={{{archive-date|}}}|url-status={{{url-status|}}}|via={{{via|}}}|quote={{{quo...")
 
No edit summary
 
Line 1: Line 1:
<includeonly>{{Citation core|mode=news|last={{{last|{{{last1|}}}}}}|first={{{first|{{{first1|}}}}}}|last2={{{last2|}}}|first2={{{first2|}}}|date={{{date|}}}|year={{{year|}}}|title={{{title|}}}|url={{{url|}}}|work={{{work|}}}|publisher={{{publisher|}}}|language={{{language|}}}|pages={{{pages|{{{page|}}}}}}|access-date={{{access-date|{{{accessdate|}}}}}}|archive-url={{{archive-url|}}}|archive-date={{{archive-date|}}}|url-status={{{url-status|}}}|via={{{via|}}}|quote={{{quote|}}}}}</includeonly><noinclude>
<includeonly>{{Citation core|mode=news|last={{{last|{{{last1|}}}}}}|first={{{first|{{{first1|}}}}}}|last2={{{last2|}}}|first2={{{first2|}}}|date={{{date|}}}|year={{{year|}}}|title={{{title|}}}|url={{{url|}}}|work={{{work|}}}|publisher={{{publisher|}}}|language={{{language|}}}|pages={{{pages|{{{page|}}}}}}|issn={{{issn|}}}|access-date={{{access-date|{{{accessdate|}}}}}}|archive-url={{{archive-url|}}}|archive-date={{{archive-date|}}}|url-status={{{url-status|}}}|via={{{via|}}}|quote={{{quote|}}}}}</includeonly><noinclude>
== Usage ==
== Usage ==
Lua-free reimplementation of Wikipedia's <nowiki>{{cite news}}</nowiki>, built on [[Template:Citation core]]. See that page for the full field list and documented deviations from upstream CS1.
Lua-free reimplementation of Wikipedia's <nowiki>{{cite news}}</nowiki>, built on [[Template:Citation core]]. See that page for the full field list and documented deviations from upstream CS1.
Line 5: Line 5:
<pre>{{cite news |last=|first=|date=|title=|url=|work=|access-date=|pages=}}</pre>
<pre>{{cite news |last=|first=|date=|title=|url=|work=|access-date=|pages=}}</pre>


Accepts <code>last1</code>/<code>first1</code>/<code>last2</code>/<code>first2</code>, matching the multi-author citations already in use (e.g. the Lianhe Zaobao references on the Speak Mandarin Campaign page). <code>issn</code> can be passed but is currently not rendered — see [[Template:Citation core]] deviations.
Accepts <code>last1</code>/<code>first1</code>/<code>last2</code>/<code>first2</code>, matching the multi-author citations already in use (e.g. the Lianhe Zaobao references on the Speak Mandarin Campaign page). <code>issn</code> is now rendered (e.g. "ISSN 0585-3923").


[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Latest revision as of 20:19, 14 July 2026

Usage

Lua-free reimplementation of Wikipedia's {{cite news}}, built on Template:Citation core. See that page for the full field list and documented deviations from upstream CS1.

{{cite news |last=|first=|date=|title=|url=|work=|access-date=|pages=}}

Accepts last1/first1/last2/first2, matching the multi-author citations already in use (e.g. the Lianhe Zaobao references on the Speak Mandarin Campaign page). issn is now rendered (e.g. "ISSN 0585-3923").