Wikipedia:WikiProject Infoboxes/embed

From Wikipedia, the free encyclopedia
Jump to: navigation, search
Shortcut:

Many Infoboxes can take another template, including another infobox, as a module (or child-, or sub-template).

Inversely, some infoboxes can have other templates, and other templates, are configured so that they may be embedded as a "child" or "module" infobox within another.

When embedding a template it is usually necessary to set |child=yes or |embed=yes in the embedded (child) template.

The child template is entered as the value of a parameter in the parent, usually |module= or |embedded=.

Converting an Infobox[edit]

Sir
Fred Hoyle
FRS
Born (1915-06-24)24 June 1915
Gilstead, Bingley, West Riding of Yorkshire, England
Died 20 August 2001(2001-08-20) (aged 86)
Bournemouth, England
Residence United Kingdom
Nationality British
Religion Atheist turned Agnostic Deist
Children
Scientific career
Fields Astronomy
Institutions Institute of Astronomy, Cambridge
Alma mater Emmanuel College, Cambridge
Academic advisors Rudolf Peierls
Maurice Pryce
Philip Worsley Wood
Doctoral students John Moffat
Chandra Wickramasinghe
Cyril Domb
Jayant Narlikar
Leon Mestel
Peter Alan Sweet
Other notable students Paul C. W. Davies
Known for Coining the phrase 'Big Bang'
Hoyle's fallacy
B2FH paper
Hoyle-Narlikar theory
Steady state theory
Triple-alpha process
Panspermia
Influenced Jocelyn Bell Burnell
Jayant Narlikar
Donald D. Clayton
Notable awards Mayhew Prize (1936)
Smith's Prize (1938)
Kalinga Prize (1967)
RAS Gold Medal (1968)
Bruce Medal (1970)
Royal Medal (1974)
Klumpke-Roberts Award (1977)
Crafoord Prize (1997)

In order to be configured for potential used as a module, an infobox must have a few adaptations, including modified styling, the suppression of the template's name display, and a the addition of a subheading. Here is an example adaptation; results shown above; note the "Scientific career" subheading).

Infobox person[edit]

{{Infobox person}} can have another biographical infobox (or infoboxes - up to six slots are available) as a Module. Those available are listed in Category:Biographical templates usable as a module (NB may not yet be fully populated). See, for example, this edit using {{Infobox scientist}} as the child template (results shown alongside).

Infobox person can also take other child templates, for example, {{Listen}}. See this example.

Example edits[edit]

Embedded infoboxes[edit]

Other embedded templates[edit]

Categories[edit]

See also[edit]