Bantuan:Kata ajaib: Perbedaan antara revisi
Konten dihapus Konten ditambahkan
Nurcilacap (bicara | kontrib) |
Nurcilacap (bicara | kontrib) |
||
Baris 33:
* <code><nowiki>{{noexternallanglinks}}</nowiki></code> untuk menekan semua [[Wikidata:Help:Linking Wikipedia pages|Wikidata]] otomatis [[Help:Interlanguage links|Link antar bahasa]]. Setara dengan <code><nowiki>{{noexternallanglinks:*}}</nowiki></code>. Link untuk bahasa individu dapat ditekan dengan menentukan kode bahasa dalam daftar pipa-dipisahkan, misalnya <code><nowiki>{{noexternallanglinks:fr|es|ja}}</nowiki></code>. Nah lihat [[mw:Extension:Wikibase Client#noexternallanglinks]].
== Variabel ==
{{Shortcut|WP:VAR}}
{{hatnote|For documentation, see the [[mw:Help:Magic words#Variables|Variables]] section of the MediaWiki page.}}
* <tt><nowiki>{{ARTICLEPAGENAME}}</nowiki></tt> (associated non-talk page) (identical to <nowiki>{{SUBJECTPAGENAME}}</nowiki> )
* <tt><nowiki>{{ARTICLESPACE}}</nowiki></tt> (associated non-talk namespace) (identical to <nowiki>{{SUBJECTSPACE}}</nowiki> )
* <tt><nowiki>{{BASEPAGENAME}}</nowiki></tt> (page title excluding ''current'' [[Help:Subpages|subpage]] and namespace - effectively the parent page without the namespace)
* <tt><nowiki>{{FULLPAGENAME}}</nowiki></tt> ([[Help:Page name|page title]] including [[help:namespace|namespace]])
* <tt><nowiki>{{NAMESPACE}}</nowiki></tt> (namespace of current page)
* <tt><nowiki>{{PAGENAME}}</nowiki></tt> (page title excluding namespace)
* <tt><nowiki>{{SUBJECTPAGENAME}}</nowiki></tt> (associated non-talk page) (identical to <nowiki>{{ARTICLEPAGENAME}}</nowiki> )
* <tt><nowiki>{{SUBJECTSPACE}}</nowiki></tt> (associated non-talk namespace) (identical to <nowiki>{{ARTICLESPACE}}</nowiki> )
* <tt><nowiki>{{SUBPAGENAME}}</nowiki></tt> (subpage part of title)
* <tt><nowiki>{{TALKPAGENAME}}</nowiki></tt> (associated talk page)
* <tt><nowiki>{{TALKSPACE}}</nowiki></tt> (associated talk namespace)
* <tt><nowiki>{{FULLPAGENAMEE}}, {{NAMESPACEE}}</nowiki></tt> etc. (equivalents encoded for use in MediaWiki [[URL]]s)
''Catatan: semua variabel sebelumnya masing-masing dapat mengambil parameter, untuk beroperasi pada halaman selain halaman saat ini. misalnya<nowiki>{{TALKPAGENAME:WP:MOS}}</nowiki> kembali ke "{{TALKPAGENAME:WP:MOS}}"''.
* <tt><nowiki>{{SITENAME}}</nowiki></tt> ({{SITENAME}})
* <tt><nowiki>{{SERVER}}</nowiki></tt> ({{SERVER}})
* <tt><nowiki>{{SERVERNAME}}</nowiki></tt> ({{SERVERNAME}})
* <tt><nowiki>{{SCRIPTPATH}}</nowiki></tt> ({{SCRIPTPATH}})
* <tt><nowiki>{{CURRENTVERSION}}</nowiki></tt> (current MediaWiki version)
* <tt><nowiki>{{REVISIONID}}</nowiki></tt> (revisi terbaru untuk saat ini halaman-itu tidak dapat diganti dan juga tidak bekerja di pratinjau)
* <tt><nowiki>{{REVISIONDAY}}, {{REVISIONDAY2}}, {{REVISIONMONTH}}, {{REVISIONYEAR}}, {{REVISIONTIMESTAMP}}, {{REVISIONUSER}}</nowiki></tt> (date, time, editor at last edit)
* <tt><nowiki>{{CURRENTYEAR}}, {{CURRENTMONTH}}, {{CURRENTMONTHNAME}}, {{CURRENTMONTHABBREV}}, {{CURRENTDAY}}, {{CURRENTDAY2}}, {{CURRENTDOW}}, {{CURRENTDAYNAME}}, {{CURRENTTIME}}, {{CURRENTHOUR}}, {{CURRENTWEEK}}, {{CURRENTTIMESTAMP}}</nowiki></tt> (current date/time variables)
* <tt><nowiki>{{LOCALYEAR}}</nowiki></tt> etc. (as previously, based on site's local time)
* <tt><nowiki>{{NUMBEROFPAGES}}, {{NUMBEROFARTICLES}}, {{NUMBEROFFILES}}, {{NUMBEROFEDITS}}, {{NUMBEROFVIEWS}}, {{NUMBEROFUSERS}}, {{NUMBEROFADMINS}}, {{NUMBEROFACTIVEUSERS}}</nowiki></tt> (statistics on English Wikipedia; add <tt>:R</tt> to return numbers without commas)
==Fungsi==
===Metadata===
|