个人工具

模板:SheetChar

出自Meshal Lite

跳转到: 导航, 搜索
(范例)
 
第107行: 第107行:
 
{|style="width:416px; height: 100%;"
 
{|style="width:416px; height: 100%;"
 
|valign=middle align=left style="font-size: 16px; line-height:18px;"|{{#ifeq: {{{姓名|}}}||无名氏|{{{姓名|}}}}}
 
|valign=middle align=left style="font-size: 16px; line-height:18px;"|{{#ifeq: {{{姓名|}}}||无名氏|{{{姓名|}}}}}
|}</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=}}{{#ifeq: {{{mount|}}}|y|[[坐骑]]|}}</div></div>
 
</div>
 
</div>
  
 
<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:{{{生于|}}}{{{年龄|}}}||border: none;|}}}}">{{#ifeq: {{{class|char}}}|creature||{{#ifeq:{{{生于|}}}{{{年龄|}}}|||{{img|icon_age.png}}}}}} <span>
 
{|style="width:100%;"
 
{|style="width:100%;"
|style="font-size: 16px; line-height:16px; text-align: right;"|{{#ifeq: {{{class|char|}}}|creature||{{#ifeq: {{{生于|}}}||{{img|icon_age{{#var: agephase}}small.png}} {{{年龄|20}}}<font style="font-size: 12px;"> 岁</font>|<font style="font-size: 10px; line-height: 12px;">{{{生于|}}}</font>}}}}
+
|style="font-size: 16px; line-height:16px; text-align: right;"|{{#ifeq: {{{class|char|}}}|creature||{{#ifeq: {{{生于|}}}||{{#ifeq: {{{年龄|}}}|||{{img|icon_age{{#var: agephase}}small.png}} {{{年龄|}}}<font style="font-size: 12px;"> 岁</font>}}|<font style="font-size: 10px; line-height: 12px;">{{{生于|}}}</font>}}}}
 
|}</span> <div>
 
|}</span> <div>
 
{|style="width:100%; height: 100%;"
 
{|style="width:100%; height: 100%;"
|valign=middle align=left|{{#ifeq: {{{class|char}}}|creature||{{#ifeq: {{{生于|}}}||'''[[年龄]]''': {{{年龄|20}}} 岁 ([[{{{年龄阶段|成年}}}]])|'''生于''': {{{生于|}}}}}}}
+
|valign=middle align=left|{{#ifeq: {{{class|char}}}|creature||{{#ifeq: {{{生于|}}}||{{#ifeq: {{{年龄|}}}|||'''[[年龄]]''': {{{年龄|}}} 岁 ([[{{{年龄阶段|成年}}}]])}}|'''生于''': {{{生于|}}}}}}}
 
|}</div>
 
|}</div>
 
</div>
 
</div>
第262行: 第262行:
 
</div>
 
</div>
 
|}
 
|}
{{tab_collapse|{{img|icon_mountsmall.png}}[[骑乘]]|width=100%}}
+
{{tab_collapse|{{img|icon_mountsmall.png}}[[骑乘]]|width=100%|customstyle={{#ifeq:{{{mount|}}}|y|display:none;|}}}}
 
|
 
|
 
<div style="width:970px; float:left;">
 
<div style="width:970px; float:left;">
第278行: 第278行:
 
</div>
 
</div>
 
|}
 
|}
 
+
{{#ifeq: {{{pre|}}}||<div style="float: left; height: 12px; width: 100%;"></div>|{{{pre|}}}
<div style="float: left; height: 12px; width: 100%;"></div>
+
<div style="float: left; height: 12px; width: 100%;"></div>}}
 
+
 
<div class="sheetCol" style="float: left; width: 472px; height: 318px; border-radius: 24px; background-color: #f7f8f8; margin: 0 4px 0 4px; text-align: center; overflow: hidden;">
 
<div class="sheetCol" style="float: left; width: 472px; height: 318px; border-radius: 24px; background-color: #f7f8f8; margin: 0 4px 0 4px; text-align: center; overflow: hidden;">
 
:;传记
 
:;传记
<div style="width: 462px; height: 290px; margin: 0 auto; overflow: auto; overflow-y: scroll; border-radius: 8px; text-align: left;">
+
<div class="sheetNote">
 
{{#ifeq: {{{传记|}}}||关于{{#ifeq: {{{姓名|}}}||无名氏|{{{姓名|}}}}}的来历始终是个谜...|{{{传记|}}}}}
 
{{#ifeq: {{{传记|}}}||关于{{#ifeq: {{{姓名|}}}||无名氏|{{{姓名|}}}}}的来历始终是个谜...|{{{传记|}}}}}
 
</div></div>
 
</div></div>
 
<div class="sheetCol" style="float: left; width: 472px; height: 318px; border-radius: 24px; background-color: #f2f5ce; margin: 0 4px 0 4px; text-align: center; overflow: hidden;">
 
<div class="sheetCol" style="float: left; width: 472px; height: 318px; border-radius: 24px; background-color: #f2f5ce; margin: 0 4px 0 4px; text-align: center; overflow: hidden;">
 
:;速记
 
:;速记
<div style="width: 462px; height: 290px; margin: 0 auto; overflow: auto; overflow-y: scroll; border-radius: 8px; text-align: left;">
+
<div class="sheetNote">
 
{{#ifeq: {{{速记|}}}||暂时没有任何速记内容|{{{速记|}}}}}
 
{{#ifeq: {{{速记|}}}||暂时没有任何速记内容|{{{速记|}}}}}
 
</div></div>
 
</div></div>
 
{{{more|}}}
 
{{{more|}}}
</div>{{#ifeq: {{FULLPAGENAME}}|{{{fullpagename|}}}|{{#replaceset:{{{type|缺少类型信息}}}|/(\S+)/i=[[category:\1]]|}}{{#replaceset:{{{subtype|}}}|/(\S+)/i=[[category:\1]]|}}{{#replaceset:{{#var:charcampaignset}}|/(\S+)/i=[[category:世界设定-\1]]|}}{{#switch: {{{class|char}}}|char=[[category:玩家角色]]|npc=[[category:非玩家角色]]|#default=}}{{#var:charcontributor}}|}}</includeonly><noinclude>[[category:模板]]
+
</div>{{#ifeq: {{FULLPAGENAME}}|{{{fullpagename|}}}|{{#replaceset:{{{type|缺少类型信息}}}|/(\S+)/i=[[category:\1]]|}}{{#replaceset:{{{subtype|}}}|/(\S+)/i=[[category:\1]]|}}{{#replaceset:{{#var:charcampaignset}}|/(\S+)/i=[[category:世界设定-\1]]|}}{{#switch: {{{class|char}}}|char=[[category:玩家角色]]|npc=[[category:非玩家角色]]|#default=}}{{#ifeq: {{{mount|}}}|y|[[category:坐骑]]|}}{{#var:charcontributor}}{{subpages}}|}}</includeonly><noinclude>[[category:模板]]
  
 
== 参数 ==
 
== 参数 ==
第315行: 第314行:
 
;subtype
 
;subtype
 
:角色卡的附加类型, 多个类型用空格分割
 
:角色卡的附加类型, 多个类型用空格分割
 +
;mount
 +
:是否是坐骑, 为"y"时表示是坐骑, 否则为否. 默认为否.
 
;年龄
 
;年龄
 
:默认是20岁.
 
:默认是20岁.
第387行: 第388行:
 
;速记
 
;速记
 
:在这里可以填写关于角色的常用数据, 比如"<nowiki>常用近战攻击: 战术(3) 6d 物质</nowiki>", 便于在游戏时快速查询数据.
 
:在这里可以填写关于角色的常用数据, 比如"<nowiki>常用近战攻击: 战术(3) 6d 物质</nowiki>", 便于在游戏时快速查询数据.
;more
+
;pre / more
 
:在这里可以追加更多的说明, 包括如: 生物的变体(子页面), 常用战术和说明, 引用资料等. 通常通过增加{{tpl|sheetMore}}模板来实现.
 
:在这里可以追加更多的说明, 包括如: 生物的变体(子页面), 常用战术和说明, 引用资料等. 通常通过增加{{tpl|sheetMore}}模板来实现.
 +
:pre会在传记和速记之前呈现, more则在之后呈现.
 
== 范例 ==
 
== 范例 ==
 
=== 玩家角色 ===
 
=== 玩家角色 ===
第485行: 第487行:
 
|type=
 
|type=
 
|subtype=v6
 
|subtype=v6
|class=
+
|class=npc
npc
+
  
 
<!--体征说明-->
 
<!--体征说明-->
第574行: 第575行:
 
|subtype=v6
 
|subtype=v6
 
|class=creature
 
|class=creature
 +
|mount=
  
 
<!--体征说明-->
 
<!--体征说明-->
第648行: 第650行:
 
|传记=
 
|传记=
 
|速记=
 
|速记=
 +
|pre=
 +
{{sheetRow|[[坐骑]]|
 +
{{subst:PAGENAME}}可以作为坐骑, [[搭乘]]1个{{f|大型}}或更小[[体型]]的生物.
 +
----
 +
'''[[骑手]]''': 你必须保持[[骑坐]][[姿势]].
 +
:• [[登上]]: {{action|ra|3}}
 +
:• [[脱离]]: {{action|ra|3}}
 +
:• [[跌落]]: 当{{subst:PAGENAME}}被[[击中]]时, 你需做[[挑战]]投{{d|[[灵巧]]-该[[攻击]]增加的[[伤势]]}}, 若挑战失败则跌落, 跌落时你将受到{{atk|3|[[物质攻击]]}}, 且[[姿势]]变为[[倒地]].
 +
:• [[驾驭]]: 你可以驾驭{{subst:PAGENAME}}做出下述[[行动]]
 +
:- 行动说明
 +
}}
 
|more=
 
|more=
 
{{sheetRow|变体|
 
{{sheetRow|变体|
第657行: 第670行:
 
}}
 
}}
 
</source>
 
</source>
 +
{{tbk}}
 
</noinclude>
 
</noinclude>

在2018年2月24日 (六) 18:50的最新修订版本