Template:BookCSS/doc

From Wikisource
Jump to navigation Jump to search

Usage

[edit]

This template includes mw:TemplateStyles CSS that applies to a specific work (or group of works). This allows the use of more semantically-correct markup rather than purely stylistic markup[1].

In Page: namespace

[edit]

Place {{BookCSS}} in the header.

If you have a CSS that is not specific to the Index name (for example, a common CSS shared by a series), use {{BookCSS|Title of CSS}}, which will use Template:BookCSS/Title of CSS.css.

In main namespace

[edit]

For the Main namespace, place {{BookCSS}} just before the transclusions:

{{BookCSS|Sandbox.djvu}}
<pages index="Sandbox.djvu" from=1 to=2 />

Index of styles

[edit]

Notes

[edit]
  1. For example, the use of === Heading === rather than {{center|{{x-larger|'''Heading'''}}}}, or the ability to add styles to certain lists.