Bantuan:Pedoman pemula tentang transklusi: Perbedaan antara revisi

Konten dihapus Konten ditambahkan
Tidak ada ringkasan suntingan
Baris 46:
For example: If you were transcluding a chapter from <code>Index:My example book.djvu</code> which covers pages 20 to 35 of the scan (ie. pages <code>Page:My example book.djvu/20</code>, <code>Page:My example book.djvu/21</code>, ... <code>Page:My example book.djvu/35</code>) The code would be:
: <code><nowiki><pages</nowiki> index="My example book.djvu" from=20 to=35 header=1 <nowiki>/></nowiki></code>.
-->
 
==HeaderManual manualheader==
 
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.
 
TheUntuk addmenambahkan aheader manual header:
# Mulailah halaman baru dimana Anda ingin versi akhir dari teks untuk tampil.
# Start a new page at which you want the final version of the text to appear.
# Sunting halaman ini.
# Tambahkan kode header (ditunjukkan di bawah ini).
Baris 59:
# Simpan.
 
Kode header manual yang mesti ditambahkan diatas kode transklusi adalah:
The manual header code that needs to be added above the transclusion code is:
<pre>{{header
| title =
Baris 73:
Judul dan pengarang harusnya diisi. Lihat {{tl|header}} untuk informasi lebih lanjut.
 
TheKode transclusiontransklusi codesama isdengan justtransklusi thesederhana samekecuali as with the simple transclusion except thebagian "<code>header=1</code>" part is removeddibuang. (This is the part of the code that creates the "magic header".) ToUntuk makemembuatnya this easymudah, these codes arekodenya shownditunjukkan indi thisbawah tableini:
-->
 
{| class="wikitable" {{table style|mc}}