Template:Style P-Title: Difference between revisions

no edit summary
No edit summary
No edit summary
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. It has level 3 header. For custom level 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; HTML tag <nowiki><h3></nowiki>
  | 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 ==
<h3 style="text-align: center; font-size: 150%; font-weight: bold;">Some title</h3>
 
First paragraph of a regular text.
 
 
</noinclude>
</noinclude>
<includeonly>
<includeonly><h3 style="text-align: center; font-size: 150%; font-weight: bold; font-variant: small-caps;">{{{1|}}}</h3></includeonly>
<h3 style="text-align: center; font-size: 150%; font-weight: bold; font-variant: small-caps;">{{{1|}}}</h3>
</includeonly>