সাহায্য:তথ্যছকের ছবি

উইকিপিডিয়া, মুক্ত বিশ্বকোষ থেকে

যদি একটি নিবন্ধের উপরে ডানদিকে ইতিমধ্যেই একটি তথ্যছক থাকে , তাহলে নিবন্ধের প্রথম ছবির জন্য স্বাভাবিক স্থানটি তথ্যছকের মধ্যে থাকে। এই পৃষ্ঠাটি কীভাবে সেই ছবি যুক্ত করবেন তা বর্ণনা করে। সন্দেহ হলে, এটি করার জন্য সঠিক সিনট্যাক্স একটি তথ্যছক থেকে অন্যটিতে পরিবর্তিত হয়।

This page assumes that the picture has already been uploaded to Wikipedia or to Wikimedia Commons; see Wikipedia:Uploading images.

তিনটি বা চারটি প্যারামিটার ব্যবহার[সম্পাদনা]

In these infoboxes, the image information is split up into three or four different parameters. This is the syntax used by {{Infobox person}}, {{Infobox officeholder}}, {{Infobox sportsperson}} and others. Here are the image parameters for {{Infobox person}}:

{{Infobox person
| image                     = 
| image_upright             = 
| alt                       = 
| caption                   = 
}}
  • image হলে চিত্রের নাম, abc.jpg, xpz.png, 123.gif, ইত্যাদি। File: বা Image: প্রিফিক্স অন্তর্ভুক্ত করবেন না, নামটি বন্ধনী এ সংযুক্ত করবেন না, ফাইলের নাম এক্সটেনশন তবে অন্তর্ভুক্ত করতে ভুলবেন না।
  • image_upright দৃষ্টি প্রতিবন্ধী পাঠকদের জন্য চিত্রের বর্ণনায় alt সেট করা উচিত। ছবির ক্যাপশন বা নিবন্ধের শিরোনামের অনুলিপির ব্যবহার করবেন না, কারণ পাঠক ইতিমধ্যেই এগুলি সম্পর্কে সচেতন হবেন ৷.
  • alt should be set to a description of the image for visually impaired readers. See WP:ALT. Do not use this for another copy of the caption or of the article title, as the reader will already be aware of these.
  • caption, if set, displays just below the image. Remember that the person's name is typically displayed just above the image anyway, so only include a caption if it has something extra to say. It may be helpful to include the date or place of the photo.

উদাহারণ[সম্পাদনা]

জিমি ওয়েলস
২০০৮ সালে ওয়েলস
{{Infobox person
|name=Jimmy Wales
|image=Jimmy Wales Fundraiser Appeal edit.jpg
|caption=Wales in 2008
}}

A real example would have other parameters as well.

ভিন্নতা[সম্পাদনা]

Some infoboxes use a syntax similar to this, but with different names for the parameters. For example, {{Infobox album}} uses "Cover" instead of "image" and "Caption" instead of "caption".

এক বা একাধিক প্যারামিটার ব্যবহার[সম্পাদনা]

In these infoboxes, the image information is combined into only one or two parameters. This is the syntax used by {{Infobox football club}}, {{Infobox military conflict}} and others. Here are the image parameters for {{Infobox football club}}:

{{Infobox football club
| image                     =
| caption                   = 
}}
  • image is a complete image placement specification as described in the Picture tutorial or at Wikipedia:Extended image syntax. The size should typically be set to 200px, and the image should be centred. Alt text should be included for visually impaired readers.
  • caption is displayed below the image.

উদাহারণ[সম্পাদনা]

তথ্যছক ফুটবল ক্লাব
A white football with black pentagons
লোগোটি ২০০৬ সালে চালু হয়েছিল
{{Infobox football club
|clubname    = Infobox Rovers
|image       = [[File:Football.svg|200px|center|alt=A white football]]
|caption     = The logo introduced in 2006
}}

সমস্যা সমাধান[সম্পাদনা]

I can't work out which set of parameters to use[সম্পাদনা]

When you edit the article, you should be able to find the text "{{Infobox" somewhere near the top. That line, without the pair of curly brackets, is the name of the infobox (If there's a vertical bar "|", then stop before that).

If you've found "Infobox connector", as an example, then type "Template:Infobox connector" into the Wikipedia search box to display the template definition and documentation.

The template documentation is unclear or missing[সম্পাদনা]

It happens. When you are on the template definition page, select "What links here" from within the Toolbox section on the left-hand side. This displays a list of articles that use the same infobox; some of these may help you work out what to do.

My image is displayed, but with extra square brackets and other nonsense[সম্পাদনা]

This typically happens when "image = [[File:.....]]" is used within an infobox that expects "image = just the name".

My image is displayed, but is inside an extra frame[সম্পাদনা]

Example chef
A typical result from this kind of error

This occurs when the "thumb" keyword is included in the file specification.

{{Infobox person
|name    = Example chef
|image   = [[File:William Orpen Le Chef de l'Hôtel Chatham, Paris.jpg|200px|thumb|center]] <!-- Error -->
|caption = A typical result from this kind of error
}}

I'm seeing the image name as plain black text[সম্পাদনা]

This may be because you have used the "image = just the name" syntax within an infobox that expects "image = [[File:.....]]".

My edits to a parameter are ignored[সম্পাদনা]

This could be a sign that the parameter name is not one of those recognized by the infobox that you are using. You should also check that the parameter is not being specified more than once, as only the last mention of a parameter has any effect.

I'm still stuck[সম্পাদনা]

Ask a question at the Wikipedia:Help desk, including the names of the article and the image.