Template:Extracted from
Lua error in Module:Autotranslate at line 77: No fallback page found for autotranslate (base=Redirects/i18n, lang=⧼lang⧽).
Display the source of an extracted, e.g., cropped, file.
The template automatically sets the following categories:
Extracted images
(or Extracted images with broken file links)
Usage
{{Extracted from |1= }}
Template parameters
Parameter | Description | Default | Status | |
---|---|---|---|---|
1 | empty | required | ||
2 | empty | optional | ||
3 | empty | optional | ||
botUser | empty | optional | ||
botUserComment | empty | optional | ||
by | empty | optional | ||
4 | empty | optional |
Additional information
The template is intended to be used in the following namespaces: the File namespace
The template is intended to be used by the following user groups: all users
Placement: In the "⧼wm-license-information-source⧽" parameter of the {{Information}} template (or the respective parameter of similar templates) or just below this template
Example
{{Extracted from|LA2-NSRW-1-0007.jpg}}
renders as:
Lua error in Module:Autotranslate at line 77: No fallback page found for autotranslate (base=Extracted from, lang=⧼lang⧽).
⧼Seealso⧽
- {{Extracted from deleted}}: when the source image no longer exists
- {{Extract image}}: candidated for image extraction
- {{Image extracted}}: for source of extracted image
- {{Derivative versions}}: for derivative file versions in general
- {{Derived from}}: complements {{Derivative versions}} to list the derivative's source files
- {{Retouched picture}}
- {{ExtractedFromNSRW}}: images from The New Student's Reference Work.
Localization
This template is localized through {{Autotranslate}}.
To add your language to the list of languages supported by this template, please copy the code of Template:Extracted from/en (or any other language version you prefer to translate) and replace the text strings in there (the form below can be used to create a translation, the English version is preloaded in the edit box). Please change the parameter lang
from en
(or whatever language you are translating) to the language code of your language.
<inputbox> type=create preload=Template:Extracted from/en default=Template:Extracted from/⧼Lang⧽ </inputbox>
The 3 parameters "1", "2" and "3" MUST be defined in the language subpages, see how in the source code of {{Extracted from/en}} for example.
"by" modification
The user name specified with "by=" is modifyable: either by complete coding {{ U | username }}, or by a modification code.
That code can be specified with either u=, m=, 4=, 3= or 2=.
The possible code values to avoid the redlink when a user name is missing are:
More examples
File namespace example
{{Extracted from|File:LA2-NSRW-1-0007.jpg}}
Produces: Lua error in Module:Autotranslate at line 77: No fallback page found for autotranslate (base=Extracted from, lang=⧼lang⧽).
Image namespace example
{{Extracted from|Image:LA2-NSRW-1-0007.jpg}}
Produces: Lua error in Module:Autotranslate at line 77: No fallback page found for autotranslate (base=Extracted from, lang=⧼lang⧽).
Media namespace example with by= named argument
{{Extracted from|Media:LA2-NSRW-1-0007.jpg|by=LA2}}
Produces: Lua error in Module:Autotranslate at line 77: No fallback page found for autotranslate (base=Extracted from, lang=⧼lang⧽).
Example with wikitext argument
{{Extracted from|LA2-NSRW-1-0007.jpg|wikitext}}
Produces: Lua error in Module:Autotranslate at line 77: No fallback page found for autotranslate (base=Extracted from, lang=⧼lang⧽).
Example with explicit third unnamed argument
{{Extracted from|LA2-NSRW-1-0007.jpg|3=wikitext}}
Produces: Lua error in Module:Autotranslate at line 77: No fallback page found for autotranslate (base=Extracted from, lang=⧼lang⧽).
Example with second and third unnamed arguments
{{Extracted from|LA2-NSRW-1-0007.jpg|2nd|3rd}}
Produces: Lua error in Module:Autotranslate at line 77: No fallback page found for autotranslate (base=Extracted from, lang=⧼lang⧽).
Example with blank unnamed third argument
{{Extracted from|LA2-NSRW-1-0007.jpg|3=}}
Produces: Lua error in Module:Autotranslate at line 77: No fallback page found for autotranslate (base=Extracted from, lang=⧼lang⧽).