Open main menu
Home
Random
Log in
Settings
About Teopedia library
Disclaimers
Teopedia library
Search
Changes
← Older edit
Template:Style P-Title
(view source)
Revision as of 07:30, 21 December 2021
299 bytes added
,
07:30, 21 December 2021
m
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.
+
| 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
+
| 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="text-align: center; font-size: 150%; font-weight: bold;">{{{1|}}}</
div
>
−
</includeonly>
Pavel Malakhov
Bureaucrats
,
Interface administrators
,
Administrators (Semantic MediaWiki)
,
Curators (Semantic MediaWiki)
,
Editors (Semantic MediaWiki)
,
Suppressors
,
Administrators
, trusted
10,254
edits