Template:TextBox: Difference between revisions
Appearance
mNo edit summary |
mNo edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<div class="center"> | |||
{| style="border:1px solid #a2a9b1; background-color:{{{bg|#f8f9fa}}}; margin:0.5em 0; width:{{{width|100%}}};" | {| style="border:1px solid #a2a9b1; background-color:{{{bg|#f8f9fa}}}; margin:0.5em 0; width:{{{width|100%}}};" | ||
| style="padding:0.6em;" | | | style="padding:0.6em;" | | ||
Line 5: | Line 6: | ||
{{{text|{{{1|}}}}}} | {{{text|{{{1|}}}}}} | ||
|} | |} | ||
</div> | |||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> |
Latest revision as of 20:32, 4 September 2025
Usage
{{TextBox | title = Required heading | text = Your content goes here. | bg = #fff (optional background) | width = 100% (optional width) }} <!-- or the short form --> {{TextBox|title=Required heading|This is the content in parameter 1.}}