Templat:Cite speech: Perbedaan antara revisi

Konten dihapus Konten ditambahkan
MerlIwBot (bicara | kontrib)
k bot Menambah: zh:Template:Cite speech
RianHS (bicara | kontrib)
Tes, hapus dokumentasi
Tag: Penggantian
 
(2 revisi perantara oleh 2 pengguna tidak ditampilkan)
Baris 1:
<includeonly>{{#invoke:citation/CS1|citation
<noinclude>{{terjemah|Inggris}}</noinclude>
|CitationClass=speech
<includeonly><cite style="font-style:normal">{{#if: {{{author|}}}{{{last|}}}
}}</includeonly><noinclude>
|{{#if: {{{authorlink|}}}
{{documentation}}
|[[{{{authorlink}}}|{{#if: {{{last|}}}
|{{{last}}}{{#if: {{{first|}}}
|, {{{first}}}
}}
|{{{author}}}
}}]].&#32;
|{{#if: {{{last|}}}
|{{{last}}}{{#if: {{{first|}}}
|, {{{first}}}.&#32;
}}
|{{{author}}}.&#32;
}}
}}{{#if: {{{title|}}}
|{{#if: {{{url|}}}
|[{{{url}}} "{{{title|}}}"]
|"{{{title|}}}"}}
|{{#if: {{{url|}}}
|[{{{url}}} Speech]
|Speech}}}}
}}{{#if: {{{location|}}}
|&#32;{{{location}}}
}}{{#if: {{{date|}}}
|&#32;({{{date}}})
|{{#if: {{{year|}}}
|{{#if: {{{month|}}}
|&#32;({{{month}}} {{{year}}})
|&#32;({{{year}}})
}}
}}
}}{{#if: {{{accessdate|}}}
|. Retrieved on [[{{{accessdate}}}]]
|.
}}</cite></includeonly><noinclude>
 
 
Cite template to deal with speeches, modified from {{tl|cite conference}}.
 
=== Parameters (no required parameters) ===
<pre>
{{cite speech
| title = Economic Isolationism Isn't an Option
| author = Eskew, Mike
| first = Eskew
| last = Mike
| authorlink =
| date = 12/2004
| location = Washington, D.C.
| url =
| accessdate =
}}
</pre>
 
=== Description of parameters ===
* '''author''': Speaker
** '''last''' works with '''first''' to produce <code>last, first</code>
** '''authorlink''' works either with '''author''' or with '''last''' & '''first''' to link to the appropriate article
* '''date''': Full date of speech, in [[ISO 8601]] YYYY-MM-DD format, eg. ''2006-02-17''. (Not automatically wikified.)
** OR: '''year''': Year of speech, and '''month''': Name of the month of the speech. If you also have the day, use ''date'' instead.
* '''title''': Title of the speech, automatically replaced by ''Speech'' if not supplied.
* '''location''': Place of speech.
* '''url''': url of a link to the text of the speech or a page mentioning the speech (will wikify the title or the word ''Speech'')
** '''accessdate''': Full date when item was accessed, in [[ISO 8601]] YYYY-MM-DD format, eg. ''2006-02-17''. (Automatically wikified.)
 
=== Example 1===
 
<pre>{{cite speech
| title = Title
| author = First Last
| authorlink = First
| date = [[April 1]], [[2000]]
| location = Location
| url = http://www.example.org
| accessdate = 2006-10-12
}}
</pre>
 
Will become:
* {{cite speech
| title = Title
| author = First Last
| authorlink = First
| date = [[April 1]], [[2000]]
| location = Location
| url = http://www.example.org
| accessdate = 2006-10-12
}}
 
=== Example 2===
 
<pre>{{cite speech
| last = Last
| first = First
| date = [[April 1]], [[2000]]
| location = Location
}}
</pre>
 
Will become:
* {{cite speech
| last = Last
| first = First
| date = [[April 1]], [[2000]]
| location = Location
}}
 
:''Note that this template is self-referencing (in the example).''
[[en:Template:Cite speech]]
[[ja:Template:Cite speech]]
[[th:แม่แบบ:Cite speech]]
[[tl:Suleras:Cite speech]]
[[tr:Şablon:Cite speech]]
[[vi:Bản mẫu:Chú thích diễn văn]]
[[zh:Template:Cite speech]]
</noinclude>