साँचा:Fdw-iw/doc

मुक्त ज्ञानकोश विकिपीडिया से
नेविगेशन पर जाएँ खोज पर जाएँ

{{

 साँचा:namespace detect

| type = notice | image = | imageright = | class = | style = margin-bottom:1.0em; | textstyle = | text = साँचा:strong for साँचा:terminate sentence
It contains usage information, categories and other content that is not part of the original साँचा page. | small = | smallimage = | smallimageright = | smalltext = | subst = | date = | name = }} स्क्रिप्ट त्रुटि: "redirect hatnote" ऐसा कोई मॉड्यूल नहीं है।

Purpose

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

साँचा:tlx is an alias for साँचा:tlx, and they work identically. If using the default settings for images being deleted from Wikimedia Commons, it may be less confusing to use साँचा:tl, and only use साँचा:tl when notifying users about deletions on other wiki projects ('iw' is an abbreviation for [[w:en:Wikipedia:Interwiki|]]).

Usage

For an image on Wikimedia Commons being discussed for deletion:

{{subst:fdw-commons|Image_or_Media_Name.jpg}}

For an image on Wikimedia Commons along with an optional message:

{{subst:fdw-commons|filename=Image_or_Media_Name.jpg|msg=There are copyright concerns.}}

For an image on the French Wikipedia being discussed for deletion:

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

Attributes

Required attributes:

  • |filename=  — The basic file name, including any file extension (.png, .svg, .ogg, etc.)
    • There is no default value, and the template will display "{{{1}}}" if no filename is provided
    • The attribute title, "filename=", may be omitted unless the filename includes an equal symbol ("=")

Optional attributes:

  • |localfilename=  — 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.
  • |transferred=true  — 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)
  • |fullfilename=  — 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.
  • |msg= — An optional message you wish to include that appears immediatly before your signature (template default is "Thank you.")
  • |subst=साँचा:tl  — 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:
If you do not enter an attribute, it will default to the standard used at Commons.

  • |iw=  — The interwiki link to the site (template default is "commons:", the French Wikipedia would be "w:fr:", and the French Wiktionary would be "wikt:fr:")
  • |projectname=  — The namespace where deletion requests are found ("hiwiki" here; template default is "Commons", the French Wikipedia would be "Wikipédia")
  • |sitename=  — The common or simple name of the site (the template uses projectname by default if not specified)
  • |sitefullname=  — Full name of the site, usually including the language if applicable ("hiwiki" here; template default is "Wikimedia Commons", the French Wikipedia would be "Wikipédia en français")
  • |delreqname=  — What the "deletion requests" page is called there (template default is "Deletion requests", the French Wikipedia uses "Images à supprimer")
  • |delreqsubname=  — The explicit path to where the discussion can be found (see note below; template default is "/{{CURRENTYEAR}}/{{CURRENTMONTH}}#", the French Wikipedia uses just a slash |delreqsubname=/ 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:

{{subst:CURRENTYEAR}}/{{subst:CURRENTMONTH}}