Module:Wikipedia ads/list/doc

This module contains ad data for Module:Wikipedia ads. To add or remove an ad, you need to edit this module.

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 = 299,
		image = "My banner image filename.gif",
		link = "My project link",
		author = "[[User:The author's username|The author's username]]"
	},
	{
		id = 299,
		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.


Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.