Template:Crop for Wikidata: Difference between revisions

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
Content deleted Content added
No edit summary
+translation: sl
Line 67: Line 67:
-->欄に[https://commons.wikimedia.org/w/index.php?title={{iffile|{{FULLPAGENAMEE}}}}&action=edit 追記]します。
-->欄に[https://commons.wikimedia.org/w/index.php?title={{iffile|{{FULLPAGENAMEE}}}}&action=edit 追記]します。
* 新しいファイルを画像としてウィキデータのアイテムに[[:Wikidata:{{{1|}}}|追加]]します
* 新しいファイルを画像としてウィキデータのアイテムに[[:Wikidata:{{{1|}}}|追加]]します

|sl=Predlagano je bilo, da se del te slike obreže, tako da se bo lahko obrezani del uporabil kot samostojna slika za <!--
-->{{#invoke:Wikidata|getLabel|link=wikidata|entity={{{1|}}}}}.
: ''{{#switch: {{{2|}}} <!--
-->| missing = {{font color|red|'''Nujno potrebna so navodila za obrez!''' Ni drugega načina&nbsp;...}} <!--
-->Glejte [[Template:Crop for Wikidata|dokumentacijo]]. <!--
-->| <!-- empty --> = {{font color|red|Naveden ni noben podatek o obrezu!}} <!--
-->Glejte [[Template:Crop for Wikidata|dokumentacijo]]. <!--
-->| <!-- default --> '''Crop instructions''': {{{2}}} }}''
<!-- -->Če boste sliko obrezali,
* [https://commons.wikimedia.org/w/index.php?title={{iffile|{{FULLPAGENAMEE}}}}&action=edit skopirajte] metapodatke <!--
-->te datoteke in jo naložite s <!--
-->[https://commons.wikimedia.org/w/index.php?title=Special:Upload&uploadformstyle=basic tem obrazcem za nalaganje] <!--
-->z »{{tlx|Extracted from|{{FULLPAGENAME}}}}«, pripetim v polju vira,
* [https://commons.wikimedia.org/w/index.php?title={{iffile|{{FULLPAGENAMEE}}}}&action=edit dodajte] <!--
-->v polje ''druge različice'' te datoteke dodajte {{tlx|Image extracted|xxx.ext}}
* [[:Wikidata:{{{1|}}}|dodajte]] novo datoteko kot sliko v predmet Wikipodatkov.
}}
}}


Line 76: Line 93:
|ja=JPEGをトリミングする場合は[[toollabs:|ウィキメディア・ツール・ラボ]]の[//tools.wmflabs.org/croptool?title={{FULLPAGENAMEE}} CropTool]、または[[:ja:GIMP|GIMP]]、[[:ja:ImageMagick|ImageMagick]]、[[:ja:IrfanView|IrfanView]]、[[:ja:XnView|XnView]]といった劣化が少ないトリミングツールを使用することをお勧めします。詳しい情報は[[Commons:Media for cleanup|Media for cleanup]]を参照して下さい。
|ja=JPEGをトリミングする場合は[[toollabs:|ウィキメディア・ツール・ラボ]]の[//tools.wmflabs.org/croptool?title={{FULLPAGENAMEE}} CropTool]、または[[:ja:GIMP|GIMP]]、[[:ja:ImageMagick|ImageMagick]]、[[:ja:IrfanView|IrfanView]]、[[:ja:XnView|XnView]]といった劣化が少ないトリミングツールを使用することをお勧めします。詳しい情報は[[Commons:Media for cleanup|Media for cleanup]]を参照して下さい。
|ml=JPEG ചിത്രങ്ങൾ മുറിക്കുമ്പോൾ, ചിത്രത്തിന്റെ പിക്സലുകൾ നഷ്ടപ്പെടാതെ മുറിക്കാൻ കഴിയുന്ന ഉപകരണങ്ങളായ [[:en:jpegtran|ജെപെഗ്ട്രാൻ]] അല്ലെങ്കിൽ [[:en:IrfanView|ഇർഫാൻവ്യൂ]] ഉപയോഗിക്കുക. [[User:Cropbot|ക്രോപ്പ്ബോട്ട്]] എന്ന ഉപകരണവും ഉപയോഗിക്കാവുന്നതാണ്. സഹായത്തിന് [[Commons:Media for cleanup|കോമൺസ്:ശരിയാക്കാനുള്ള മീഡിയകൾ]] എന്ന താൾ കാണുക.
|ml=JPEG ചിത്രങ്ങൾ മുറിക്കുമ്പോൾ, ചിത്രത്തിന്റെ പിക്സലുകൾ നഷ്ടപ്പെടാതെ മുറിക്കാൻ കഴിയുന്ന ഉപകരണങ്ങളായ [[:en:jpegtran|ജെപെഗ്ട്രാൻ]] അല്ലെങ്കിൽ [[:en:IrfanView|ഇർഫാൻവ്യൂ]] ഉപയോഗിക്കുക. [[User:Cropbot|ക്രോപ്പ്ബോട്ട്]] എന്ന ഉപകരണവും ഉപയോഗിക്കാവുന്നതാണ്. സഹായത്തിന് [[Commons:Media for cleanup|കോമൺസ്:ശരിയാക്കാനുള്ള മീഡിയകൾ]] എന്ന താൾ കാണുക.
|sl=Če obrezujete JPEG, je na splošno priporočljivo, da to storite z brezizgubnim orodjem za obrezovanje, kot so [//tools.wmflabs.org/croptool?title={{FULLPAGENAMEE}} CropTool] v Wikimedia Toolforgu, [[:en:Adobe Photoshop|Photoshop]], [[:en:Affinity Photo|Affinity Photo]], [[:en:Libjpeg#jpegtran|jpegtran]] ali v nekaterih primerih [[:en:GIMP|GIMP]], [[:en:ImageMagick|ImageMagick]], [[:en:IrfanView|IrfanView]], [[:en:XnView|XnView]]. Za več pomoči glejte stran [[Commons:Media for cleanup|Media for cleanup]].
}}
}}



Revision as of 03:41, 22 January 2023

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

This template is used to request that a portion of the image be extracted to a separate file; once created, the cropped portion can be used to set property “image” (P18) on the Wikidata item indicated.

The template automatically sets the following categories: Crop for Wikidata or Crop for Wikidata/Instructions needed

Usage

{{Crop for Wikidata |1= |2= }}

Indicate the Wikidata Q item number for which an image is sought. As a second argument, provide as much details as necessary to indicate which part of the picture needs to be extracted.

Template parameters

ParameterDescriptionDefaultStatus
1QitemWikidata item number. Example: Q5551050emptyrequired
2Cropping instructionsInformation about area of the picture to be extracted. If set to missing, will display a different message and rather categorize picture in Category:Crop for Wikidata/Instructions neededemptyoptional
<templatedata>JSON</templatedata> ./. {{TemplateBox}}
TemplateData

TemplateData is a way to store information about template parameters (the description of those and of the whole template) for both humans and machines. It is used by VisualEditor and possibly other tools like Upload Wizard.


Existing template documentation
At Wikimedia Commons, it is recommended to use {{TemplateBox}} with either ‎useTemplateData=1 or ‎useTemplateData=only on the ‎/doc subpage and transcluding it with {{Documentation}} into the template. ‎<nowiki>-tags can be wrapped around the arguments, if required, to avoid templates being expanded.

Newly created template documentation and imports
Another option, especially for imported templates, or for users with JSON experience, is placing raw ‎<templatedata>-tags into the Wikitext of the template, as described in various Wikipediae.


Wikipedia's help about TemplateDataCommons-specific information

This template is used to request that a portion of the image be extracted to a separate file; once created, the cropped portion can be used to set property “image” (P18) on the Wikidata item indicated.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Qitem1

Wikidata item number. Example: ''Q5551050''

Linerequired
Cropping instructions2

Information about area of the picture to be extracted. If set to “missing”, will display a different message and rather categorize picture in category “Crop for Wikidata/Instructions needed”

Lineoptional

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 "Permission" parameter of the {{Information}} template (or the respective parameter of similar templates) or in the "Licensing" section

Example

{{Crop for Wikidata| Q382775 | Capture a head and chest shot of the second person from the left}}

renders as:

See also

Localization

العربية  Deutsch  English  Esperanto  日本語  македонски  slovenščina  +/−

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

To add your language to the list of languages supported by this template, please copy the code of Template:Crop for Wikidata/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.