Template:Style P-Title small caps: Difference between revisions

From Teopedia
(Add optional plain headings for bracketed supplementary titles and enable the marginal-page gutter on the electronic volume.)
(Apply Lucifer edition rules: author categories, volume and issue pagination, continuous works, and inline unsigned or short materials.)
 
Line 5: Line 5:
{{Style P-Title small caps|level=4|1=Reviews}}</pre>
{{Style P-Title small caps|level=4|1=Reviews}}</pre>


The optional <code>level</code> parameter sets the heading level (2–6); the default is 3. Headings retain the site's ordinary heading alignment and spacing. Use {{t|Style P-Title}} for a centred paragraph title without a section heading.
The optional <code>level</code> parameter sets the heading level (2–6); the default is 3. Headings are centred and retain the site's ordinary heading spacing. Use {{t|Style P-Title}} for a centred paragraph title without a section heading.


Set <code>plain=yes</code> to use normal letterforms instead of small capitals. This is useful for supplementary material with an editorial title in square brackets. The heading level, link, weight and spacing remain unchanged. Omit <code>plain</code> to retain small capitals.
Set <code>plain=yes</code> to use normal letterforms instead of small capitals. This is useful for supplementary material with an editorial title in square brackets. The heading level, link, weight and spacing remain unchanged. Omit <code>plain</code> to retain small capitals.
Line 12: Line 12:


[[Category: Design templates]]
[[Category: Design templates]]
</noinclude><includeonly>{{#tag:h{{{level|3}}}|{{{1|}}}|class=teopedia-small-caps-title|style=font-variant:{{#ifeq: {{lc:{{{plain|}}}}}|yes|normal|small-caps}};}}</includeonly>
</noinclude><includeonly>{{#tag:h{{{level|3}}}|{{{1|}}}|class=teopedia-small-caps-title|style=font-variant:{{#ifeq: {{lc:{{{plain|}}}}}|yes|normal|small-caps}};text-align:center;}}</includeonly>

Latest revision as of 05:12, 1 November 2026

A section heading in small capitals, for both inline titles and titles linked to separate texts. Enter the title in normal mixed case: CSS small capitals do not change an ALL-CAPITALS source into mixed case. Existing links, punctuation, quotations and references may be included in the title.

{{Style P-Title small caps|1=The Mystery of All Time}}
{{Style P-Title small caps|1=[[Collins M. - Comments on Light on the Path|Comments on “Light on the Path”]]}}
{{Style P-Title small caps|level=4|1=Reviews}}

The optional level parameter sets the heading level (2–6); the default is 3. Headings are centred and retain the site's ordinary heading spacing. Use {{Style P-Title}} for a centred paragraph title without a section heading.

Set plain=yes to use normal letterforms instead of small capitals. This is useful for supplementary material with an editorial title in square brackets. The heading level, link, weight and spacing remain unchanged. Omit plain to retain small capitals.

{{Style P-Title small caps|plain=yes|1=[[Blavatsky H.P. - Aphorisms|[Occultism is not magic, though magic is one of its tools…]]]}}