![]() | This is a
documentation
subpage for
Module:Wikipedia ads/list. It may contain usage information, categories and other content that is not part of the original module page. |
This module contains ad data for Module:Wikipedia ads. To add or remove an ad, you need to edit this module.
To add a new banner ad, you first need to create the ad image, and upload it to the English Wikipedia or to Wikimedia Commons. For instructions on how to do this, see Template:Wikipedia ads#Creating ads. Once you have created and uploaded the image, edit this module and add the following code on a new line just before the very last closing curly bracket on the page:
{
id = 292,
image = "My banner image filename.gif",
link = "My project link",
author = "[[User:The author's username|The author's username]]"
},
{
id = 292,
image = "Wikipedian Peace Treatment Organization Ad.jpg",
link = "Wikipedia:Wikipedian Peace Treatment Organization",
author = "[[User:Copperwidth|Copperwidth]]"
},
Fields:
The input should go between the double quote marks (""). If any of your input contains double quotes, you can escape them by using a backslash, like this:
author = "[[User:Austin \"Danger\" Powers|Austin \"Danger\" Powers]]"
To remove an ad, simply remove its table from the module. (That's the six lines including opening curly bracket, id, image, link, author, and closing curly bracket.) The other ads will be re-ordered automatically. Note that if any users have explicitly specified that ad in {{ Wikipedia ads}} then the module will generate an error of "ID 'id' does not exist", and the transcluding page will show up in Category:Wikipedia ads templates with errors.