|
|
Line 1: |
Line 1: |
| <includeonly>{{#if:{{{size|}}}|{{#vardefine:size<!--默认单位--> | | <includeonly><table class="mw-collapsible {{#if:{{{show|}}}||mw-collapsed}} wikitable"> |
| |{{#if:{{#switch: {{Str_rightc|{{{size|}}}|2}}
| | <tr> |
| |px
| | <th>{{{Title}}}</th> |
| |em
| | </tr> |
| |pt
| | <tr> |
| |ch
| | <td> |
| = true }}{{#ifeq:{{Str_rightc|{{{size|}}}|1}}|%|true|}}
| | {{{Detail}}} |
| |{{{size|}}}
| | </td> |
| |{{#ifeq:{{Str_left|{{{size|}}}|4}}|calc|{{{size|}}}|{{{size|}}}px}}
| | </tr> |
| }}
| | </table></includeonly> |
| }}|{{#vardefine:size|}}}}<span {{#if: {{{class|}}} |class="{{{class|}}}"}} {{#if: {{{title|}}} |title="{{{title|}}}"}} {{#if: {{{font|}}}{{{size|}}}{{{color|}}}{{{bgcolor|}}}{{{style|}}}{{{css|}}} |style="{{#if: {{{font|}}} |font-family:{{{font|}}};}} {{#if: {{#var:size}} |font-size:{{#var:size}};}} {{#if: {{{color|}}} |color: {{{color}}};}} {{#if: {{{bgcolor|}}} |background-color:{{{bgcolor}}};}}{{#if: {{{shadowcolor|}}} |text-shadow: {{{shadowcolor|}}} 2px 4px 4px;}} {{#if: {{{style|{{{css|}}}}}} |{{{style|{{{css}}}}}}|}}"}}>{{#if: {{{1|}}} |{{{1}}}}}</span></includeonly>
| |