Template:Center block: Difference between revisions
Appearance
No edit summary Tag: Reverted |
No edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><div "tiInherit" style="text-indent:0; position:relative; margin: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> | |||
<noinclude> | |||
Latest revision as of 18:24, 15 March 2025
Center the block of text