Templat:Cite speech: Perbedaan antara revisi

Konten dihapus Konten ditambahkan
Quoth nevermore (bicara | kontrib)
←Membuat halaman berisi '<includeonly><cite style="font-style:normal">{{#if: {{{author|}}}{{{last|}}} |{{#if: {{{authorlink|}}} |[[{{{authorlink}}}|{{#if: {{{last|}}} |{{{last}}}{{#if...'
 
RianHS (bicara | kontrib)
Tes, hapus dokumentasi
Tag: Penggantian
 
(11 revisi perantara oleh 7 pengguna tidak ditampilkan)
Baris 1:
<includeonly><cite style="font-style:normal">{{#ifinvoke: {{{author|}}}{{{lastcitation/CS1|}}}citation
|CitationClass=speech
|{{#if: {{{authorlink|}}}
}}</includeonly><noinclude>
|[[{{{authorlink}}}|{{#if: {{{last|}}}
{{documentation}}
|{{{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).''
 
[[Category:Citation templates|{{PAGENAME}}]]
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]
 
[[vi:Tiêu bản:Chú thích diễn văn]]
</noinclude>