Sandbox:Font: Difference between revisions

From Elwiki
(Created page with "<includeonly>{{#if:{{{size|}}}|{{#vardefine:size<!--默认单位--> |{{#if:{{#switch: {{Str_rightc|{{{size|}}}|2}} |px |em |pt |ch...")
 
m (fail)
 
(One intermediate revision by the same user not shown)
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><noinclude>
{{documentation}}
</noinclude>

Latest revision as of 15:22, 8 January 2017