Template:Cite: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
(replced first, last with author)
mNo edit summary
Line 1: Line 1:
<includeonly>{{#if: {{{author|}}}|{{{author}}}|{{#if: {{{last|}}}|{{{last}}}|}}{{#if: {{{first|}}}|, {{{first}}}|}}|}}{{#if: {{{date|}}}|&ensp;({{{date}}})|}}.{{#if: {{{title|}}}|&ensp;{{#if: {{{url|}}}|[{{{url}}} '''{{{title}}}''']|"'''{{{title}}}'''".|}}|}}{{#if: {{{work|}}}|&ensp;"'''{{{work}}}'''".|}}{{#if: {{{website|}}}|&ensp;''{{{website}}}''|}}{{#if: {{{accessdate|}}}|&ensp;Accessed: {{{accessdate}}}.|}}{{#if: {{{periodical|}}}|&ensp;''{{{periodical}}}''{{#if: {{{issue|}}}|&ensp;({{{issue}}})|}}.|}}{{#if: {{{place|}}}|&ensp;{{{place}}}: |}}{{#if: {{{publisher|}}}|&ensp;{{{publisher}}}.|}}{{#if: {{{pages|}}}|&ensp;pp.{{{pages}}}.|}}{{#if: {{{quote|}}}|{{{quote}}}|}}{{#if: {{{isbn|}}}|&ensp;ISBN:{{{isbn}}}|}}</includeonly><noinclude>
<includeonly>{{#if: {{{author|}}}|{{{author}}}|{{#if: {{{last|}}}|{{{last}}}|}}{{#if: {{{first|}}}|, {{{first}}}|}}|}}{{#if: {{{date|}}}|&ensp;({{{date}}})|}}.{{#if: {{{title|}}}|&ensp;{{#if: {{{url|}}}|[{{{url}}} '''''{{{title}}}''''']|'''''{{{title}}}'''''.|}}|}}{{#if: {{{work|}}}|&ensp;"'''{{{work}}}'''".|}}{{#if: {{{website|}}}|&ensp;''{{{website}}}''|}}{{#if: {{{accessdate|}}}|&ensp;Accessed: {{{accessdate}}}.|}}{{#if: {{{periodical|}}}|&ensp;''{{{periodical}}}''{{#if: {{{issue|}}}|&ensp;({{{issue}}})|}}.|}}{{#if: {{{place|}}}|&ensp;{{{place}}}: |}}{{#if: {{{publisher|}}}|&ensp;{{{publisher}}}.|}}{{#if: {{{pages|}}}|&ensp;pp.{{{pages}}}.|}}{{#if: {{{quote|}}}|{{{quote}}}|}}{{#if: {{{isbn|}}}|&ensp;ISBN:{{{isbn}}}|}}</includeonly><noinclude>
===Use===
===Use===
To format sources.
To format sources.

Revision as of 18:48, 16 November 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.