ਫਰਮਾ:BookCSS/doc

ਵਿਕੀਸਰੋਤ ਤੋਂ

Usage[ਸੋਧੋ]

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[ਸੋਧੋ]

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[ਸੋਧੋ]

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

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

Index of styles[ਸੋਧੋ]

Notes[ਸੋਧੋ]

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