Module:Clean image/doc

This is the current revision of this page, as edited by Alex (talk | contribs) at 23:12, 15 October 2024 (Created page with "{{Documentation}} Cleans an input image to prevent double linking. {{Helper module |name=Clean image |fname1=clean(args) |ftype1=string |fuse1=Input args is a table with fields: * <code>file</code> - the full wikitext to be cleaned. All processing is skipped if file is empty or is the string <code>no</code>. * <code>width</code> - width to resize the file to; no default * <code>height</code> - height to resize the file to, can be combined with width; no default * <code>..."). The present address (URL) is a permanent link to this version.

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This is the documentation page for Module:Clean image

This is a documentation subpage for Module:Clean image.
It contains usage information, categories, and other content that is not part of the original module page.
Module:Clean image's function main is invoked by Template:Clean image.
Module:Clean image requires Module:Paramtest.

Cleans an input image to prevent double linking.

This module is a helper module to be used by other modules; it may not designed to be invoked directly. See RuneScape:Lua/Helper modules for a full list and more information.

FunctionTypeUse
clean(args)stringInput args is a table with fields:
  • file - the full wikitext to be cleaned. All processing is skipped if file is empty or is the string no.
  • width - width to resize the file to; no default
  • height - height to resize the file to, can be combined with width; no default
  • link - what page to link the file to; no default (file will link to file page), 'no' to link to nothing