Template:Style P-Align center: Difference between revisions

From Teopedia
No edit summary
(div --> p)
 
Line 5: Line 5:
}}
}}


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.