模板:Quarter
出自Meshal Lite
第8行: | 第8行: | ||
|file=file | |file=file | ||
|sys=sys | |sys=sys | ||
− | |#default= | + | |tpl=tpl |
+ | |#default=sys}}{{#vardefine: contentTextColor|{{#switch: {{{2|{{{preset|}}}}}} | ||
|quest=inherit | |quest=inherit | ||
|info=inherit | |info=inherit | ||
第17行: | 第18行: | ||
|file=inherit | |file=inherit | ||
|sys=inherit | |sys=inherit | ||
+ | |tpl=inherit | ||
|#default=inherit}}}}{{#vardefine: contentBgColor|{{#switch: {{{2|{{{preset|}}}}}} | |#default=inherit}}}}{{#vardefine: contentBgColor|{{#switch: {{{2|{{{preset|}}}}}} | ||
|quest=rgb(240, 243, 246) | |quest=rgb(240, 243, 246) | ||
第26行: | 第28行: | ||
|file=rgb(245, 245, 245) | |file=rgb(245, 245, 245) | ||
|sys=rgb(245, 245, 245) | |sys=rgb(245, 245, 245) | ||
+ | |tpl=rgb(245, 245, 245) | ||
|#default=rgb(242,242,242)}}}}{{#vardefine: borderColor|{{#switch: {{{2|{{{preset|}}}}}} | |#default=rgb(242,242,242)}}}}{{#vardefine: borderColor|{{#switch: {{{2|{{{preset|}}}}}} | ||
|quest=rgb(228, 236, 242) | |quest=rgb(228, 236, 242) | ||
第35行: | 第38行: | ||
|file=rgb(222, 222, 222) | |file=rgb(222, 222, 222) | ||
|sys=rgb(222, 222, 222) | |sys=rgb(222, 222, 222) | ||
+ | |tpl=rgb(222, 222, 222) | ||
|#default=rgb(116,125,130)}}}}<div class="quarter" style="background-color: {{{contentBgColor |{{#var: contentBgColor}}}}}; border-color: {{{borderColor |{{#var: borderColor}}}}};width: calc(100% - 1em - {{{indent|0}}}em); margin-left: calc(.5em + {{{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% - 1em - {{{indent|0}}}em); margin-left: calc(.5em + {{{indent|0}}}em);"> | ||
{|width=100% | {|width=100% |