फलकम्:Selected picture/doc
This is a documentation subpage for फलकम्:Terminate sentence 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 - Creates a caption for the image.
- 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.
- link - Sets the link in the Read more... that points to the full article.
- page - Set an auxillary 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 = A glass of orange juice | 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 Sumatran tiger | text = The '''[[Sumatran Tiger]]''' ... | 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.
- {{Subpage}}.
- {{Numbered subpages}} - used to create article links on portal sub-pages with 50 links.
- {{25 numbered subpages}} - As hereinbefore, but with 25 links.
- {{75 numbered subpages}} - As hereinbefore, but with 75 links.
- {{100 numbered subpages}} - As hereinbefore, but with 100 links.
- {{Random box-header subpage}}.
- Main portal page formatting templates
- {{Boxheader}}
- {{Box-header}}
- {{Box-header1}}
- {{Box-header2}}
- {{Boxfooter}}
- {{Box-footer}}
- {{Box-footer2}}
- {{Box-Header II}}
- {{Box-header-blank}}
- {{Box-header-groovy}}
- {{Box-header-health}}
- {{Box-header-round}}
- {{Box-header-square}}
- {{Box-header-watch}}
- {{Box-header-plain}}
- Templates that configure links
- {{Browsebar}}
- {{Portals}}
- {{Related portals}}
- {{Related portals2}}
- {{Wikimedia for portals}}
- These templates are used to format the articles on the sub-pages
{{Selected X}} - Generic template for situations not listed below.
- {{Selected article}}
- {{Selected biography}}
- {{Selected business}}
- {{Selected DYK}}
- {{Selected ingredient}}
- {{Selected location}}
- {{Selected quote}}
- {{Selected picture}}
- {{Selected product}}
- {{Selected publication}}
- {{Selected recipe}}
- Related templates