Template:Cite: Difference between revisions
Jump to navigation
Jump to search
m (bolding) |
(replced first, last with author) |
||
Line 1: | Line 1: | ||
<includeonly>{{#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> | <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= | ||
Line 12: | Line 11: | ||
|url= | |url= | ||
|work= | |work= | ||
|periodical= | |periodical= | ||
|issue= | |issue= | ||
Line 23: | Line 21: | ||
{{cite|last=|first=|date=|accessdate=|title=|url=|work=|website=|periodical=|issue=|place=|publisher=|pages=|quote=|isbn=}} | {{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 28: | Line 32: | ||
<pre> | <pre> | ||
{{cite | {{cite | ||
| | |author=Foo Bar | ||
|date=2019-09-19 | |date=2019-09-19 | ||
|accessdate= | |accessdate= | ||
Line 48: | Line 51: | ||
{{cite | {{cite | ||
|last=Bar | |author=Foo Bar | ||
|first=Foo | <!--|last=Bar | ||
|first=Foo--> | |||
|date=2019-09-19 | |date=2019-09-19 | ||
|accessdate= | |accessdate= |
Revision as of 09:42, 23 June 2020
Use
To format sources.
Syntax
{{cite |author= |date= |accessdate= |title= |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.