Template:Cite: Difference between revisions
Jump to navigation
Jump to search
m (→Syntax) |
m (→Syntax) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#if: {{{last|}}}|{{{last}}}|}}{{#if: {{{first|}}}|, {{{first}}}|}}{{#if: {{{date|}}}| ({{{date}}})|}}.{{#if: {{{title|}}}| {{#if: {{{url|}}}|[{{{url}}} {{{title}}}]| | <includeonly>{{#if: {{{author|}}}|{{{author}}}|{{#if: {{{last|}}}|{{{last}}}|}}{{#if: {{{first|}}}|, {{{first}}}|}}|}}{{#if: {{{date|}}}| ({{{date}}})|}}.{{#if: {{{title|}}}| {{#if: {{{url|}}}|[{{{url}}} '''''{{{title}}}''''']|'''''{{{title}}}'''''.|}}|}}{{#if: {{{work|}}}| "'''{{{work}}}'''".|}}{{#if: {{{website|}}}| ''{{{website}}}''|}}{{#if: {{{accessdate|}}}| Accessed: {{{accessdate}}}.|}}{{#if: {{{periodical|}}}| ''{{{periodical}}}''{{#if: {{{issue|}}}| ({{{issue}}})|}}.|}}{{#if: {{{place|}}}| {{{place}}}: |}}{{#if: {{{publisher|}}}| {{{publisher}}}.|}}{{#if: {{{pages|}}}| pp.{{{pages}}}.|}}{{#if: {{{quote|}}}|{{{quote}}}|}}{{#if: {{{isbn|}}}| ISBN:{{{isbn}}}|}}</includeonly><noinclude> | ||
===Use=== | ===Use=== | ||
To format sources. | To format sources. | ||
Line 5: | Line 5: | ||
===Syntax=== | ===Syntax=== | ||
<pre>{{cite | <pre>{{cite | ||
| | |author= | ||
|date= | |date= | ||
|accessdate= | |accessdate= | ||
|title= | |title= | ||
|website= <!--website name--> | |||
|url= | |url= | ||
|work= | |work= | ||
|periodical= | |periodical= | ||
|issue= | |issue= | ||
Line 19: | Line 18: | ||
|pages= | |pages= | ||
|quote= | |quote= | ||
|isbn= | |||
}} | }} | ||
{{cite|last=|first=|date=|accessdate=|title=|url=|work=|website=|periodical=|issue=|place=|publisher=|pages=|quote=}} | {{cite|last=|first=|date=|accessdate=|title=|url=|work=|website=|periodical=|issue=|place=|publisher=|pages=|quote=|isbn=}} | ||
</pre> | |||
===Add'l Fields=== | |||
<pre> | |||
|last= | |||
|first= | |||
|website= | |||
</pre> | </pre> | ||
Line 27: | Line 34: | ||
<pre> | <pre> | ||
{{cite | {{cite | ||
| | |author=Foo Bar | ||
|date=2019-09-19 | |date=2019-09-19 | ||
|accessdate= | |accessdate= | ||
Line 47: | Line 53: | ||
{{cite | {{cite | ||
|last=Bar | |author=Foo Bar | ||
|first=Foo | <!--|last=Bar | ||
|first=Foo--> | |||
|date=2019-09-19 | |date=2019-09-19 | ||
|accessdate= | |accessdate= |
Latest revision as of 20:04, 5 January 2022
Use
To format sources.
Syntax
{{cite |author= |date= |accessdate= |title= |website= <!--website name--> |url= |work= |periodical= |issue= |place= |publisher= |pages= |quote= |isbn= }} {{cite|last=|first=|date=|accessdate=|title=|url=|work=|website=|periodical=|issue=|place=|publisher=|pages=|quote=|isbn=}}
Add'l Fields
|last= |first= |website=
Example
{{cite |author=Foo Bar |date=2019-09-19 |accessdate= |title=Foo's Paradise |url= |work=My life as Foo |website= |periodical= |issue= |place= |publisher=Bar B Publishers |pages=23-29 |quote= }}
produces...
Foo Bar (2019-09-19). Foo's Paradise. "My life as Foo". Bar B Publishers. pp.23-29.