Difference between revisions of "Template:Style P-Title"

From Teopedia library
Jump to navigation Jump to search
m
 
Line 14: Line 14:
  
 
== Result ==
 
== Result ==
<p style="text-align: center; font-size: 150%; font-weight: bold; font-variant: small-caps;">Some title</p>
+
 
 +
<p style="text-indent: 0; text-align: center; font-size: 150%; font-weight: bold; font-variant: small-caps;">Some title</p>
  
 
First paragraph of a regular text.
 
First paragraph of a regular text.
Line 20: Line 21:
  
 
</noinclude>
 
</noinclude>
<includeonly><p style="text-align: center; font-size: 150%; font-weight: bold; font-variant: small-caps;">{{{1|}}}</p></includeonly>
+
<includeonly><p style="text-indent: 0; text-align: center; font-size: 150%; font-weight: bold; font-variant: small-caps;">{{{1|}}}</p></includeonly>

Latest revision as of 07:30, 21 December 2021

This style is to design paragraph in text. To highligt just several symbols use templates for symbol styles.

Title. This style is used to highlight title. For custom level title use {{Style P-Title level}}


Modifications:

  • text-align: center
  • font-size: 150%
  • font-weight: bold
  • line above and below
  • small capitals


To copy:

{{Style P-Title|}}


Example

{{Style P-Title|Some title}}

First paragraph of a regular text.


Result

Some title

First paragraph of a regular text.