Lompat ke isi

Templat:Iklan Wikipedia/doc

Dari Wikipedia bahasa Indonesia, ensiklopedia bebas


purge

Templat ini menampilkan gaya pengumuman seperti spanduk situs, hampir seluruhnya dianimasi, untuk berbagai keperluan pemeliharaan, ProyekWiki, kebijaksanaan, panduan, proses pelaksanaan, seperti BintangWiki, artikel pilihan dan ringkasan suntingan.

Iklan berganti secara acak setiap kali halaman berubah, dan dapat diulang secara manual dengan menggunakan "iklan lainnya" yang terdapat di kanan-bawah kotak iklan. Dengan meng-klik iklan, anda akan dialihkan kehalaman yang dimaksud; "info berkas" akan membawa anda ke halaman penjelasan gambar.

Iklan pada halaman anda

Anda dapat menyertakan kotak iklan pada halaman pengguna atau halaman pembicaraan hanya dengan menyunting halaman anda dan menambahkan {{Wikipedia iklan}} pada tempat yang sesuai. Hal ini akan menghasilkan:

Parameter

Templat ini dengan sendirinya akan menampilkan iklan-iklan secara acak dari keseluruhan. Parameter berikut mendukung tampilan:

Parameter dan nilai Keterangan
ad=nomor iklan Hanya menampilkan iklan yang dimaksud.
linkcolor=color Merubah warna pranala (dalam bahasa Inggris).
color=color Merubah warna teks (dalam bahasa Inggris).
background=color Merubah warna latar belakang; templat ini pada dasarnya memiliki warna transparan.
float=position Iklan akan dijajarkan mengikuti teks, contoh float=right.
nolinks Menyembunyikan pranala dibawah templat. Harap hal ini dihindari, karena pranala ke "info berkas" merupakan cara satu-satunya untuk melihat informasi ijin dan kepemilikan dari sebuah berkas (pada dasarnya hal ini dapat pula dilakukan dengan meng-klik berkas tersebut).
navbox Menampilkan tabel iklan keseluruhan, dan bukan hanya satu atau sebagian.

Hiding the ads

If you do not wish to see these ads, you may hide them by adding the following code to your monobook.css:

.qxz-ads {display: none;}

Users of other skins should use the appropriate subpage for that skin (e.g. standard.css) instead.

Current ads

This template was conceived and implemented by Gurch and later rewritten by Svick. The images were created by many different users, as detailed below. (Individual images may have been edited by more than one user.)

If you would like an ad to be created for a particular page or project, one of the users listed below may wish to create it for you. Persian Poet Gal cannot take requests at this time. Master of Puppets is almost always open to requests; check their talk page.

Bear in mind that there are already dozens of ads in use; if the project you wish to promote already has one, feel free to suggest improvements or make your own replacement, but try to stick to one ad per project.

Click the "[show]" button in the box below to expand the list of all ads.

Templat:Wikipedia-adnavbox

Creating ads

If you wish to create ads yourself, you are welcome to do so. Alternatively, here is a guide to help you make the ads. In order that the template works properly, however, please ensure that the image is:

  • In GIF (multi-frame) or PNG (single-frame) format.
  • 468 pixels wide by 60 high.

Additionally, the following requirements must be met to ensure copyright and Wikipedia's image use policy are not violated:

  • If the image includes other images (a derivative work), it must only include images under a free license or in the public domain.
  • The image itself must be released under a free license or into the public domain.
  • Some free licenses specify that derivative works must also use that license (for example, Creative Commons Attribution Share-Alike 2.0). If an ad contains images under such a license, the ad itself must also be released under that license.
  • Non-free images can not be used.

The image may be uploaded locally or to Commons, but in either case the local image description page should exist and contain {{Wikipedia-adnavbox}}.

Bear in mind when creating animations that they can have large file sizes, and many contributors do not access Wikipedia through a high-speed connection. Try to keep each image to no more than a few hundred kilobytes in size.

Editing this template

This template is a little complex. Bear in mind that it is used on many userpages, so try not to break it.

Contact Svick if you need assistance with this.

Adding new ad

To create a new ad from an image you already uploaded and that satisfies the conditions above, edit this template following these steps:

  • Increase the first parameter (number of all ads) by one and remember the new value – it is the number of your ad.
  • Before the line full of numbers almost at the end of the code, add a line formatted like this:
| Image:Qxz-ad1.gif | Wikipedia:Barnstars | [[User:Gurch|Gurch]]
  • The first part is the ad image you already uploaded (including the Image: prefix).
  • The second part is the page on Wikipedia you want to link to.
  • The third part is your (the ad's author's) signature. (The signature can't contain | nor = that aren't inside a link or a template tag. They have to be replaced by {{!}} and {{=}} respectively.)
  • Append | and the number of your ad at the end of the line full of numbers.

Removing ad

To remove an ad, whose number you know, edit this template and:

  • Increase the second parameter (the number of inactive ads) by one.
  • Find the line full of numbers, almost at the end of the code and delete the number of the ad you want to remove, including one of the neighbouring |.