Difference between revisions of "Template:TextBox"
From Jackpoint
Line 23: | Line 23: | ||
|size=<a size string> (defaults to 400px) | |size=<a size string> (defaults to 400px) | ||
|border=<a css colour string> (defaults to black) | |border=<a css colour string> (defaults to black) | ||
− | |textalign=(defaults to | + | |textalign=(defaults to center) |
|mainradius=<a size string> (defaults to none) | |mainradius=<a size string> (defaults to none) | ||
|headradius=<a size string> (defaults to none) | |headradius=<a size string> (defaults to none) |
Revision as of 00:54, 11 July 2021
Usage
{{Template:TextBox|headercolor=<a css colour string>|1=<the header>|2=<the body>}}
With named parameters:
{{Template:TextBox |1=<the header> |2=<the body> |headercolor=<a css colour string> (defaults to #BBB) |hcolor=<a css colour string> (defaults to black) |background=<a css colour string> (defaults to #EEE) |color=<a css colour string> (defaults to black) |size=<a size string> (defaults to 400px) |border=<a css colour string> (defaults to black) |textalign=(defaults to center) |mainradius=<a size string> (defaults to none) |headradius=<a size string> (defaults to none) }}