Templat:Wikimedia untuk portal/doc: Perbedaan antara revisi

Konten dihapus Konten ditambahkan
MerlIwBot (bicara | kontrib)
123569yuuift (bicara | kontrib)
Tidak ada ringkasan suntingan
Tag: Suntingan perangkat seluler Suntingan peramban seluler Suntingan seluler lanjutan
 
(2 revisi perantara oleh 2 pengguna tidak ditampilkan)
Baris 1:
{{Documentation subpage}}
<!-- TAMBAHKAN KATEGORI DAN INTERWIKIINTERWIKIS DI BAGIAN PALING BAWAH HALAMAN INI -->
{{ombox
<!-- SUNTING DOKUMENTASI TEMPLAT DI BAWAH INI -->
| type = content
| style =
| textstyle = text-align: center;
| text = '''Harap jangan mengedit halaman ini agar sesuai dengan portal Anda; ini digunakan untuk semua portal dan harus dibiarkan generik.<br/> Jika mau, Anda dapat menyalin konten ke templat Anda sendiri.'''
}}
{{clear}}
 
=== PemakaianPenggunaan ===
{{tl|Wikimedia untuk portal}}
<pre>
 
<center>{{Wikimedia for portals}}</center> <!-- use |page= for other than PAGENAME, add centering for formatting -->
Templat secara otomatis menggunakan nama halaman portal saat ditempatkan di halaman. Untuk mengubahnya, gunakan kolom {{para|page}}, jika perlu, untuk menunjuk ke [[Bantuan:Link Interwikimedia|Link Interwikimedia]] selain yang disebutkan di halaman portal.
 
Jika Anda perlu menunjuk ke ''Foo'' Interwiki, tetapi Portal Anda bernama ''Portal:Bar'', maka Anda akan memformat templatnya seperti ini:
 
{{tlx|Wikimedia for portals |page{{=}}''Foo''}}
 
=== Opsi ===
Untuk mencegah proyek tertentu ditampilkan, gunakan <code>=no</code> setelah satu atau beberapa parameter berikut, misalnya:
 
<pre style="overflow:auto;">
{{Wikimedia for portals
| b =
| page =
| commons =
| n =
| q =
| s =
| v =
| voy =
| wikt =
| data =
| species =
}}
<!-- masukan 'tidak' untuk mengecualikan proyek -->
</pre>
 
=== LihatContoh pula ===
{{tl|Wikimedia untuk portal}}
 
Menghasilkan:
<includeonly>
 
<!-- KATEGORI DAN INTERWIKI DITARUH DI SINI -->
{{Wikimedia untuk portal}}
[[Category:Wikipedia Portal templates|{{PAGENAME}}]]
 
;Dengan bidang ''page''
{{tlx|Wikimedia for portals |page{{=}}''Foo''}}
 
Menghasilkan:
{{Wikimedia for portals |page=Foo}}
{{clear}}
 
== Lihat pula ==
{{Daftar templat portal}}
 
== TemplatData ==
<templatedata>
{
"params": {
"b": {
"label": "Wikibooks",
"description": "Show Wikibooks in the template",
"example": "b=no",
"type": "boolean",
"default": "yes"
},
"page": {
"label": "Page",
"description": "Nama dasar yang digunakan untuk tautan interwiki",
"example": "page=Foo",
"type": "string",
"default": "{{PAGENAME}}"
},
"commons": {
"label": "Commons",
"description": "Tampilkan Commons di templat",
"example": "commons=no",
"type": "boolean",
"default": "yes"
},
"n": {
"label": "Wikinews",
"description": "Tampilkan Wikinews di templatnya",
"example": "n=no",
"type": "boolean",
"default": "yes"
},
"q": {
"label": "Wikiquote",
"description": "Tampilkan Wikiquote di templat",
"example": "q=no",
"type": "boolean",
"default": "yes"
},
"s": {
"label": "Wikisource",
"description": "Show Wikisource in the template",
"example": "s=no",
"type": "boolean",
"default": "yes"
},
"v": {
"label": "Wikiversity",
"description": "Show Wikiversity in the template",
"example": "v=no",
"type": "boolean",
"default": "yes"
},
"voy": {
"label": "Wikivoyage",
"description": "Show Wikivoyage in the template",
"example": "voy=no",
"type": "boolean",
"default": "yes"
},
"wikt": {
"label": "Wiktionary",
"description": "Show Wiktionary in the template",
"example": "wikt=no",
"type": "boolean",
"default": "yes"
},
"data": {
"label": "Wikidata",
"description": "Show Wikidata in the template",
"example": "data=no",
"type": "boolean",
"default": "yes"
},
"species": {
"label": "Wikispecies",
"description": "Show Wikispecies in the template",
"example": "species=no",
"type": "boolean",
"default": "yes"
}
},
"format": "inline",
"description": "Creates a table of interwiki links related to the current portal."
}
</templatedata>
 
<includeonly>{{sandbox other||
<!--Categories below this line, please; interwikis at Wikidata-->
[[Kategori:Templat pranala Interwiki]]
[[Kategori:Templat portal Wikipedia]]
 
[[cy:Nodyn:Wikimedia for portals]]
[[en:Template:Wikimedia for portals]]
[[es:Plantilla:WikimediaParaPortales]]
[[fa:الگو:ویکی‌مدیا برای درگاه‌ها]]
[[fr:Modèle:Wikimédia associés]]
[[ja:Template:WikimediaForPortals]]
[[pt:Predefinição:WikimediaForPortals]]
}}</includeonly>
[[ru:Шаблон:Викимедиа для порталов]]
[[vi:Bản mẫu:Wikimedia cho Chủ đề]]
[[zh:Template:主题关联维基媒体]]
</includeonly>
 
</includeonly>