Jump to content

Template:Center block: Difference between revisions

From Nepali Proofreaders
No edit summary
Tag: Manual revert
No edit summary
 
Line 1: Line 1:
<includeonly><div "tiInherit"  style="text-indent:0; position:relative; margin:0 auto; text-align:{{{talign|left}}}; {{ #if: {{{width|}}} | display:block; width:{{{width}}}; | display:table; width:auto; }} {{ #if: {{{height|}}} | height:{{{height}}}; }} {{ #if: {{{style|}}} | {{{style}}}; }}"><!--
<includeonly><div "tiInherit"  style="text-indent:0; position:relative; margin:0 auto; text-align:{{{talign|left}}}; {{ #if: {{{width|}}} | display:block; width:{{{width}}}; | display:table; width:auto; }} {{ #if: {{{height|}}} | height:{{{height}}}; }} {{ #if: {{{style|}}} | {{{style}}}; }}"><!--
-->{{#if:{{{title|}}}|<span style="display:inline-block;text-align:center;{{ #if: {{{width|}}} | width:{{{width}}}; | width:auto; }}">{{{title}}}</span>|}}
-->{{#if:{{{title|}}}|<span style="display:inline-block;text-align:center;{{ #if: {{{width|}}} | width:{{{width}}}; | width:auto; }}">{{{title}}}</span>|}}
{{{text|{{{1}}}}}}</div></includeonly>
{{{text|{{{1}}}}}}</div></includeonly><noinclude>
Center the block of text</noinclude>

Latest revision as of 18:24, 15 March 2025

Center the block of text