Template:Fdw-iw/doc

Purpose
Used to notify someone who either uploaded or modified an image to Wikimedia Commons (or any other Wikimedia Foundation wiki project). Wikimedia Commons is the default project, and you need only the ' ' attribute (and possibly ' ') for files located on Commons. For other projects, you will need to add additional attributes.

is an alias for, and they work identically. If using the default settings for images being deleted from Wikimedia Commons, it may be less confusing to use fdw-commons, and only use fdw-iw when notifying users about deletions on other wiki projects ('iw' is an abbreviation for Interwiki).

Usage
For an image on Wikimedia Commons being discussed for deletion&#58;

&#123;{subst:fdw-commons&#124;Image_or_Media_Name.jpg}&#125;

For an image on Wikimedia Commons along with an optional message&#58;

&#123;{subst:fdw-commons&#124;filename=Image_or_Media_Name.jpg|msg=There are copyright concerns.}&#125;

For an image on the French Wikipedia being discussed for deletion&#58;

&#123;{subst:fdw-iw&#124;iw=w:fr:&#124;projectname=Wikipédia&#124;sitefullname=Wikipédia en français&#124;delreqname=Images à supprimer&#124;delreqsubname=/&#124;filename=Image_or_Media_Name.jpg}&#125;

Attributes
Required attributes&#58;
 * — The basic file name, including any file extension (.png, .svg, .ogg, etc.)
 * There is no default value, and the template will display "  " if no filename is provided
 * The attribute title, " ", may be omitted unless the filename includes an equal symbol ("=")

Optional attributes&#58;
 * — The site's local filename (probably the name originally used to upload the file) if the file was transfered to a different wiki and uses a different there. It also generates wording mentioning that the file was transferred to the other site.
 * — Generates additional wording mentioning that the file was transferred to the other site (use instead of 'localfilename' if the file names are identical on both sites)
 * — The complete filename, including the interwiki and language codes, the "File:" designator, the file name, and file extension (.png, .svg, .ogg, etc.); there is no default value.
 * — An optional message you wish to include that appears immediatly before your signature (template default is "Thank you.")
 * — Prevents fully substitutting variables| and parser functions into the message for use when demonstrating or testing the template

Attributes used if the image is located anywhere other than on Wikimedia Commons&#58;

If you do not enter an attribute, it will default to the standard used at Commons.
 *   — The interwiki link to the site (template default is " ", the French Wikipedia would be " ", and the French Wiktionary would be " ")
 *   — The namespace where deletion requests are found ("    " here; template default is "Commons", the French Wikipedia would be "Wikipédia")
 * — The common or simple name of the site (the template uses  by default if not specified)
 * — Full name of the site, usually including the language if applicable ("" here; template default is "Wikimedia Commons", the French Wikipedia would be "Wikipédia en français")
 * — What the "deletion requests" page is called there (template default is "Deletion requests", the French Wikipedia uses "Images à supprimer")
 * — The explicit path to where the discussion can be found (see note below; template default is "/&#123;{CURRENTYEAR}&#125;/&#123;{CURRENTMONTH}&#125;#", the French Wikipedia uses just a slash  since it does not subcategorize by date)

Note: If you include a date/time-based variable as shown in the example for 'delreqsubname' (as opposed to entering the date manually), be sure to substitute the date variables like this: /

{{#ifeq: {{SERVERNAME}} | en.wikipedia.org |

Related templates
For deletion notices of files on this wiki&#58; }}
 * Use &#123;{fdw&#124;filename.jpg}&#125; for individual files
 * Use &#123;{fdw-multi&#124;file1.jpg&#124;file2.jpg&#124;etc.}&#125; for multiple files (up to 26 currently)