Template:Style P-Align center: Difference between revisions

From Teopedia
(Created page with "<noinclude>{{Text for paragraph styles | description = '''Text centered'''. This style is used to center paragraph | modifications = text-align: center; | to copy = Style...")
 
(div --> p)
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:
  | description = '''Text centered'''. This style is used to center paragraph
  | description = '''Text centered'''. This style is used to center paragraph
  | modifications = text-align: center;  
  | modifications = text-align: center;  
  | to copy = Style P-Text centered{{!}}
  | to copy = Style P-Align center{{!}}
}}
}}


Example:
== Example ==
----
<pre>
<div style="text-align: center;">Sample text</div>
'''This Work'''<br>
'''I Dedicate to all True Theosophists,'''<br>
'''In every Country,'''<br>
'''And of every Race,'''<br>
'''For they called it forth, and for them it was recorded.'''
</pre>


</noinclude><includeonly><div style="text-align: center;">{{{1|}}}</div></includeonly>
== Result ==
<p style="text-align: center; text-indent: 0;">'''This Work'''<br>
'''I Dedicate to all True Theosophists,'''<br>
'''In every Country,'''<br>
'''And of every Race,'''<br>
'''For they called it forth, and for them it was recorded.'''</p>
 
</noinclude><includeonly><p style="text-align: center; text-indent: 0;">{{{1|}}}</p></includeonly>

Latest revision as of 01:08, 12 December 2021

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

Text centered. This style is used to center paragraph


Modifications:

  • text-align: center


To copy:

{{Style P-Align center|}}


Example

'''This Work'''<br>
'''I Dedicate to all True Theosophists,'''<br>
'''In every Country,'''<br>
'''And of every Race,'''<br>
'''For they called it forth, and for them it was recorded.'''

Result

This Work
I Dedicate to all True Theosophists,
In every Country,
And of every Race,
For they called it forth, and for them it was recorded.