“模板:TextBox”的版本间差异
跳到导航
跳到搜索
(创建页面,内容为“<div style="clear: {{{clr|both}}}; width: {{{W|90%}}}; margin: {{{M|1em auto}}}; padding: {{{P|.3em 1.2em;}}}; {{#if:{{{BG|}}}|background: {{{BG}}}}}; border: {{{BD|1px solid #000}}};">{{#if:{{{image|}}}| [[File:{{PAGENAME:{{{image}}}}}|left|{{{size|25x25px}}}]]}} {{{1}}} </div><noinclude> Parameters: * The first parameter is the text inside the box :* The <code>| BG= </code> option may be given to specify a different background :* The <code>| W= </code> optio…”) |
(没有差异)
|
2022年5月3日 (二) 02:09的最新版本
{{{1}}}
Parameters:
- The first parameter is the text inside the box
- The
| BG=option may be given to specify a different background - The
| W=option may be given to adjust the width from the default90% - The
| P=option may be given to change the padding from.3em 1.2em; - The
| M=option may be given to change the margin from1em auto - The
| clr=option may be given to change the clearance toleftorrightso as to float the template beside other table elements. Default is 'both' - The
| BD=option may be used to give a css specification of the boundary of the box
- The
- image (optional) : the image to be used
- The
| size=option may be given to override the default 25x25px size
- The