Bantuan:Pedoman pemula tentang transklusi: Perbedaan antara revisi
Konten dihapus Konten ditambahkan
kTidak ada ringkasan suntingan |
Tidak ada ringkasan suntingan |
||
Baris 7:
}}
{{terjemah}}
<!-- BAGIAN DI BAWAH INI SEDANG DALAM PROSES DITERJEMAHKAN▼
==
"Transklusi" adalah cara kita mendapatkan teks dari [[Bantuan:Ruang nama|ruang nama]] Halaman ke ruang nama utama. Ruang nama Halaman adalah tempat teks hendak diuji-baca. Ruang nama utama adalah tempat teks akan dibaca.
==Kapan mentransklusikan==
Waktu yang tepat untuk mentransklusi teks ke ruang nama utama adalah ketika seluruh halaman telah divalidasi ([[Bantuan:Status halaman|status halaman]] hijau) dan semua halaman telah diuji-baca.
Sometimes it can help with the proofreading if you can see what the final version will look like in the main namespace. If so, you can transclude pages to the main namespace before the proofreading is all done. As the main namespace is the one we want people to read, we would like it to look as neat and tidy as possible. So please try to only transclude text that is in as good a condition as possible.
==Transklusi sederhana==
Untuk memulai transklusi:
# Mulailah sebuah halaman baru tempat Anda ingin melihat versi akhir dari teks untuk dimunculkan.
#
# Tambahkan kode transklusi (ditunjukkan di bawah ini).
#
Kode yang digunakan tergantung dari berapa jumlah halaman yang mau Anda transklusikan ke satu halaman.
{| class="wikitable" {{table style|mc}}
|+ Kode transklusi
!
|-
|
|-
|
|}
▲<!-- BAGIAN DI BAWAH INI SEDANG DALAM PROSES DITERJEMAHKAN
The red text needs to be changed to the details for your work and the pages you want to transclude:
* The filename is the name used for the Index page and the page scan file.
Baris 47:
: <code><nowiki><pages</nowiki> index="My example book.djvu" from=20 to=35 header=1 <nowiki>/></nowiki></code>.
==Header manual==
The simple transclusion uses a "magic header" that takes information from the Index page to create the header seen at the top of the page. If there is a problem with this header or you want more control, you may need to add a manual header instead.
Baris 54 ⟶ 53:
The add a manual header:
# Start a new page at which you want the final version of the text to appear.
#
#
# Isilah bagian-bagian header tersebut.
# Tambahkan kode transklusi (ditunjukkan di bawah ini).
#
The manual header code that needs to be added above the transclusion code is:
Baris 72 ⟶ 71:
| notes =
}}</pre>
The transclusion code is just the same as with the simple transclusion except the "<code>header=1</code>" part is removed. (This is the part of the code that creates the "magic header".) To make this easy, these codes are shown in this table:
-->▼
{| class="wikitable" {{table style|mc}}
|+
!
|-
|
|-
|
|}
==
Masih banyak hal lain yang dapat dilakukan dengan transklusi. Anda dapat mengecualikan atau melewati halaman. Anda juga dapat saja mentransklusi sebagian teks. Untuk lebih lanjutnya mengenai hal ini, lihat [[Bantuan:Transklusi]].
▲-->
[[en:Help:Beginner's guide to transclusion]]
|