Toggle menu
15
236
75
27.6K
Kenshi Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Selected X/doc: Difference between revisions

Template page
Created page with "{{Documentation subpage}} {{Intricate template}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> 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 the '''Portal:''Foo''/Selected ''bar'..."
 
(No difference)

Latest revision as of 06:31, 19 February 2025

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 the Portal:Foo/Selected bar sub-page and related article links, use one of the {{Numbered subpages}} templates.

Template layout

{{Selected X
| image      = 
| size       = 
| side       =
| caption    = 
| text       = <!--- Required --->
| link       = <!--- Required --->
| page       = <!--- Required --->
| pageplural = 
| 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.
  • page - What this is a list of selected things of. For example, if you want to link to Portal:Foo/Selected battle, page = battle.
  • pageplural - Used to override simply adding an "s" to the end of "page" to pluralise it. For instance, for Portal:Foo/Selected company, pageplural = companies

Example

{{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:

Template:Selected biography

See also

Portal content templates

Main portal page formatting templates

Templates that configure links

Selected page templates, used on subpages of older portals

Related templates