Template:Center block: Difference between revisions
Appearance
Created page with "<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>|}} {{{text|{{{1}}}}}} <..." |
No edit summary |
||
(44 intermediate revisions by the same user not shown) | |||
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}}}}}} | {{{text|{{{1}}}}}}</div></includeonly><noinclude> | ||
</div></includeonly> | Center the block of text</noinclude> |
Latest revision as of 18:24, 15 March 2025
Center the block of text