Şablon:Selected ingredient
{{{text}}}
This template 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. Remember that you can conduct experiments, and should test all improvements, in either the general Template sandbox or your user space before changing anything here. |
This template is used to configure the articles found in the Selected ingredient section found on some Wikipedia Portal main pages. Used it on the article pages that are linked to the Selected ingredient sub-page, e.g. Portal:Foo/Selected ingredient/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
bıvurne{{Selected ingredient | image = | size = | side = | caption = | page = <!--- Required ---> | type = <!--- Required if using custom name ---> | text = <!--- Required ---> | link = <!--- Required ---> | use1 = | use2 = | use3 = }}
Usage
bıvurneIt 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 - 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.
- 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- Creates a caption for the image.
- page - is used to set the page that the ingredient list resides on, e.g. |name=grape would set More selected foo link to look for the sub-pages at Portal:Wine/Selected grape and appear as More selected grapes.
- type - sets the type of ingredient in the More selected foo link, in the example above the value of grapes makes it read More selected grapes. This value should always be stated in a plural form. It will default to More selected ingredients if left blank or left out.
- text - A brief summary of the subject.
- link - Sets the link in the Read more... that points to the full article.
- use - What the ingredient is most commonly used to make.
- use2 - What the ingredient is most also used to make.
Example
bıvurne{{Selected ingredient | image =Piper_nigrum_-_Köhler–s_Medizinal-Pflanzen-107.jpg | size = | caption = | text = '''Black pepper''' (''Piper nigrum'') is a [[flowering plant|flowering]] [[vine]] in the family [[Piperaceae]],... | link = Black pepper }}
Will produce this:
Black pepper (Piper nigrum) is a flowering vine in the family Piperaceae, cultivated for its fruit, which is usually dried and used as a spice and seasoning. The same fruit is also used to produce white pepper, red/pink pepper, and green pepper. Black pepper is native to South India and is extensively cultivated there and elsewhere in tropical regions. The fruit, known as a peppercorn when dried, is a small drupe five millimetres in diameter, dark red when fully mature, containing a single seed.Dried ground pepper is one of the most common spices in European cuisine and its descendants, having been known and prized since antiquity for both its flavour and its use as a medicine. The spiciness of black pepper is due to the chemical piperine. Ground black peppercorn, usually referred to simply as "pepper", may be found on nearly every dinner table in some parts of the world, often alongside table salt.
The word "pepper" is derived from the Sanskrit pippali, the word for long pepper via the Latin piper which was used by the Romans to refer both to pepper and long pepper, as the Romans erroneously believed that both of these spices were derived from the same plant. The English word for pepper is derived from the Old English pipor. The Latin word is also the source of German pfeffer, French poivre, Dutch peper, and other similar forms. In the 16th century, pepper started referring to the unrelated New World chile peppers as well. "Pepper" was used in a figurative sense to mean "spirit" or "energy" at least as far back as the 1840s; in the early 20th century, this was shortened to pep.
See also
bıvurne- 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 above, but with 25 links.{{75 Numbered subpages}}
- As above, but with 75 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}}
{{Wikimedia for portals}}
- These templates are used to format the articles on the sub-pages -
{{Selected article}}
{{Selected biography}}
{{Selected business}}
{{Selected DYK}}
{{Selected ingredient}}
{{Selected location}}
{{Selected quote}}
{{Selected picture}}
{{Selected product}}
{{Selected publication}}
{{Selected recipe}}
- Related templates