Jump to content

Template:Selected business/doc

From Wikipedia, the free encyclopedia

This template is used to configure the articles found in the Selected business section found on some Wikipedia Portal main pages. Used it on the article pages that are linked to the Selected business sub-page, e.g. Portal:Foo/Selected business/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

[edit]
{{Selected business
| image   = 
| size    = 
| caption = 
| page    = <!--- Required --->
| type    = <!--- Required if using custom name. --->
| text    = <!--- Required --->
| link    = <!--- Required --->
}}

Usage

[edit]

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 - 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 150px.
  • caption - Creates a caption for the image.
  • page - is used to set the page that the business list resides on, e.g. |name=winery would set More selected foo link to look for the sub-pages at Portal:Wine/Selected winery and appear as More selected wineries.
  • type - sets the type of business in the More selected foo link, in the example above the value of wineries makes it read More selected wineries. This value should always be stated in a plural form. It will default to More selected businesses 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.

Example

[edit]
{{Selected business
| image   = Johannisberg Rheingau.jpg
| size    = 
| caption = Schloss Johannisberg within its vineyards
| page    = winery
| type    = wineries
| text    = '''Schloss Johannisberg''' is a winery in the [[Rheingau (wine region)|Rheingau wine-growing region]] in Germany...
| link    = Schloss Johannisberg
}}

Will produce this

Schloss Johannisberg within its vineyards
Schloss Johannisberg within its vineyards

Schloss Johannisberg is a winery in the Rheingau wine-growing region in Germany, that has been making wine for over 900 years. A mountain on the north bank of the River Rhine near Mainz has been associated with the Church and with winemaking since the Dark Ages, when Ludwig der Fromme ("Louis the Pious") made 6000 litres of wine during the reign of Charlemagne. In 1100, Benedictine monks completed a monastery on the Bischofsberg ("Bishop's") mountain, having identified the site as one of the best places to grow vines. 30 years later they built a Romanesque basilica in honour of John the Baptist, and the hill became known as Johannisberg (John's mountain). It was constructed according to similar floor plans as its mother house, St. Alban's Abbey, Mainz. As such the monastery was a prime target for the Anabaptists in the German Peasants' War of 1525, and it was destroyed. (Full article...)

See also

[edit]

Portal content templates

Main portal page formatting templates

Templates that configure links

Selected page templates, used on subpages of older portals

Related templates