模板:SheetChar
出自Meshal Lite
第64行: | 第64行: | ||
<!--潜能的空值处理--> | <!--潜能的空值处理--> | ||
{{#vardefine: potential|{{#ifeq: {{#var: potential}}||0|{{#var: potential}}}}}} | {{#vardefine: potential|{{#ifeq: {{#var: potential}}||0|{{#var: potential}}}}}} | ||
+ | {{#vardefine: potentialused|{{#ifeq: {{#var: potentialused}}||0|{{#var: potentialused}}}}}} | ||
<!--防护的空值处理--> | <!--防护的空值处理--> | ||
第209行: | 第210行: | ||
<div class="sheetCol" style="margin-right: 4px; border-radius: 0 24px 24px 0; background-color: #e7e6e7; text-align: left;"> | <div class="sheetCol" style="margin-right: 4px; border-radius: 0 24px 24px 0; background-color: #e7e6e7; text-align: left;"> | ||
<font style="margin-left:-4px;">'''属性'''</font> | <font style="margin-left:-4px;">'''属性'''</font> | ||
− | <div class="sheetScore" style="border-top: none;">{{#ifeq: {{{class|char}}}|char|{{img|icon_potential.png}}|{{img|icon_potentialnpc.png}}}} <span style="text-align:right;">{{#var: | + | <div class="sheetScore" style="border-top: none;">{{#ifeq: {{{class|char}}}|char|{{img|icon_potential.png}}|{{img|icon_potentialnpc.png}}}} <span style="text-align:right;">{{#var: potentialused}}</span> <div> |
{| | {| | ||
|{{#ifeq: {{{class|char}}}|char|'''现有[[潜能]]''': {{#var: potential}}<br>'''[[潜能等级]]''': {{#var:potentialused}}|'''[[潜能等级]]''': {{#var: potentialused}}}} | |{{#ifeq: {{{class|char}}}|char|'''现有[[潜能]]''': {{#var: potential}}<br>'''[[潜能等级]]''': {{#var:potentialused}}|'''[[潜能等级]]''': {{#var: potentialused}}}} |