模板:SheetChar
出自Meshal Lite
第87行: | 第87行: | ||
{{#vardefine: bodyweight|{{#ifexpr: {{#var: bodyweight}}<0|0|{{#var: bodyweight}}}}}} | {{#vardefine: bodyweight|{{#ifexpr: {{#var: bodyweight}}<0|0|{{#var: bodyweight}}}}}} | ||
− | <!--数据处理结束--></div> | + | <!--数据处理结束--></div>{{#var: campaignset}} |
<!--添加子页面入口-->{{#ifeq: {{FULLPAGENAME}}|{{{fullpagename|}}}|{{#ifingroup:sysop| | <!--添加子页面入口-->{{#ifeq: {{FULLPAGENAME}}|{{{fullpagename|}}}|{{#ifingroup:sysop| | ||
<span class="editEntrance" style="float:right;">{{img|icon_addsubpage.png}}<inputbox> | <span class="editEntrance" style="float:right;">{{img|icon_addsubpage.png}}<inputbox> | ||
第98行: | 第98行: | ||
buttonlabel=创建子页面 | buttonlabel=创建子页面 | ||
</inputbox></span> | </inputbox></span> | ||
− | |}}|}} | + | |}}|}}{{#var: campaignset}} |
<!--角色卡框架--><div style="position:relative; float: left; width: 978px; margin:8px; padding: none; "> | <!--角色卡框架--><div style="position:relative; float: left; width: 978px; margin:8px; padding: none; "> | ||
<div class="sheetCol" style="margin-left:4px; border-radius: 24px 0 0 24px; background-color: #f7f8f8; width: 472px;"> | <div class="sheetCol" style="margin-left:4px; border-radius: 24px 0 0 24px; background-color: #f7f8f8; width: 472px;"> | ||
第106行: | 第106行: | ||
|}</span><div style="float: left; line-height: 14px; padding-top: 10px; width:auto;">{{#ifeq: {{{class|char}}}|creature|'''名称'''|'''[[姓名]]'''}}: {{#ifeq: {{{姓名|}}}||无名氏|{{{姓名|}}}}} <br>'''[[代号]]''': {{#ifeq: {{{代号|}}}||无|{{{代号|}}}}}</div><div style="float: right; width:auto; text-align:right;">{{#replaceset:{{{type|缺少类型信息}}}|/(\S+)/i=[[\1]]|}} {{#switch: {{{class|char}}}|char=[[玩家角色]]|npc=[[非玩家角色]]|#default=}}</div></div> | |}</span><div style="float: left; line-height: 14px; padding-top: 10px; width:auto;">{{#ifeq: {{{class|char}}}|creature|'''名称'''|'''[[姓名]]'''}}: {{#ifeq: {{{姓名|}}}||无名氏|{{{姓名|}}}}} <br>'''[[代号]]''': {{#ifeq: {{{代号|}}}||无|{{{代号|}}}}}</div><div style="float: right; width:auto; text-align:right;">{{#replaceset:{{{type|缺少类型信息}}}|/(\S+)/i=[[\1]]|}} {{#switch: {{{class|char}}}|char=[[玩家角色]]|npc=[[非玩家角色]]|#default=}}</div></div> | ||
</div> | </div> | ||
− | + | {{#var: campaignset}} | |
<div class="sheetCol" style="border-radius: 0 24px 24px 0; margin-right:4px; background-color: #f7f8f8;"> | <div class="sheetCol" style="border-radius: 0 24px 24px 0; margin-right:4px; background-color: #f7f8f8;"> | ||
<div class="sheetScore" style="border-top: none; {{#ifeq: {{{class|char}}}|creature|border: none;|}}">{{#ifeq: {{{class|char}}}|creature||{{img|icon_age.png}}}} <span> | <div class="sheetScore" style="border-top: none; {{#ifeq: {{{class|char}}}|creature|border: none;|}}">{{#ifeq: {{{class|char}}}|creature||{{img|icon_age.png}}}} <span> | ||
第117行: | 第117行: | ||
</div> | </div> | ||
</div> | </div> | ||
− | + | {{#var: campaignset}} | |
<div class="sheetCol" style="margin-left:4px; border-radius: 24px; width: 312px; background-color: #e7e6e7; text-align: right;"> | <div class="sheetCol" style="margin-left:4px; border-radius: 24px; width: 312px; background-color: #e7e6e7; text-align: right;"> | ||
<div class="sheetScore" style="border-top: none; width: 296px;">{{img|icon_limbs.png}} <span> | <div class="sheetScore" style="border-top: none; width: 296px;">{{img|icon_limbs.png}} <span> | ||
第128行: | 第128行: | ||
|}</div></div> | |}</div></div> | ||
</div> | </div> | ||
− | + | {{#var: campaignset}} | |
<div style="float: left; height: 12px; width: 100%;"></div> | <div style="float: left; height: 12px; width: 100%;"></div> | ||
第146行: | 第146行: | ||
|}</div></div> | |}</div></div> | ||
</div> | </div> | ||
− | + | {{#var: campaignset}} | |
<div class="sheetCol" style="background-color: #f4f0ed;"> | <div class="sheetCol" style="background-color: #f4f0ed;"> | ||
'''[[损耗]]属性''' | '''[[损耗]]属性''' | ||
第162行: | 第162行: | ||
|}</div></div> | |}</div></div> | ||
</div> | </div> | ||
− | + | {{#var: campaignset}} | |
<div class="sheetCol" style="background-color: #f9eaed;"> | <div class="sheetCol" style="background-color: #f9eaed;"> | ||
'''[[防御投骰]]''' | '''[[防御投骰]]''' | ||
第178行: | 第178行: | ||
|}</div></div> | |}</div></div> | ||
</div> | </div> | ||
− | + | {{#var: campaignset}} | |
<div class="sheetCol" style="margin-right: 4px; border-radius: 0 24px 24px 0; background-color: #f2f5f5;"> | <div class="sheetCol" style="margin-right: 4px; border-radius: 0 24px 24px 0; background-color: #f2f5f5;"> | ||
'''[[防护]]属性''' | '''[[防护]]属性''' | ||
第194行: | 第194行: | ||
|}</div></div> | |}</div></div> | ||
</div> | </div> | ||
− | + | {{#var: campaignset}} | |
<div class="sheetCol" style="margin-left:4px; border-radius: 24px 0 0 24px; background-color: #e7e6e7; text-align: right;"> | <div class="sheetCol" style="margin-left:4px; border-radius: 24px 0 0 24px; background-color: #e7e6e7; text-align: right;"> | ||
<font style="margin-right:-4px;">'''其他'''</font> | <font style="margin-right:-4px;">'''其他'''</font> | ||
第210行: | 第210行: | ||
|}</span> <div>'''主要[[感知]]''': [[{{{感知手段|视觉}}}]] {{{感知距离|100}}} [[步]]</div></div> | |}</span> <div>'''主要[[感知]]''': [[{{{感知手段|视觉}}}]] {{{感知距离|100}}} [[步]]</div></div> | ||
</div> | </div> | ||
− | + | {{#var: campaignset}} | |
<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> | ||
第232行: | 第232行: | ||
|}</div></div> | |}</div></div> | ||
</div> | </div> | ||
− | + | {{#var: campaignset}} | |
<div style="float: left; height: 12px; width: 100%;"></div> | <div style="float: left; height: 12px; width: 100%;"></div> | ||
第275行: | 第275行: | ||
</div> | </div> | ||
|} | |} | ||
− | + | {{#var: campaignset}} | |
<div style="float: left; height: 12px; width: 100%;"></div> | <div style="float: left; height: 12px; width: 100%;"></div> | ||