模板:CardChar
出自Meshal Lite
第102行: | 第102行: | ||
<!--占位--><div class="cardSubjoin" style="background-color:#{{#var:cardCharColor}}; float:right; border-radius: 8px 0 0 0;"><span>'''[[占位]]''' 直径{{{占位|1}}}[[步]]</span></div> | <!--占位--><div class="cardSubjoin" style="background-color:#{{#var:cardCharColor}}; float:right; border-radius: 8px 0 0 0;"><span>'''[[占位]]''' 直径{{{占位|1}}}[[步]]</span></div> | ||
<!--主内容容器--><div style="width: 100%; float:left; padding: 8px 0; border:none; margin: auto; text-align:justify; position:relative; line-height: 2em; font-size:12px; font-weight: 300; border-top-color: #{{#var:cardCharColor}};"> | <!--主内容容器--><div style="width: 100%; float:left; padding: 8px 0; border:none; margin: auto; text-align:justify; position:relative; line-height: 2em; font-size:12px; font-weight: 300; border-top-color: #{{#var:cardCharColor}};"> | ||
+ | <!--基本信息资料--><div class="cardRow"> | ||
+ | '''基本信息''' | ||
+ | *'''[[特征]]''':{{#ifeq:{{{种族|}}}|||{{#replaceset:{{{种族|}}}|/(\S+)/i={{f|\1}}|}}}} {{#ifeq:{{{性别|}}}|||{{#replaceset:{{{性别|}}}|/(\S+)/i={{f|\1}}|}}}} {{#ifeq:{{{体型|}}}|||{{#replaceset:{{{体型|}}}|/(\S+)/i={{f|\1}}|}}}} {{#ifeq:{{{形态|}}}|||{{#replaceset:{{{形态|}}}|/(\S+)/i={{f|\1}}|}}}} | ||
+ | *'''[[移速]]''':{{{移速|}}} | ||
+ | *'''[[知觉]]''':{{{知觉|}}} | ||
+ | </div><!--基本信息资料结束--> | ||
<div style="width:100%; padding-bottom: 4px;"> | <div style="width:100%; padding-bottom: 4px;"> | ||
+ | <div style=" | ||
+ | position: absolute; | ||
+ | top: 3.5em; | ||
+ | margin: 0 auto; | ||
+ | background-color: rgba(255,255,255,.75); | ||
+ | width: 64px; | ||
+ | height: 64px; | ||
+ | text-align: center; | ||
+ | border-radius: 32px; | ||
+ | right: 1.8em; | ||
+ | /* box-shadow: 0 0 3px rgba(0,0,0,.25); */ | ||
+ | border: #d8cec1 solid 1px; | ||
+ | "> | ||
+ | <div style=" | ||
+ | height: 32px; | ||
+ | line-height: 48px; | ||
+ | font-size: 2em; | ||
+ | font-weight: 900; | ||
+ | ">⚡️</div> | ||
+ | <div style=" | ||
+ | height: 32px; | ||
+ | font-size: 1.5em; | ||
+ | font-weight: 900; | ||
+ | line-height: 32px; | ||
+ | ">3</div> | ||
+ | </div> | ||
{|class="cardCharScore" | {|class="cardCharScore" | ||
|class="expandInfo"|'''[[强壮]]'''<br><span class="cardCharValue">{{#var:might}}</span><div>'''[[强壮]]''': {{{强壮|3}}}</div> | |class="expandInfo"|'''[[强壮]]'''<br><span class="cardCharValue">{{#var:might}}</span><div>'''[[强壮]]''': {{{强壮|3}}}</div> | ||
第121行: | 第153行: | ||
|} | |} | ||
</div> | </div> | ||
− | <!-- | + | </div><!--主内容容器结束--> |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
<!--附文-->{{#ifeq:{{{desc|}}}|||<div class="cardDesc" style="text-align:{{{descalign|right}}};"> | <!--附文-->{{#ifeq:{{{desc|}}}|||<div class="cardDesc" style="text-align:{{{descalign|right}}};"> | ||
{{{desc|}}}</div>}} | {{{desc|}}}</div>}} |