ފަންވަތް:C20YearTOCtempleton
The Template:C20YearTOCtempleton displays the Table of Contents in a condensed form for particular articles which list events by month name, Nobel prizes, and the Templeton Prize. More optional parameters allow adding 2 other phrases as subheaders in the list.
Usage: {{C20YearTOCtempleton}}
Usage: {{C20YearTOCtempleton|yr|subhead1}}
Usage: {{C20YearTOCtempleton|yr|subhead1|subhead2}}
- The optional parameter "yr" defaults to PAGENAME, to display the
- subheader "Events of 'yr'" while the optional second parameter
- "subhead1" allows adding a customized TOC subheader @Deaths, and
- "subhead2" allows a customized TOC subheader at "Fictional"
- (To skip "subhead1" put 2 vertical bars ("||subhead2".).
- The Table of Contents doesn't have a built-in label "Fields Medal"
- subheader nor a "Ship events" subheader (but see: C20YearTOCship).
- If the calling/containing article does not have a subheader for
- a particular label-link in the TOC, then clicking that link goes
- nowhere, unless such a subheader is in the article's text.
- Omitted subheaders do NOT generate red-line links.
See also
އުނިއިތުރު ގެންނަވާ- C20YearTOC - TOC template with only events and "Nobel prizes" (no other awards)
- C20YearTOCship - TOC template including "Ship events"
- C20YearTOCawards - TOC template with "Nobel prizes" + "Templeton Prize" + "Right Livelihood Award" etc.
Examples
އުނިއިތުރު ގެންނަވާBelow are the results from passing optional parameters:
For default parameters, live template "{{C20YearTOCtempleton}}"
:
- Contents (full)
- 1 Events of C20YearTOCtempleton
- 2 Births
- 3 Deaths
- 4 Nobel prizes - Templeton Prize
- 5 See also - Notes - External links
For "{{C20YearTOCtempleton|1970|Ship events|World population}}"
:
- Contents (full)
- 1 Events of 1970
- 2 Births
- 3 Deaths - Ship events
- 4 Nobel prizes - Templeton Prize
- 5 See also - Notes - External links