ଛାଞ୍ଚ:Selected picture/doc
ଦେଖଣା
This is a documentation subpage for ଛାଞ୍ଚ:Selected picture. It may contain usage information, categories and other content that is not part of the original ଛାଞ୍ଚ page. |
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.
Template layout
[ସମ୍ପାଦନା]{{Selected picture | image = | size = | caption = | gallery = | location = | text = | credit = | link = | page = | archive = | framecolor = }}
Usage
[ସମ୍ପାଦନା]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 ( WP:ALT), 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.
- framecolor - Color of the image frame; defaults to #177245 (dark spring green).
Examples
[ସମ୍ପାଦନା]{{Selected picture | image = Orange juice 1 edit1.jpg | size = 250px | caption = Orange juice being poured into a nearly full ... | text = A glass of orange juice | credit = [[United States Department of Agriculture]] | link = Orange juice }}
Will produce:
A glass of orange juice
Gallery option
[ସମ୍ପାଦନା]{{Selected picture | image = Panthera tigris sumatran subspecies.jpg | size = | caption = A sunlit Sumatran tiger lying in short grass ... | text = The '''[[Sumatran Tiger]]''' (''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 }}
Will produce
The Sumatran Tiger (Panthera tigris sumatrae) is found only on the Indonesian island of Sumatra.
See also
[ସମ୍ପାଦନା]- Main portal creation templates -
- {{Box portal skeleton}} - used to create portal main pages
- {{Random portal component}} - used on the portal main page to randomly display articles from the portal sub-pages
- {{Random portal component with nominate}} - used on the portal main page to randomly display articles from the portal sub-pages, adding the option to nominate other Featured foo articles.
- {{Random subpage}} - used on the portal main page to randomly display articles from the portal sub-pages. This template is best used for creating randomly populated Did you know... sections on the portal main page that are intended to include multiple Did you know... facts.
- {{Numbered subpages}} - used to create article links on portal sub-pages with 50 links.
- {{25 Numbered subpages}} - As above, but with 25 links.
- {{75 Numbered subpages}} - As above, but with 75 links.
- {{100 Numbered subpages}} - As above, but with 100 links.
- {{Random box-header subpage}}
- Main portal page formatting templates -
|
|
|
- Templates that configure links -
- These templates are used to format the articles on the sub-pages -
|
|
|