Templat:Cite web: Perbedaan antara revisi

Dari Wikipedia bahasa Indonesia, ensiklopedia bebas
Konten dihapus Konten ditambahkan
Borgx (bicara | kontrib)
kTidak ada ringkasan suntingan
k Cleanup
 
(46 revisi perantara oleh 14 pengguna tidak ditampilkan)
Baris 1: Baris 1:
<includeonly>{{#invoke:citation/CS1|citation
<cite style="font-style:normal;"><includeonly>{{qif
|CitationClass=web
|test={{boolnand
}}</includeonly><noinclude>
|1={{{url|}}}
{{documentation}}
|2={{{title|}}}
}}
|then=Terjadi kesalahan saat memanggil [[templat:cite web]]: Parameter '''url''' dan '''title''' harus disebutkan&#32;
}}</includeonly>{{qif
|test={{{author|{{{last|}}}}}}
|then={{qif
|test={{{authorlink|}}}
|then=[[{{{authorlink}}}|{{qif
|test={{{last|}}}
|then={{{last}}}{{qif
|test={{{first|}}}
|then=, {{{first}}}.
}}
|else={{{author}}}
}}]]
|else={{qif
|test={{{last|}}}
|then={{{last}}}{{qif
|test={{{first|}}}
|then=, {{{first}}}
}}
|else={{{author}}}.
}}
}}
}}{{qif
|test={{{author|{{{last|}}}}}}
|then={{qif
|test={{{coauthors|}}}
|then=<nowiki>;</nowiki>&#32;{{{coauthors}}}
}}
}}{{qif
|test={{{year|}}}
|then=&#32;({{{year|}}}).
}}{{qif
|test={{booland
|1={{{url|}}}
|2={{{title|}}}}}
|then=&#32;[{{{url}}} {{{title}}}].
}}{{qif
|test={{{format|}}}
|then=&#32;({{{format|}}})
}}{{qif
|test={{{work|}}}
|then=&#32;''{{{work}}}''.}}{{qif
|test={{{publisher|}}}
|then=&#32;{{{publisher}}}.
}}{{qif
|test={{{accessdate|}}}
|then=&#32;URL diakses pada {{{accessdate}}}{{qif
|test={{{accessyear|}}}
|then=&nbsp;[[{{{accessyear}}}]]
}}
}}{{qif
|test={{{quote|}}}
|then=&#32;Kutipan: {{{quote}}}
}}</cite><noinclude>
Templat ini merupakan pengganti [[Templat:web reference]] yang lebih sederhana. Parameternya hanya memerlukan huruf kecil.

==Penggunaan ==
'''<nowiki>{{cite web
| last =
| first =
| authorlink =
| coauthors =
| year =
| url =
| title =
| format =
| work =
| publisher =
| accessdate =
| accessyear =
| quote =
}}</nowiki>'''

=== Parameter yang diperlukan ===
* '''url''': URL item ''online''.
* '''title''': Judul item ''online''.
* '''accessdate''': Tanggal akses.
** '''accessyear''': Tahun akses.

=== Parameter opsional ===
* '''author''': Pengarang/penulis
** '''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
** '''coauthors''': allows additional authors
* '''year''': Date published.
* '''format''': Format, i.e. PDF. HTML implied if not specified.
* '''work''': If this item is part of a larger work, name of that work.
* '''publisher''': Publisher, if any.


__NOEDITSECTION__
{{esoteric}}

[[Category:Templat kutipan|{{PAGENAME}}]]

</noinclude>
</noinclude>

Revisi terkini sejak 13 April 2019 05.58