Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Template:Selected X

From Wikipedia, the free encyclopedia

{{{text}}}([[{{{link}}}|Full article...]])

More selected {{{page}}}s
Template documentation[view] [edit] [history] [purge]

This template is used to configure the articles found in non-standard sections on Wikipedia Portal main pages; for example, Selected battle. It is used on the article pages that are linked to the Selected (whatever) sub-page, e.g.Portal:Foo/Selected whatever/1. For the quickest and easiest way to create thePortal:Foo/Selectedbar sub-page and related article links, use one of the{{Numbered subpages}} templates.

Template layout

[edit]
{{Selected X| image=| size=| side=| caption=| text=<!--- Required --->| link=<!--- Required --->| page=<!--- Required --->| pageplural=| archive=}}

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 - 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. Useright orcenter 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 ofno will remove theMore selected articles link in the lower left corner.
  • page - What this is a list of selected things of. For example, if you want to link toPortal:Foo/Selected battle, page = battle.
  • pageplural - Used to override simply adding an "s" to the end of "page" to pluralise it. For instance, forPortal:Foo/Selected company, pageplural = companies

Example

[edit]
{{Selected X| image= Coq au vin.jpg| size=| caption= Coq au vin| text='''''Coq au vin''''' is a[[France|French]][[braise]] of[[Chicken (food)|chicken]] cooked with[[wine]],[[lardon]]s,[[Edible mushrooms|mushroom]]s, and optionally[[garlic]]...| link= Coq au vin| page= food| pageplural= food}}

Will produce this:

Coq au vin
Coq au vin
Coq au vin is aFrenchbraise ofchicken cooked withwine,lardons,mushrooms, and optionallygarlic...

While the wine is typicallyBurgundy, manyregions of France have variants ofcoq au vin using the local wine, such ascoq au vin jaune (Jura), coq au Riesling (Alsace),coq au pourpre orcoq au violet (Beaujolais nouveau),coq auChampagne, and so on.(Full article...)

See also

[edit]
This box:

Portal content templates

Main portal page formatting templates

Templates that configure links

Selected page templates, used on subpages of older portals

Related templates

Portal templates
Layout and formatting
Content transclusion
Content slideshows
Content randomisation
General
Linking templates
Talk pages / Maintenance
Images
Modules
Usage
The abovedocumentation istranscluded fromTemplate:Selected X/doc.(edit |history)
Editors can experiment in this template's sandbox(create |mirror) and testcases(create) pages.
Add categories to the/doc subpage.Subpages of this template.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Selected_X&oldid=999287896"
Category:

[8]ページ先頭

©2009-2026 Movatter.jp