Template:Cite: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#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|}}}|{{{publisher}}}.|}}{{#if: {{{pages|}}}|&ensp;pp.{{{pages}}}.|}}{{#if: {{{quote|}}}|{{{quote}}}|}}</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.
Line 5: Line 5:
===Syntax===
===Syntax===
<pre>{{cite
<pre>{{cite
|last=
|author=
|first=
|date=
|date=
|accessdate=
|accessdate=
|title=
|title=
|website= <!--website name-->
|url=
|url=
|work=
|work=
|website=
|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=|isbn=}}
</pre>
===Add'l Fields===
<pre>
|last=
|first=
|website=
</pre>
</pre>


Line 25: Line 34:
<pre>
<pre>
{{cite
{{cite
|last=Bar
|author=Foo Bar
|first=Foo
|date=2019-09-19
|date=2019-09-19
|accessdate=
|accessdate=
Line 45: 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.