模板:QuarterChar
出自Meshal Lite
第1行: | 第1行: | ||
− | <includeonly><div class="quarter"> | + | <includeonly><div class="quarter" style="width: calc(100% - 1em - {{{indent|0}}}em); margin-left: calc(.5em + {{{indent|0}}}em);"> |
<div class="quarterTitle" style="padding: 0 12px; background-color: rgba(216, 206, 193, .75);">{{#ifeq: {{{1|{{{名称|}}}}}}||不详|{{{1|{{{名称|不详}}}}}}}}{{#ifeq:{{{add|}}}|||<span class="cardTitleAdd">({{{add|}}})</span>}}<div style="position: absolute; right: 0; top: 0; font-size: 12px; font-weight: 500; background-color: rgba(0,0,0,.05); border-radius: 0 8px 0 0; padding: 0 1em;">[[实力]] {{expr|{{{2|{{{实力|0}}}}}}|y}}</div></div> | <div class="quarterTitle" style="padding: 0 12px; background-color: rgba(216, 206, 193, .75);">{{#ifeq: {{{1|{{{名称|}}}}}}||不详|{{{1|{{{名称|不详}}}}}}}}{{#ifeq:{{{add|}}}|||<span class="cardTitleAdd">({{{add|}}})</span>}}<div style="position: absolute; right: 0; top: 0; font-size: 12px; font-weight: 500; background-color: rgba(0,0,0,.05); border-radius: 0 8px 0 0; padding: 0 1em;">[[实力]] {{expr|{{{2|{{{实力|0}}}}}}|y}}</div></div> | ||
{|cellspacing=0 style="font-size: 12px; width: 100%; border: none; padding: 0; margin: 0; background-color: rgba(242,242,242,.75); border-radius: 0 0 {{#ifeq:{{{说明|}}}||8px 8px|0 0}};" | {|cellspacing=0 style="font-size: 12px; width: 100%; border: none; padding: 0; margin: 0; background-color: rgba(242,242,242,.75); border-radius: 0 0 {{#ifeq:{{{说明|}}}||8px 8px|0 0}};" | ||
第125行: | 第125行: | ||
{{block|说明| | {{block|说明| | ||
自行书写的部分,支持wiki语法。 | 自行书写的部分,支持wiki语法。 | ||
+ | }} | ||
+ | |||
+ | {{block|indent| | ||
+ | 这个区块的缩进尺寸,单位是em。填写1即等于缩进1em。 | ||
+ | *默认为0 | ||
}} | }} | ||
</noinclude> | </noinclude> |