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>.
-->▼
==
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.
# Mulailah halaman baru dimana Anda ingin versi akhir dari teks untuk tampil.
# Sunting halaman ini.
# Tambahkan kode header (ditunjukkan di bawah ini).
Baris 59:
# Simpan.
Kode header manual yang mesti ditambahkan diatas kode transklusi adalah:
<pre>{{header
| title =
Baris 73:
Judul dan pengarang harusnya diisi. Lihat {{tl|header}} untuk informasi lebih lanjut.
▲-->
{| class="wikitable" {{table style|mc}}
|