Template:WikiQueer ads/Helper/doc

This is a helper template for Template:WikiQueer ads, it isn't intended to be used anywhere else. Parameters (see below) consist of list of ads and optionally formatting of the resulting ad. This template can also display list of all ads and their authors. It was created so that changes to the list of ads could be made easily.

Note: because of current implementation, the table of ads will display at most 400 ads. Displaying of individual ads is not affected.

Usage

 * First parameter is count of all ads (including inactive).
 * Second parameter is count of inactive (e.g. deleted) ads.
 * Follows list of triplets of parameters, each specifying one ad (including inactive ones) and consisting of:
 * name of the ad image,
 * page where the ad should link,
 * ad author's signature. (Beware that the signature can't contain | nor = that aren't inside link or template call. They have to be replaced by ! and = respectively.)
 * List of numbers of active ads.
 * Optional parameters ad, linkcolor, color, background, float and nolinks  that have the same meaning as in Template:WikiQueer ads.
 * Optional parameter navbox</tt>. If the value of this parameter is nonempty string (e.g. yes</tt>), table of all active ads will be dislayed instead of one ad.

Examples
This example shows defining four ads, where ad #3 is disabled and won't be shown, except when requested specifically by parameter ad = 3</tt>, with green background and black text.

This example is the same as above except of added navbox</tt> parameter. The result is table of all active ads. Note that formatting parameters are ignored.