Template:Selected DYK/doc

From CWS Planet
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:

...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

Main portal creation templates
  • {{Box portal skeleton}}—Used to create portal main pages.
  • {{Random portal component}}—Used on the portal main page to randomly display articles from the portal sub-pages.
  • {{Random portal component with nominate}}—Used on the portal main page to randomly display articles from the portal sub-pages, adding the option to nominate other Featured foo articles.
  • {{Random subpage}}—Used on the portal main page to randomly display articles from the portal sub-pages. This template is best used for creating randomly populated Did you know... sections on the portal main page that are intended to include multiple Did you know... facts.
  • {{Subpage}}—Used to output a box containing a link to subpage.
  • {{Numbered subpages}}—Used to create article links on portal sub-pages with 50 links.
  • {{Random box-header subpage}}—Used to transclude a numbered subpage.
Main portal page formatting templates
3
Templates that configure links
3
These templates are used to format the articles on the sub-pages

{{Selected X}}—Generic template for situations not listed hereafter.

3
Related templates