Template:Selected DYK/doc

From IxWiki
Revision as of 18:43, 26 April 2020 by imported>Vanisaac (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This template is designed to be used with the {{Random portal component}} and {{Random portal component with nominate}} templates.

Template layout

{{Selected DYK
| image   = 
| size    = 
| caption = 
| text    = <!--- Required --->
| link    = 
}}

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 - 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.
  • caption - Creates a caption for the image.
  • text - is the "Did you know" verbiage. No quotation marks needed.
  • link - is the link to the article the subject is referring.

Examples

{{Selected DYK
| image   = Modern Charcuterie display.jpg
| size    = 
| caption = 
| text    = that '''charcuterie''' is derived ... ?
| link    = charcuterie
}}

Will produce:

Modern charcuterie display
... that charcuterie is derived from the French words for "flesh" (chair) and "cooked" (cuit) is the branch of cooking devoted to prepared meat products such as bacon, ham, sausage, terrines, galantines, pâtés, and confit, primarily from pork. ?
Other "Did you know" facts... Read more...

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