Changes

1,547 bytes added ,  15:57, 22 December 2022
fix tests
<includeonly>{{#if: {{{size|{{{2|}}}}}}|<span style="display:inline-block; position:relative; vertical-align:middle; width:{{#expr: {{{size|{{{2|20}}}}}} * 4 / 5}}px; height:{{#expr: {{{size|{{{2|20}}}}}} * 4 / 5}}px; border:{{#expr: {{{size|{{{2|20}}}}}} / 10}}px solid {{ja-rail-color|{{{name|{{{1}}}}}}}}; border-radius:10%; background:white; text-align:center; color:black; font-weight:Bold; font-size:{{#expr: {{{size|{{{2|20}}}}}} / 2}}px;"><span style="position: absolute; white-space:nowrap; width:{{#expr: {{{size|{{{2|20}}}}}} * 4 / 5}}px; height:{{#expr: {{{size|{{{2|20}}}}}} / 2}}px; line-height:{{#expr: {{{size|{{{2|20}}}}}} / 2}}px; top:{{#expr: {{{size|{{{2|20}}}}}} * 3 / 20}}px; left:0; text-align:center; {{#switch: {{{name|{{{1}}}}}}|MO=font-size:80%;}}">{{{name|{{{1|}}}}}}</span></span>|<span style="display:inline-block; position:relative; vertical-align:middle; width:{{#expr: {{{fontsize|10}}} * 8 / 5}}px; height:{{#expr: {{{fontsize|10}}} * 8 / 5}}px; border:{{#expr: {{{fontsize|10}}} / 5}}px solid {{ja-rail-color|{{{name|{{{1}}}}}}}}; border-radius:10%; background:white; text-align:center; color:black; font-weight:Bold; font-size:{{{fontsize|10}}}px;"><span style="position: absolute; white-space:nowrap; width:{{#expr: {{{fontsize|10}}} * 8 / 5}}px; height:{{{fontsize|10}}}px; line-height:{{{fontsize|10}}}px; top:{{#expr: {{{fontsize|10}}} * 3 / 10}}px; left:0; text-align:center; {{#switch: {{{name|{{{1}}}}}}|MO=font-size:80%;}}">{{{name|{{{1|}}}}}}</span></span>}}</includeonly><noinclude>{{doc}}</noinclude>
Anonymous user