模板:TextBox

来自osdev
Zhang3讨论 | 贡献2022年5月3日 (二) 02:09的版本 (创建页面,内容为“<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…”)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳到导航 跳到搜索

{{{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 default 90%
  • The | P= option may be given to change the padding from .3em 1.2em;
  • The | M= option may be given to change the margin from 1em auto
  • The | clr= option may be given to change the clearance to left or right so 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
  • image (optional) : the image to be used
  • The | size= option may be given to override the default 25x25px size