模板:Quarter
出自Meshal Lite
第1行: | 第1行: | ||
− | <includeonly>{{#vardefine: iconSymbol|{{{2|{{{preset|}}}}}} | + | <includeonly>{{#vardefine: iconSymbol|{{#switch:{{{2|{{{preset|}}}}}} |
|quest=quest | |quest=quest | ||
|info=info | |info=info | ||
第6行: | 第6行: | ||
|secret=secret | |secret=secret | ||
|treasure=treasure | |treasure=treasure | ||
− | |#default= | + | |creature=creature |
+ | |feature=feature | ||
+ | |ability=ability | ||
+ | |item=item | ||
+ | |file=file | ||
+ | |sys=sys | ||
+ | |tpl=tpl | ||
+ | |#default=sys}}}}{{#vardefine: contentTextColor|{{#switch: {{{2|{{{preset|}}}}}} | ||
|quest=inherit | |quest=inherit | ||
|info=inherit | |info=inherit | ||
第13行: | 第20行: | ||
|secret=rgb(238, 238, 238) | |secret=rgb(238, 238, 238) | ||
|treasure=inherit | |treasure=inherit | ||
+ | |creature=inherit | ||
+ | |feature=inherit | ||
+ | |ability=inherit | ||
+ | |item=inherit | ||
+ | |file=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) | ||
第20行: | 第34行: | ||
|secret=rgb(81, 64, 71) | |secret=rgb(81, 64, 71) | ||
|treasure=rgb(227,231,244) | |treasure=rgb(227,231,244) | ||
+ | |creature=rgba(216, 206, 193, .75) | ||
+ | |feature=rgba(241, 209, 255, .75) | ||
+ | |ability=rgba(255, 227, 157, .75) | ||
+ | |item=rgba(209, 220, 237, .75) | ||
+ | |file=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) | ||
第27行: | 第48行: | ||
|secret=rgb(76, 61, 75) | |secret=rgb(76, 61, 75) | ||
|treasure=rgb(82,83,136) | |treasure=rgb(82,83,136) | ||
− | |#default=rgb(116,125,130)}}}}<div class="quarter" style="background-color: {{{contentBgColor |{{#var: contentBgColor}}}}}; border-color: {{{borderColor |{{#var: borderColor}}}}};width: calc(100% - | + | |creature=rgba(216, 206, 193, .75) |
+ | |file=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% - 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|{{#var:iconSymbol}}}} | + | |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|}}}"|{{{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> | + | </div></includeonly><noinclude>{{tpl_helpdoc}}</noinclude> |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | {{ | + | |
− | + | ||
− | }} | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | </noinclude> | + |