پرش به محتوا

الگو:Selected picture

از ویکی‌پدیا، دانشنامهٔ آزاد
[[File:{{{image}}}|center|250px|]]

{{{text}}}

نگاه‌های بیشتر...

حافظهٔ نهان سرور را پاکسازی کنید

توضیحات الگو[نمایش] [ویرایش] [تاریخچه] [پاکسازی]

This template is used to configure the articles found in the Selected picture section found on most Wikipedia Portal main pages. Used it on the article pages that are linked to the Selected picture sub-page, e.g. Portal:Foo/Selected picture/1. For the quickest and easiest way to create the Portal:Foo/Selected bar sub-page and related article links, use one of the {{Numbered subpages}} templates.

الگو

[ویرایش]
{{Selected picture
| image      = 
| size       = 
| caption    = 
| gallery    = 
| location   = 
| text       = 
| credit     = 
| link       = 
| page       = 
| archive    =
| framecolor =
}}

استفاده

[ویرایش]

It is unnecessary to include braces, quotation marks or other wiki-markup in the template. The |text= and |source= fields do allow the use of wiki-markup at the contributor's discretion.

  • image - Places an image relating to the subject of the article on the left side of the section.
  • size - Sets the image size, if left out or left blank it will default to 250px.
  • caption - Sets the Alt text ( ویکی‌پدیا:متن جایگزین برای تصاویر), which briefly describes the image, and is spoken or braille-printed by screenreader software.
  • gallery - A "yes" will activate the gallery option
  • location- Location of gallery on Wikipedia
  • credit - Use this to credit the source or photographer that created the image
  • text - A brief summary of the subject, positioned below the image.
  • link - Sets the link in the Read more... that points to the full article.
  • page - Set an auxiliary page for the More selected foo if the sub page is at another location such as Selected image.
  • archive - Using this field with a value of no will remove the More selected pictures... link in the lower left corner. Use this field if you are using the |footer= parameter in the {{random box-header subpage}} template on the main portal page.
  • framestyle - The style of the frame (border). Choose from dotted, dashed, solid, double, groove, ridge, inset, and outset. Default value is ridge.
  • framecolor - Color of the image frame; defaults to #177245 (dark spring green).

نمونه‌ها

[ویرایش]
{{Selected picture
| image    = Orange juice 1 edit1.jpg
| size     = 250px
| caption  = لیوانی در حال لبریز شدن از آب پرتقال
| text     = یک لیوان آب پرتقال 
| credit   = [[وزارت کشاورزی ایالات متحده آمریکا]]
| link     = Orange juice
}}

تولید خواهد شد:

لیوانی در حال لبریز شدن از آب پرتقال
لیوانی در حال لبریز شدن از آب پرتقال
Credit: وزارت کشاورزی ایالات متحده آمریکا

یک لیوان آب پرتقال

نگاه‌های بیشتر... اطلاعات بیشتر...

نگارخانه (گالری)

[ویرایش]
{{Selected picture
| image    = Panthera tigris sumatran subspecies.jpg
| size     = 
| caption  = A sunlit Sumatran tiger lying in short grass ...
| text     = The '''[[ببر سوماترایی]]''' (''Panthera tigris''...
| gallery  = yes
| location = Wikipedia:WikiProject_Cats/Gallery
| credit   = [[User:Dixi|Monika Betley]]. [[commons:Template:Potd/2004-12#5|A Featured picture of the day.]]
| link     = Sumatran tiger
}}

تولید خواهد شد:

A sunlit Sumatran tiger lying in short grass by a wall, head up, facing camera
A sunlit Sumatran tiger lying in short grass by a wall, head up, facing camera
Credit: Monika Betley. A Featured picture of the day.

The ببر سوماترایی (Panthera tigris sumatrae) is found only on the اندونزیn island of سوماترا.

نگاه‌های بیشتر... Gallery اطلاعات بیشتر...

جستارهای وابسته

[ویرایش]
Main portal creation templates
Main portal page formatting templates
3
Templates that configure links
3
These templates are used to format the articles on the sub-pages

{{Selected X}} - Generic template for situations not listed below.

3
Related templates