模板:Quarter
出自Meshal Lite
第13行: | 第13行: | ||
|sys=sys | |sys=sys | ||
|tpl=tpl | |tpl=tpl | ||
− | |#default=}}}}{{#vardefine: contentTextColor|{{#switch: {{{2|{{{preset|}}}}}} | + | |#default=sys}}}}{{#vardefine: contentTextColor|{{#switch: {{{2|{{{preset|}}}}}} |
|quest=inherit | |quest=inherit | ||
|info=inherit | |info=inherit | ||
第54行: | 第54行: | ||
|#default=rgb(116,125,130)}}}}<div class="quarter" style="background-color: {{{contentBgColor |{{#var: contentBgColor}}}}}; border-color: {{{borderColor |{{#var: borderColor}}}}};width: calc(100% - 2px - {{{indent|0}}}em); margin: 1px 1px 1em calc(1px + {{{indent|0}}}em);"> | |#default=rgb(116,125,130)}}}}<div class="quarter" style="background-color: {{{contentBgColor |{{#var: contentBgColor}}}}}; border-color: {{{borderColor |{{#var: borderColor}}}}};width: calc(100% - 2px - {{{indent|0}}}em); margin: 1px 1px 1em calc(1px + {{{indent|0}}}em);"> | ||
{|width=100% | {|width=100% | ||
− | |style="font-size:1.5em; padding: 8px; width: 40px;"|{{symbol|{{#ifeq: | + | |style="font-size:1.5em; padding: 8px; width: 40px;"|{{symbol|{{#ifeq:{{{symbol|}}}||{{#var:iconSymbol}}|{{{symbol|}}}}}}} |
|class="quarterText" style="padding: .5em .5em .5em 0; color: {{{contentTextColor|{{#var:contentTextColor}}}}}; {{{contentStyle|}}}"|<span style="float:right; font-size:smaller;">{{{tip|}}}</span>{{{1|{{{text|}}}}}} | |class="quarterText" style="padding: .5em .5em .5em 0; color: {{{contentTextColor|{{#var:contentTextColor}}}}}; {{{contentStyle|}}}"|<span style="float:right; font-size:smaller;">{{{tip|}}}</span>{{{1|{{{text|}}}}}} | ||
|} | |} | ||
</div></includeonly><noinclude>{{tpl_helpdoc}}</noinclude> | </div></includeonly><noinclude>{{tpl_helpdoc}}</noinclude> |