模板:Font:修订间差异
跳到导航
跳到搜索
无编辑摘要 |
无编辑摘要 |
||
(未显示同一用户的4个中间版本) | |||
第1行: | 第1行: | ||
<noinclude>{{来自萌百的模板}}</noinclude> | |||
<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 {{{{{|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:}}}#if: | ||
{{ {{{|safesubst:}}}regex|test|{{{size|}}}|\d+$}} | {{ {{{|safesubst:}}}regex|test|{{{size|}}}|\d+$}} | ||
|font-size: {{{size|}}} | |font-size: {{{size|}}};|font-size: {{{size|}}}px;}} | ||
|}} {{{{{|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><noinclude>{{萌百|{{FULLPAGENAME}}}}[[分类:模板]]</noinclude> | |}} {{{{{|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>{{萌百|{{FULLPAGENAME}}}}[[分类:模板]]</noinclude> |