User:OgreBot/gallery

From Wikimedia Commons, the free media repository
Jump to: navigation, search
format
  • To add a category, edit this page and type as follows: * [[categoryname1]], [[categoryname2]], ... [[categorynamen]] | [[outputpage]] | PIXEL_WIDTHxPIXEL_HEIGHT OPTION1, OPTION2, OPTION3 | [[subcategoryomitted1]] | [[subcategoryomitted2]] | ... [[subcategoryomittedn]]
  • The pixel width and pixel height are now optional. If you want to specify a width and/or height, the bot will understand 100x100 (width=100px, height=100px), 100x (width=100px, height=undefined), x100 (width=undefined, height=100px), or just omitting the field altogether (width=undefined, height=undefined). See m:Help:Images and other uploaded files#Gallery for details on how it will appear with or without the widths and heights parameter.
  • Currently, the bot supports four options.
    • NO_SUBPAGE, which will instruct the bot not to create subpages. You should choose this option if you believe there will be no more than a few uploads in your category per month; otherwise, your gallery will become too big.
    • DAYS_PER_GALLERY(n), where n is the maximum number of days in a single gallery page. The bot always runs on a per-month basis, so any number greater than 31 is treated like 31 (i.e., one category month). The default is 11, which means that there will always be three galleries per month. This option will be ignored if the NO_SUBPAGE option is used.
    • WARNING, which will affix the template User:OgreBot/gallery/notice to the top of the gallery. This is primarily for categories which might inadvertently cause offense or libel.
    • NO_INDEX which will affix the code __NOINDEX__ to the top of the gallery. See mw:Noindex.