Jump to content
Wikimedia Commons

Template:Extracted from

From Wikimedia Commons, the free media repository

العربية  беларуская (тарашкевіца)  বাংলা  нохчийн  čeština  Deutsch  Ελληνικά  English  Esperanto  español  eesti  euskara  فارسی  suomi  français  galego  עברית  हिन्दी  hrvatski  magyar  Bahasa Indonesia  italiano  日本語  қазақша  한국어  Lëtzebuergesch  македонски  മലയാളം  Nederlands  polski  português  português do Brasil  română  русский  slovenčina  slovenščina  svenska  ไทย  Türkçe  українська  اردو  Tiếng Việt  中文  中文(简体)  中文(繁體)  +/−

Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:Extracted from/doc.

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= }}

Or use the shorthand

Template parameters

ParameterDescriptionDefaultStatus
1SourceSource file (optional with namespace)emptyrequired
2CommentComment (instead of bot parameters)emptyoptional
3NoThumbWikitext replacing the source thumbnailemptyoptional
botUserBot userOnly used for Cropbot if parameter 2 is emptyemptyoptional
botUserCommentBot user commentOnly used for Cropbot if parameter 2 is emptyemptyoptional
by Original authorUser who created the source fileemptyoptional
4"by" modification with parameter 4 (or 3, or 2; or u or m) a code can be specifiedemptyoptional
pagepage number of pdf or djvu fileonly used for showing page of pdf or djvu fileemptyoptional

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 "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:

image extraction process
This file has been extracted from another file
: LA2-NSRW-1-0007.jpg

See also

Localization

العربية  беларуская (тарашкевіца)  বাংলা  нохчийн  čeština  Deutsch  Ελληνικά  English  Esperanto  español  eesti  euskara  فارسی  suomi  français  galego  עברית  हिन्दी  hrvatski  magyar  Bahasa Indonesia  italiano  日本語  қазақша  한국어  Lëtzebuergesch  македонски  മലയാളം  Nederlands  polski  português  português do Brasil  română  русский  slovenčina  slovenščina  svenska  ไทย  Türkçe  українська  اردو  Tiếng Việt  中文  中文(简体)  中文(繁體)  +/−

This template is localized through {{Autotranslate}}. The layout of the template can be found under Template:Extracted from/layout.

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.


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:

  • c for {{ Uc username }}
  • t for {{ Ut username }}
  • w for {{ Uw username }}
  • wt for {{ Uwt username }}

More examples

File namespace example

{{Extracted from|File:LA2-NSRW-1-0007.jpg}}

Produces:

image extraction process
This file has been extracted from another file
: LA2-NSRW-1-0007.jpg

Image namespace example

{{Extracted from|Image:LA2-NSRW-1-0007.jpg}}

Produces:

image extraction process
This file has been extracted from another file
: LA2-NSRW-1-0007.jpg

Media namespace example with by= named argument

{{Extracted from|Media:LA2-NSRW-1-0007.jpg|by=LA2}}

Produces:

image extraction process
This file has been extracted from another file
: LA2-NSRW-1-0007.jpg by LA2

Example with wikitext argument

{{Extracted from|LA2-NSRW-1-0007.jpg|wikitext}}

Produces:

image extraction process
This file has been extracted from another file
: LA2-NSRW-1-0007.jpg
wikitext

Example with explicit third unnamed argument

{{Extracted from|LA2-NSRW-1-0007.jpg|3=wikitext}}

Produces:

image extraction process
This file has been extracted from another file
: LA2-NSRW-1-0007.jpg
wikitext

Example with second and third unnamed arguments

{{Extracted from|LA2-NSRW-1-0007.jpg|2nd|3rd}}

Produces:

image extraction process
This file has been extracted from another file
: LA2-NSRW-1-0007.jpg
2nd 3rd

Example with blank unnamed third argument

{{Extracted from|LA2-NSRW-1-0007.jpg|3=}}

Produces:

image extraction process
This file has been extracted from another file
: LA2-NSRW-1-0007.jpg

Example with page argument for pdf and djvu files

{{extracted from|File:The Blight of Insubordination.djvu|page=111}}

Produces:

image extraction process
This file has been extracted from another file
: The Blight of Insubordination.djvu

AltStyle によって変換されたページ (->オリジナル) /