Template:Selected business/doc
This is a documentation subpage for Template:Selected business. It may contain usage information, categories and other content that is not part of the original template page. |
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
[kulemba source]{{Selected business | image = | size = | caption = | page = <!--- Required ---> | type = <!--- Required if using custom name. ---> | text = <!--- Required ---> | link = <!--- Required ---> }}
Usage
[kulemba source]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
[kulemba source]{{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 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. (Ŵelengani nkhani yose...)
See also
[kulemba source]Portal content templates
- To display "selected content" on the portal main page
- {{Transclude list item excerpts as random slideshow}}—transcludes excerpts from recognized content lists, which are populated by a bot.
- {{Transclude random subpage}}—transcludes random portal subpage.
- {{Random portal component}}—transcludes random portal subpage.
- {{Random subpage}}—transcludes random portal subpages.
- {{Portal pictures}}—transcludes a slideshow of pictures, utilizing a single-page gallery.
- To organize "selected content" on subpages
- {{Numbered subpages}}—outputs an automatic index, transcluding numbered subpages.
- {{Portal subpage}}—outputs a box linking to and transcluding a single subpage.
- {{Portal subpage inline}}—outputs an unordered list item linking to and transcluding a single subpage.
Main portal page formatting templates
- {{Box-header}}
- {{Box-header-plain}}
- {{Box-header-round}}
- {{Box-header-square}}
- {{Box-header-watch}}
- {{Box-footer}}
Templates that configure links
- {{Portal}}
- {{Portal bar}}
- {{Portal-inline}}
- {{Pbox}}
- {{Portals}}
- {{Portals browsebar}}
- {{Related portals}}
- {{Wikimedia for portals}}
Selected page templates, used on subpages of older portals
- {{Selected article}}
- {{Selected biography}}
- {{Selected business}}
- {{Selected DYK}}
- {{Selected ingredient}}
- {{Selected location}}
- {{Selected picture}}
- {{Selected product}}
- {{Selected publication}}
- {{Selected quote}}
- {{Selected recipe}}
- {{Selected X}}
Related templates