قالب:Root subject

من ويكي الكتب

Usage

This template is used on top-level subject pages to list books within that subject's respective category. Use {{subject page}} for regular subjects.

Parameters

  • description: specifies the description of the subject area the page will cover
  • featuredbooks: specifies a list of featured books in the sub-subjects of this top-level subject as an HTML unordered list (<ul><li>[[Book]]</li><li>[[Book2]]</li></ul>)
  • subject: optional, specifies the category to look in; defaults to the subject page's name
  • theme: optional, specifies the {{Robox}} theme for the description box; defaults to 15
  • theme2: optional, specifies the {{Robox}} theme for the book box; defaults to 3
  • icon: optional, specifies the logo displayed in the description box without the File: included; defaults to the Wikibooks logo
  • iconwidth: optional, specifies the width of the logo displayed in the description box with px included; defaults to 45px

Copy-paste

Commonly-used Full
{{root subject
 |featuredbooks=
 |description=
}}
{{root subject
 |subject=
 |theme=
 |theme2=
 |icon=
 |iconwidth=
 |featuredbooks=
 |description=
}}

Example

< Books by subject

Root subject
{{{description}}}
Subsections
Featured Books
{{{featuredbooks}}}