سانچہ: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.
For an analogous template, which uses Wikipedia:Picture of the day as source, see {{Portal POTD}} and {{Portal POTD/Featured picture}}.
Usage
[ترمیم]Simple usage
{{Selected picture
| image =
| credit =
| caption =
| link =
| text =
}}
Full usage
{{Selected picture
| image =
| size =
| credit =
| caption =
| link =
| text =
| location =
| page =
| type =
| archive =
}}
Parameters
[ترمیم]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=
- Filename of the image.
|size=
- Sets the image size, if left out or left blank it will default to 250px.
|caption=
,|link=
- Used to create a big text caption under the image.
|link=
must be a valid article,|caption=
is free-style text. Note that|caption=
will not be shown if|link=
is specified; instead,|caption=
will become the for the image. |location=
- Location of gallery on Wikipedia, optional.
|credit=
- Use this to credit the source or photographer that created the image
|text=
- A brief summary of the subject, positioned below the image.
|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.
Examples
[ترمیم]{{Selected picture
| image = Orange juice 1 edit1.jpg
| size = 250px
| caption = A glass of orange juice
| text = '''[[Orange juice]]''' being poured into a nearly-full condensation-covered glass
| credit = [[United States Department of Agriculture]]
| link = Orange juice
}}
Will produce:
![]() |
Orange juice being poured into a nearly-full condensation-covered glass
Location option
[ترمیم]{{Selected picture
| image = Panthera tigris sumatran subspecies.jpg
| caption = A sunlit Sumatran tiger lying in short grass by a wall, head up, facing camera
| text = The '''[[Sumatran tiger]]''' (''Panthera tigris sumatrae'') is found only on the [[انڈونیشیا]]n island of [[سماٹرا]].
| 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
}}
Will produce (note the link Gallery on the right):
![]() |
The Sumatran tiger (Panthera tigris sumatrae) is found only on the انڈونیشیاn island of سماٹرا.
اوپر دی گئی دستاویز صفحہ سانچہ:Selected picture/دستاویز سے شامل کی گئی ہے۔ (ترمیم | تاریخچہ) صارفین سانچہ کے تختہ مشق (تخلیق | آئینہ) اور ثابتات (تخلیق) میں تجربات کرسکتے ہیں۔ براہ کرم /دستاویز کے ذیلی صفحہ پر زمرہ جات شامل فرمائیں۔ اس سانچہ کے ذیلی صفحات۔ |