Module:Wikipedia ads/list
This module contains ad data for Module:Wikipedia ads. To add or remove an ad, you need to edit this module.
Adding ads
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 = <strong class="error"><span class="scribunto-error mw-scribunto-error-86afda0d">Lua error in Module:Wikipedia_ads/next_id at line 9: attempt to perform arithmetic on field 'id' (a nil value).</span></strong>,
image = "My banner image filename.gif",
link = "My project link",
author = "[[User:The author's username|The author's username]]"
},
{
id = <strong class="error"><span class="scribunto-error mw-scribunto-error-86afda0d">Lua error in Module:Wikipedia_ads/next_id at line 9: attempt to perform arithmetic on field 'id' (a nil value).</span></strong>,
image = "Wikipedian Peace Treatment Organization Ad.jpg",
link = "Wikipedia:Wikipedian Peace Treatment Organization",
author = "[[User:Copperwidth|Copperwidth]]"
},
Fields:
- id - The ID displayed above is calculated from the current ad list, so you shouldn't need to change it.
- image - The filename of the ad image, without "File:".
- link - The page that the image should link to. You can use interwiki prefixes, but you should not use square brackets.
- author - A wikilink or wikilinks for the user(s) who created the ad.
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]]"
Removing ads
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.
adslist = {
[1] = "50",
[2] = "1",
[3] = "File:Qxz-ad1.gif",
[4] = "Wikipedia:Barnstars",
[5] = "[[User:Gurch|Gurch]]",
[6] = "File:Qxz-ad2.gif",
[7] = "Help:Edit summary",
[8] = "[[User:AzaToth|AzaToth]]",
[9] = "File:Qxz-ad3.gif",
[10] = "Wikipedia:Featured article criteria",
[11] = "[[User:Gurch|Gurch]]",
[12] = "File:Qxz-ad4.png",
[13] = "Wikipedia:Upload",
[14] = "[[User:Gurch|Gurch]]",
[15] = "File:Qxz-ad5.png",
[16] = "Wikipedia:Maintenance",
[17] = "[[User:Gurch|Gurch]]",
[18] = "File:Qxz-ad6.gif",
[19] = "Wikipedia:Requested articles",
[20] = "[[User:Gurch|Gurch]]",
[21] = "File:Qxz-ad7.gif",
[22] = "Wikipedia:WikiProject Biography",
[23] = "[[User:Gurch|Gurch]]",
[24] = "File:Qxz-ad8.png",
[25] = "Wikipedia:WikiProject Blu-ray",
[26] = "[[User:Gurch|Gurch]]",
[27] = "File:Qxz-ad9.gif",
[28] = "Wikipedia:Disambiguation pages with links",
[29] = "[[User:Gurch|Gurch]]",
[30] = "File:Qxz-ad10.gif",
[31] = "Wikipedia:Criteria for speedy deletion",
[32] = "[[User:Master of Puppets|Master of Puppets]]",
[33] = "File:Qxz-ad11.gif",
[34] = "Wikipedia:Version 1.0 Editorial Team",
[35] = "[[User:Gurch|Gurch]]",
[36] = "File:Qxz-ad12.gif",
[37] = "Wikipedia:WikiProject Wikify",
[38] = "[[User:Gurch|Gurch]]",
[39] = "File:Qxz-ad13.gif",
[40] = "Wikipedia:Typo",
[41] = "[[User:Gurch|Gurch]]",
[42] = "File:Qxz-ad14.gif",
[43] = "Wikipedia:Peer review",
[44] = "[[User:Gurch|Gurch]]",
[45] = "File:Qxz-ad15.gif",
[46] = "Wikipedia:Please do not bite the newcomers",
[47] = "[[User:Gurch|Gurch]]",
[48] = "File:Qxz-ad16.gif",
[49] = "Wikipedia:Requests for adminship",
[50] = "[[User:Gurch|Gurch]]",
[51] = "File:Qxz-ad17.png",
[52] = "Wikipedia:Requests for comment",
[53] = "[[User:Gurch|Gurch]]",
[54] = "File:Qxz-ad18.gif",
[55] = "Wikipedia:Signatures",
[56] = "[[User:Gurch|Gurch]]",
[57] = "File:Qxz-ad19.gif",
[58] = "Wikipedia:WikiProject Spam",
[59] = "[[User:AzaToth|AzaToth]]",
[60] = "File:Qxz-ad20.gif",
[61] = "Wikipedia:List of cabals",
[62] = "[[User:AzaToth|AzaToth]]",
[63] = "File:Qxz-ad21.png",
[64] = "Wikipedia:Be bold in updating pages",
[65] = "[[User:Gurch|Gurch]]",
[66] = "File:Qxz-ad22.gif",
[67] = "Wikipedia:WikiProject Council/Directory",
[68] = "[[User:Gurch|Gurch]]",
[69] = "File:Qxz-ad23.gif",
[70] = "Wikipedia:WikiProject Pennsylvania",
[71] = "[[User:Gurch|Gurch]]",
[72] = "File:Qxz-ad24.gif",
[73] = "Wikipedia:Vandalism",
[74] = "[[User:Gurch|Gurch]]",
[75] = "File:Qxz-ad25.gif",
[76] = "Wikipedia:Department of Fun",
[77] = "[[User:AzaToth|AzaToth]]",
[78] = "File:Qxz-ad26.gif",
[79] = "Wikipedia:WikiProject Sailing vessels and rigging",
[80] = "[[User:Gurch|Gurch]]",
[81] = "File:Qxz-ad27.gif",
[82] = "Wikipedia:WikiProject Strategy games",
[83] = "[[User:Gurch|Gurch]]",
[84] = "File:Qxz-ad28.gif",
[85] = "Wikipedia:WikiProject Lemony Snicket",
[86] = "[[User:Gurch|Gurch]]",
[87] = "File:Qxz-ad29.gif",
[88] = "Wikipedia:WikiProject Radio",
[89] = "[[User:Gurch|Gurch]]",
[90] = "File:Qxz-ad30.gif",
[91] = "Wikipedia:WikiProject Armenia",
[92] = "[[User:Gurch|Gurch]]",
[93] = "File:Qxz-ad31.gif",
[94] = "Wikipedia:WikiProject Video games",
[95] = "[[User:Gurch|Gurch]]",
[96] = "File:Qxz-ad32.gif",
[97] = "Wikipedia:WikiProject Vancouver",
[98] = "[[User:Gurch|Gurch]]",
[99] = "File:Qxz-ad33.gif",
[100] = "Wikipedia:WikiProject Fact and Reference Check",
[101] = "[[User:Gurch|Gurch]]",
[102] = "",
[103] = "",
[104] = "",
[105] = "File:Qxz-ad35.gif",
[106] = "Wikipedia:WikiProject Afghanistan",
[107] = "[[User:Gurch|Gurch]]",
[108] = "File:Qxz-ad36.gif",
[109] = "Wikipedia:WikiProject England",
[110] = "[[User:AzaToth|AzaToth]]",
[111] = "File:Qxz-ad37.gif",
[112] = "Wikipedia:Tools/Navigation popups",
[113] = "[[User:Gurch|Gurch]]",
[114] = "File:Qxz-ad38.gif",
[115] = "Wikipedia:WikiProject Music",
[116] = "[[User:Gurch|Gurch]]",
[117] = "File:Qxz-ad39.png",
[118] = "Wikipedia:About",
[119] = "[[User:Kyokpae|Kyokpae]]",
[120] = "File:Qxz-ad40.gif",
[121] = "Wikipedia:Spotlight",
[122] = "[[User:Gurch|Gurch]]",
[123] = "File:Qxz-ad41.gif",
[124] = "Wikipedia:WikiProject Automobiles",
[125] = "[[User:OSX|OSX]]",
[126] = "File:Qxz-ad42.gif",
[127] = "Wikipedia:WikiProject Soft Drinks",
[128] = "[[User:OSX|OSX]]",
[129] = "File:Qxz-ad43.gif",
[130] = "Wikipedia:WikiProject Fraternities and Sororities",
[131] = "[[User:Miranda|Miranda]]",
[132] = "File:Qxz-ad44.gif",
[133] = "Wikipedia:Deletion discussions",
[134] = "[[User:Master of Puppets|Master of Puppets]]",
[135] = "File:Qxz-ad45.gif",
[136] = "Wikipedia:WikiProject U.S. Roads",
[137] = "[[User:Rschen7754|Rschen7754]]",
[138] = "File:Qxz-ad46.gif",
[139] = "Wikipedia:WikiProject Australia",
[140] = "[[User:Miranda|Miranda]]",
[141] = "File:Qxz-ad47.gif",
[142] = "Wikipedia:WikiProject Medicine",
[143] = "[[User:Miranda|Miranda]]",
[144] = "File:Qxz-ad48.gif",
[145] = "Wikipedia:WikiProject LGBT studies",
[146] = "[[User:Miranda|Miranda]]",
[147] = "File:Qxz-ad49.gif",
[148] = "Wikipedia:Motto of the day",
[149] = "[[User:Miranda|Miranda]]",
[150] = "File:Qxz-ad50.gif",
[151] = "Wikipedia:WikiProject Animation",
[152] = "[[User:Miranda|Miranda]]",
[153] = "1",
[154] = "2",
[155] = "3",
[156] = "4",
[157] = "5",
[158] = "6",
[159] = "7",
[160] = "8",
[161] = "9",
[162] = "10",
[163] = "11",
[164] = "12",
[165] = "13",
[166] = "14",
[167] = "15",
[168] = "16",
[169] = "17",
[170] = "18",
[171] = "19",
[172] = "20",
[173] = "21",
[174] = "22",
[175] = "23",
[176] = "24",
[177] = "25",
[178] = "26",
[179] = "27",
[180] = "28",
[181] = "29",
[182] = "30",
[183] = "31",
[184] = "32",
[185] = "33",
[186] = "34",
[187] = "35",
[188] = "36",
[189] = "37",
[190] = "38",
[191] = "39",
[192] = "40",
[193] = "41",
[194] = "42",
[195] = "43",
[196] = "44",
[197] = "45",
[198] = "46",
[199] = "47",
[200] = "48",
[201] = "49",
[202] = "50"
}
return adslist