Template:WikiQueer ads/doc

This template displays web banner-style advertisements, almost all of which are animated, for various WikiQueer maintenance collaborations, WikiProjects, policies, guidelines, processes and practises, such as barnstars, featured articles and edit summaries. The ads rotate at random each time the page is changed, and can be cycled manually by clicking the "show another" button in the bottom-right corner of the box. Clicking on the ad will take you to a relevant page; to view the image description page, click the "file info" link.

Ads on your page
To include the ad box on your userpage or talk page, simply edit your page and add in the appropriate place. This will produce:

Parameters
By default, the template will show ads taken at random from the entire collection. The following parameters are supported:

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

Current ads
This template was conceived and implemented on Wikipedia 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.)

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.

Creating ads
If you wish to create ads yourself, you are welcome to do so. For Apple Mac OS X user, click here for instructions. Alternatively, for Microsoft Windows users, click here for instructions. In order that the template works properly, however, please ensure that the image is 468 pixels wide by 60 high.

Additionally, the following requirements must be met to ensure copyright and WikiQueer'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 WikiQueer-adnavbox.

Bear in mind when creating animations that they can have large file sizes, and many contributors do not access WikiQueer 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.

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:
 * File:Qxz-ad1.gif | WikiQueer:Barnstars | Gurch
 * The first part is the ad image you already uploaded (including the File: prefix).
 * The second part is the page on WikiQueer you want to link to.
 * The third part is your (the ad's author's) signature. (The signature can contain neither | 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 |.