Template:Style P-Title: Difference between revisions

From Teopedia
No edit summary
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>{{Text for paragraph styles
<noinclude>{{Text for paragraph styles
  | description = '''Title'''. This style is used to highlight title. It has level 3 header.
  | description = '''Title'''. This style is used to highlight title. For custom level title use {{t|Style P-Title level}}
  | modifications = text-align: center; font-size: 150%; font-weight: bold; line above and below; small capitals
  | modifications = text-align: center; font-size: 150%; font-weight: bold; line above and below; small capitals;
  | to copy = Style P-Title{{!}}
  | to copy = Style P-Title{{!}}
}}
}}


Example:
== Example ==
----
 
<div style="text-align: center; font-size: 150%; font-weight: bold;">Some title</div>
<pre>{{Style P-Title|Some title}}
 
First paragraph of a regular text.
</pre>
 
 
== Result ==
 
<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.
 
 
</noinclude>
</noinclude>
<includeonly>
<includeonly><p style="text-indent: 0; text-align: center; font-size: 150%; font-weight: bold; font-variant: small-caps;">{{{1|}}}</p></includeonly>
<div style="width: 30%; margin: 0 auto; border-bottom: 3px solid black;"></div>
<h3 style="text-align: center; font-size: 150%; font-weight: bold; font-variant: small-caps;">{{{1|}}}</h3>
<div style="width: 15%; margin: 0 auto; border-top: 1px solid black;"></div>
</includeonly>

Latest revision as of 04: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.