Sabtu, 17 Oktober 2026
13:12 WIB
TERKINI
Universitas Teknokrat Indonesia Mahasiswa Universitas Teknokrat Raih Empat Gelar Bergengsi di Kompetisi Bahasa Inggris Nasional Pesisir Barat Pesisir Barat Jalin Kemitraan Strategis, Dorong Akses Pendidikan Tinggi Terjangkau Universitas Teknokrat Indonesia Teknokrat dan PMD Pesawaran Bersinergi Wujudkan Desa Digital Berkelanjutan Humaniora Memperkuat Hak Konstitusional Perempuan Adat untuk Kedaulatan Bangsa Pesawaran Lampung Dorong Rantai Pasok Hijau Kakao, Kopi, Lada ke Pasar Global Pesawaran Pengalihan Status Guru PPPK ke Penuh Waktu: DPRD Pesawaran Soroti Isu Penempatan Lampung Timur Gotong Royong Fantastis: Warga Bandar Agung Himpun Rp15 Miliar untuk Jalan Desa Bandar Lampung JNE Lampung Sukses Ubah Komplain Milea Cutting Jadi Kemitraan Strategis Bandar Lampung Jadwal Padat Pemprov Lampung 16 Oktober 2026: Pisah Sambut Kapolda dan Rapat Strategis Bandar Lampung Lampung Waspada: BMKG Deteksi 212 Titik Panas di Sepuluh Kabupaten Universitas Teknokrat Indonesia Mahasiswa Universitas Teknokrat Raih Empat Gelar Bergengsi di Kompetisi Bahasa Inggris Nasional Pesisir Barat Pesisir Barat Jalin Kemitraan Strategis, Dorong Akses Pendidikan Tinggi Terjangkau Universitas Teknokrat Indonesia Teknokrat dan PMD Pesawaran Bersinergi Wujudkan Desa Digital Berkelanjutan Humaniora Memperkuat Hak Konstitusional Perempuan Adat untuk Kedaulatan Bangsa Pesawaran Lampung Dorong Rantai Pasok Hijau Kakao, Kopi, Lada ke Pasar Global Pesawaran Pengalihan Status Guru PPPK ke Penuh Waktu: DPRD Pesawaran Soroti Isu Penempatan Lampung Timur Gotong Royong Fantastis: Warga Bandar Agung Himpun Rp15 Miliar untuk Jalan Desa Bandar Lampung JNE Lampung Sukses Ubah Komplain Milea Cutting Jadi Kemitraan Strategis Bandar Lampung Jadwal Padat Pemprov Lampung 16 Oktober 2026: Pisah Sambut Kapolda dan Rapat Strategis Bandar Lampung Lampung Waspada: BMKG Deteksi 212 Titik Panas di Sepuluh Kabupaten

Templat:Pagetype

templat Wikimedia

Bagikan:

templat

Dokumentasi templatlihatsuntingriwayatsegarkan
WarningTemplat ini digunakan pada 658.000+halaman, atau sekira 15% dari keseluruhan halaman.
Untuk mencegah suntingan mengganggu skala besar dan beban peladen, setiap perubahan harus diuji di subhalaman /bak pasir atau /kasus uji Templat:Pagetype, atau subhalaman pengguna Anda. Perubahan yang telah diuji kemudian dapat ditambahkan ke halaman ini dalam satu suntingan. Pertimbangkan untuk mendiskusikan perubahan di halaman pembicaraan sebelum mengimplementasikannya.
WarningTemplat ini digunakan in MediaWiki:Templatesandbox-editform-legend, dan pada sekitar658.000halaman, atau sekira 15% dari keseluruhan halaman.
Perubahan pada templat atau modul ini dapat mengubah antarmuka pengguna Wikipedia secara serentak.
Untuk mencegah suntingan mengganggu skala besar dan beban peladen, setiap perubahan harus diuji di subhalaman /bak pasir atau /kasus uji Templat:Pagetype, atau subhalaman pengguna Anda. Perubahan yang telah diuji kemudian dapat ditambahkan ke halaman ini dalam satu suntingan. Harap diskusikan perubahan di halaman pembicaraan sebelum mengimplementasikannya.
Templat ini menggunakan Lua:

Templat ini digunakan untuk mendeteksi jenis halaman. Templat ini mendeteksi halaman pengalihan secara otomatis, dan dapat dikustomisasi. Digunakan secara mandiri atau sebagai metatemplat untuk membuat templat deteksi jenis halaman lainnya.

Sintaksis

Dasar
{{pagetype}}
Lanjutan
{{pagetype
| page              = 
| defaultns         = 
| main              = 
| user              = 
| wikipedia         = 
| project           = 
| wp                = 
| file              = 
| image             = 
| mediawiki         = 
| template          = 
| help              = 
| category          = 
| portal            = 
| book              = 
| education program = 
| timedtext         = 
| module            = 
| special           = 
| media             = 
| talk              = 
| redirect          = 
| dab               = 
| na                = 
| other             = 
| plural            = 
}}

TemplateData

ParameterKeteranganJenisStatus
TemplateData documentation used by VisualEditor and other tools
Lihat laporan penggunaan parameter bulanan untuk Template:Pagetype.

TemplateData untuk Pagetype

This template Identifies the type of a given page. It is highly customisable. By default it detects redirects, articles, files, templates, categories, books, and modules, and other types of page are displayed as "page".

Parameter templat

Class1

Class is used to distinguish between different non-article pages in mainspace. 'disambig', 'disamb', 'dab', 'na' and 'n/a' give "page". The values can be customised with the "dab" and "na" parameters.

Kataopsional
Page namepage

The name of the page to detect the type of. Defaults to the current subject page, or to the current page if the "talk" parameter is activated.

Nama halamanopsional
Main namespacemain

Adjust output for the main namespace. Use "yes" to enable with the output "article", "no" to disable, and other text to enable with custom output. Enabled by default.

Kataopsional
User namespaceuser

Adjust output for the User namespace. Use "yes" to enable with the output "user page", "no" to disable, and other text to enable with custom output. Disabled by default.

Kataopsional
Wikipedia namespacewikipedia project wp

Adjust output for the Wikipedia namespace. Use "yes" to enable with the output "project page", "no" to disable, and other text to enable with custom output. Disabled by default.

Kataopsional
File namespacefile image

Adjust output for the File namespace. Use "yes" to enable with the output "file", "no" to disable, and other text to enable with custom output. Enabled by default.

Kataopsional
MediaWiki namespacemediawiki

Adjust output for the MediaWiki namespace. Use "yes" to enable with the output "interface page", "no" to disable, and other text to enable with custom output. Disabled by default.

Kataopsional
Template namespacetemplate

Adjust output for the Template namespace. Use "yes" to enable with the output "template", "no" to disable, and other text to enable with custom output. Enabled by default.

Kataopsional
Help namespacehelp

Adjust output for the Help namespace. Use "yes" to enable with the output "help page", "no" to disable, and other text to enable with custom output. Disabled by default.

Kataopsional
Category namespacecategory

Adjust output for the Category namespace. Use "yes" to enable with the output "category", "no" to disable, and other text to enable with custom output. Enabled by default.

Kataopsional
Portal namespaceportal

Adjust output for the Portal namespace. Use "yes" to enable with the output "portal", "no" to disable, and other text to enable with custom output. Disabled by default.

Kataopsional
Book namespacebook

Adjust output for the Book namespace. Use "yes" to enable with the output "book", "no" to disable, and other text to enable with custom output. Enabled by default.

Kataopsional
Education Program namespaceeducation program

Adjust output for the Education Program namespace. Use "yes" to enable with the output "education program page", "no" to disable, and other text to enable with custom output. Disabled by default.

Kataopsional
TimedText namespacetimedtext

Adjust output for the TimedText namespace. Use "yes" to enable with the output "Timed Text page", "no" to disable, and other text to enable with custom output. Disabled by default.

Kataopsional
Module namespacemodule

Adjust output for the Module namespace. Use "yes" to enable with the output "module", "no" to disable, and other text to enable with custom output. Enabled by default.

Kataopsional
Special namespacespecial

Adjust output for the Special namespace. Use "yes" to enable with the output "special page", "no" to disable, and other text to enable with custom output. Disabled by default.

Kataopsional
Media namespacemedia

Adjust output for the Media namespace. Use "yes" to enable with the output "file", "no" to disable, and other text to enable with custom output. Disabled by default.

Kataopsional
All talk namespacestalk

Adjust output for all talk namespaces. Normally this template uses the subject page of the specified page to determine the pagetype, but if this parameter is enabled talk pages will be used as well. Use "yes" to enable with the output "talk page", "no" to disable, and other text to enable with custom output. Disabled by default.

Kataopsional
Disambiguation page valuedab

Adjust output for pages in mainspace when the "Class" parameter has been set to "disambiguation", "disamb", or "dab". Use "yes" to enable with the output "disambiguation page", "no" to disable, and other text to enable with custom output. Disabled by default.

Kataopsional
N/A page valuena

Adjust output for pages in mainspace when the "Class" parameter has been set to "disambiguation", "disamb", or "dab". Use "yes" to enable with the output "page", "no" to disable, and other text to enable with custom output. Disabled by default.

Kataopsional
Other namespacesother

By default the template outputs the text "page" if the page is in a namespace that has not been specified. This value can be changed by using this parameter.

Kataopsional
Set of default namespacesdefaultns

This parameter is used to specify the set of namespaces used by default. By default the template detects page types in the main, File, Template, Category, Book, and Module namespaces. If this parameter is set to "none", the template doesn't detect page types in any namespaces. If it is set to "extended", the template detects page types in the main, User, Wikipedia, File, MediaWiki, Template, Help, Category, Portal, Book, and Module namespaces. If it is set to "all", the template detects page types in all namespaces, including talk pages. The namespaces set by this parameter can be overridden by the parameters for individual namespaces.

Barisopsional
Pluralise output?plural

Setting this value to "true", "yes", "y" or similar will result in the output from the template being in plural form (e.g. "articles" instead of "article").

Booleanopsional
Capitalise output?caps

Setting this value to "true", "yes", "y" or similar will result in the output from the template beginning with a capital letter (e.g. "Article" instead of "article").

Booleanopsional
Dokumentasi di atas ditransklusikan dari Templat:Pagetype/doc. (sunting | riwayat)
Penyunting dapat melakukan uji coba pada halaman bak pasir (buat | cermin) dan kasus uji (buat) templat ini.
Mohon tambahkan kategori pada subhalaman /doc. Subhalaman templat ini.
Konten disalin dari Wikipedia Bahasa Indonesia (lisensi CC BY-SA) Lihat versi asli di Wikipedia

Rekomendasi Pilihan