ଛାଞ୍ଚ:Selected article/doc
ଦେଖଣା
This is a documentation subpage for ଛାଞ୍ଚ:Selected article. It may contain usage information, categories and other content that is not part of the original ଛାଞ୍ଚ page. |
This ଛାଞ୍ଚ employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. You can conduct experiments, and should test all major changes, in either this template's sandbox, the general template sandbox, or your user space before changing anything here. |
For the generic version of this template, please see Template:Selected X
This template is used to configure the articles found in the Selected article section found on most Wikipedia Portal main pages. It is used on the article pages that are linked to the Selected article sub-page, e.g. Portal:Foo/Selected article/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 article | image = | size = | side = | caption = | text = <!--- Required ---> | link = <!--- Required ---> | archive = }}
Usage
[ସମ୍ପାଦନା]It is unnecessary to include braces, quotation marks or other wiki-markup in the template. The |text= field does allow the use of wiki-markup at the contributor's discretion.
- image - Image relating to the subject of the article.
- size - Set the size of the image here, it will default to 250px if no size is specified.
- side - Set the location of the image here, it will default to left if no side is specified. Use right or center as the variable.
- caption- Image caption, if any.
- text - A brief summary of the subject.
- link - Wikilink to the main article about the subject.
- archive - Using this field with a value of no will remove the More selected articles 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.
Example
[ସମ୍ପାଦନା]{{Selected article | image = Coq au vin.jpg | size = | caption = Coq au vin, a typical dish in French cuisine. | text = '''French cuisine ''' is a style of cooking derived from the nation of [[France]]. It evolved from ... | link = French cuisine }}
Will produce this:
French cuisine is a style of cooking derived from the nation of France. It evolved from centuries of social and political change. The Middle Ages brought lavish banquets to the upper class with ornate, heavily seasoned food prepared by chefs such as Guillaume Tirel. The era of the French Revolution, however, saw a move toward fewer spices and more liberal usage of herbs and refined techniques. French cuisine was codified in the 20th century by Georges Auguste Escoffier to become the modern version of haute cuisine. Ingredients and dishes vary by region. There are many significant regional dishes that have become both national and regional. Many dishes that were once regional, however, have proliferated in different variations across the country in the present day. Cheese and wine are also a major part of the cuisine, playing different roles both regionally and nationally with their many variations and Appellation d'origine contrôlée (AOC) (regulated appellation) laws. |
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 -
|
|
|