“Template:Font”的版本间差异

来自BanG Dream! Wiki
跳到导航 跳到搜索
(创建页面,内容为“<includeonly><span {{{{{|safesubst:}}}#if: {{{class|}}} |class="{{{class|}}}"}} {{{{{|safesubst:}}}#if: {{{title|}}} |title="{{{title|}}}"}} {{{{{|safesubst:}}}#if: {{{font|}}}{{{size|}}}{{{color|}}}{{{bgcolor|}}}{{{style|}}}{{{css|}}} |style="{{{{{|safesubst:}}}#if: {{{font|}}} |font-family:{{{font|}}};}} {{ {{{|safesubst:}}}#if:{{{size|}}}| {{ {{{|safesubst:}}}#if: {{ {{{|safesubst:}}}regex|test|{{{size|}}}|\d+$}} |font-size: {{{size|}}}px;|font…”)
 
第1行: 第1行:
<includeonly><span {{{{{|safesubst:}}}#if: {{{class|}}} |class="{{{class|}}}"}} {{{{{|safesubst:}}}#if: {{{title|}}} |title="{{{title|}}}"}} {{{{{|safesubst:}}}#if: {{{font|}}}{{{size|}}}{{{color|}}}{{{bgcolor|}}}{{{style|}}}{{{css|}}} |style="{{{{{|safesubst:}}}#if: {{{font|}}} |font-family:{{{font|}}};}} {{ {{{|safesubst:}}}#if:{{{size|}}}|
<includeonly><span style="font-family:{{ {{{|safesubst:}}}#if: {{{font|}}} |{{{font}}}|sans-serif}};font-size:{{ {{{|safesubst:}}}#if: {{{size|}}} |{{{size}}}|100%}};{{ {{{|safesubst:}}}#if: {{{color|}}} |color:{{{color}}}|color:black}};{{ {{{|safesubst:}}}#if: {{{bgcolor|}}} |background-color:{{{bgcolor}}}|background-color:transparent}};{{ {{{|safesubst:}}}#if: {{{title|}}} |title:{{{title}}}|}};{{ {{{|safesubst:}}}#if: {{{css|}}} |{{{css}}}|}}">{{ {{{|safesubst:}}}#if: {{{1|}}} |{{{1}}}|{{{text}}}}}</span></includeonly><noinclude>
  {{ {{{|safesubst:}}}#if:
    {{ {{{|safesubst:}}}regex|test|{{{size|}}}|\d+$}}
   |font-size: {{{size|}}}px;|font-size: {{{size|}}};}}
|}} {{{{{|safesubst:}}}#if: {{{color|}}} |color: {{{color}}};}} {{{{{|safesubst:}}}#if: {{{bgcolor|}}} |background-color:{{{bgcolor}}};}}{{{{{|safesubst:}}}#if: {{{shadowcolor|}}} |text-shadow: {{{shadowcolor|}}} 2px 4px 4px;}} {{{{{|safesubst:}}}#if: {{{style|{{{css|}}}}}} |{{{style|{{{css}}}}}}|}}"}}>{{ {{{|safesubst:}}}#if: {{{1|}}}|{{{1}}}|<strong class="error">警告:font 模板的参数<code>{{{1}}}</code>未赋值。</strong>}}</span></includeonly><noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

2023年1月8日 (日) 23:58的版本

Template-info.png 模板文档
这个文档嵌入Template:Font/doc