Template:Root subject/core

< Books by subject

Wikibooks-logo.svg
(subject)
{{{description}}}
Chart organisation.svg
Subsections
Star*.svg
Featured Books
Category:Subject:(subject)
Template documentation[edit] [history] [purge]

This subtemplate displays subject page content for template {{root subject}}.

Usage

The parameters to be provided to this subtemplate are described in the documentation for {{root subject}}, except for one introduced by {{root subject}} when calling here.

  • subject — the name of the subject whose page content is to be displayed. No Subject: prefix.

(This subtemplate ignores parameters 1 and 2, which are incidentally passed through from {{nowrap|{{root subject}}}.)

Internals

This subtemplate customizes parameter values — such as providing default values for parameters not specified — and delegates the actual display generation to {{root subject/core2}}. For this subtemplate to function correctly it should be called from {{root subject}} using one of the Module:TScope#Call functions, so that parameters not provided to {{root subject}} are not provided here, rather than merely being blank.