模板:Font:修订间差异

删除2字节 、​ 2020年8月7日 (星期五)
无编辑摘要
无编辑摘要
无编辑摘要
第4行: 第4行:
       {{ {{{|safesubst:}}}#ifeq:{{ {{{|safesubst:}}}#invoke:String|sub|{{{size|o}}}|-1|-1}}|%|t|}}
       {{ {{{|safesubst:}}}#ifeq:{{ {{{|safesubst:}}}#invoke:String|sub|{{{size|o}}}|-1|-1}}|%|t|}}
       {{ {{{|safesubst:}}}#ifeq:{{ {{{|safesubst:}}}#ifexpr:{{ {{{|safesubst:}}}#invoke:String|len|{{{size|}}}}} > 3|{{ {{{|safesubst:}}}#invoke:String|sub|{{{size|}}}|1|4}}|}}|calc|t|}}
       {{ {{{|safesubst:}}}#ifeq:{{ {{{|safesubst:}}}#ifexpr:{{ {{{|safesubst:}}}#invoke:String|len|{{{size|}}}}} > 3|{{ {{{|safesubst:}}}#invoke:String|sub|{{{size|}}}|1|4}}|}}|calc|t|}}
     |font-size: {{{size|}}};|font-size: {{{size|}}}px;}}
     |font-size: {{{size|}}};|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>
|}} {{{{{|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}}
[[Category:格式模板]]
[[Category:格式模板]]
</noinclude>
</noinclude>
巡查员
1,548

个编辑