模板:Bar:修订间差异

来自歌颂之丘
跳转到导航 跳转到搜索
(改善排版)
(改善排版)
 
第3行: 第3行:
{{#if:{{{hd|{{{2|}}}}}}|<span style="color:{{{hdcolor|#2b004d}}}">{{{hd|{{{2|}}}}}} : </span>}}
{{#if:{{{hd|{{{2|}}}}}}|<span style="color:{{{hdcolor|#2b004d}}}">{{{hd|{{{2|}}}}}} : </span>}}
<span style="color:{{{color|#4b0091}}}">{{{msg|{{{1|nothing}}}}}}</span>
<span style="color:{{{color|#4b0091}}}">{{{msg|{{{1|nothing}}}}}}</span>
</p>
</p></includeonly><noinclude>
</includeonly>
<noinclude>
用法:
用法:
参数:
参数:

2020年12月23日 (三) 13:22的最新版本

用法: 参数:

  • hd: 指定题头
  • msg: 指定文本
  • color: 指定文本色
  • hdcolor: 指定题头色
  • bgcolor: 指定背景色
  • bdcolor: 指定边框色
{{Bar|This is a message|Tips|color=white}} 或
{{Bar|hd=tips|msg=This is a message|color=white}}

tips : This is a message