个人工具
登录
查看源代码 - Meshal Lite
模板
讨论
查看源代码
历史
Search
导航
首页
游戏手册
资料库
角色卡
站点动态
当前事件
最近更改
随机页面
帮助
帮助索引
语法库
模板库
样本库
工具箱
链入页面
链出更改
特殊页面
查看源代码
出自Meshal Lite
对
模板:SheetTeam
的源代码
跳转到:
导航
,
搜索
<includeonly><div style="display:none;"><!--数据处理: 这个部分会被包含在1个隐藏容器内, 不影响排版--> <!--文本转化处理--> {{#vardefine: absolutepagename|{{{fullpagename|}}}}} <!--持续时间--> {{#vardefine: sessionduration|{{#expr: floor(({{#time:U|{{#ifeq:{{{完结日期|}}}||now|{{{完结日期|}}}}}}}-{{#time:U|{{{开始日期|}}}}})/3600/24)}}}} <!--世界设定--> {{#vardefine: teamcampaignset|{{#ifeq: {{{set|}}}||核心|{{{set|}}} }} }} <!--贡献者--> {{#vardefine: teamcontributor|<div class="contributor">本内容由 {{#ifeq:{{{contributor|}}}||[[Meshal Design Team]]|{{{contributor|}}}}} 贡献</div>}} <!--数据处理结束--></div> <!--添加子页面入口-->{{#ifeq: {{FULLPAGENAME}}|{{{fullpagename|}}}|{{#ifingroup:sysop| <span class="editEntrance" style="float:right;">{{img|icon_addsubpage.png}}<inputbox> type=create width=24 break=no bgcolor=#ffffff placeholder=子页面名 prefix={{FULLPAGENAME}}/ buttonlabel=创建子页面 </inputbox></span> |}}|}} <!--团队框架开始--><div style="position:relative; float: left; width: 978px; margin:8px; padding: none; "> <!--名称容器开始--><div class="sheetCol" style="float: left; width: 632px; height: 48px; border-radius: 24px; background-color: #f7f8f8; margin: 0 4px 0 4px;text-align: left; overflow: hidden;"> <div class="sheetScore" style="border-top: none; width: 622px; vertical-align: middle;">{{img|icon_name.png}} <span> {|style="height: 100%; width:568px;" |valign=middle align=left style="font-size: 16px; line-height:18px;"|{{#ifeq: {{{团队名称|}}}||无名团队|{{{团队名称|}}}}} |}</span><div style="float: right; width:auto; text-align:right;">{{#replaceset:{{{type|缺少类型信息}}}|/(\S+)/i=[[\1]]|}} {{#switch: {{{active|active}}}|active=[[活跃团队]]|inactive=[[封存团队]]|finish=[[完结团队]]|#default=[[活跃团队]]}}</div> </div></div><!--名称容器结束--> <!--团队存续开始--><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_age.png}} <span> {|style="width:240px; height: 100%;" |valign=middle align=center style="text-align:center;"|<font style="font-size: 12px; padding-bottom:4px;">持续</font> {{#var:sessionduration}} <font style="font-size: 12px;">天</font> |}</span> <div> {|style="width:240px; height: 100%;" |valign=middle align=left width=32px|'''时期''': |valign=middle align=left|{{#time:Y-m-d|{{{开始日期|}}}}} A.D. ~ {{#ifeq:{{{完结日期|}}}||至今|{{#time:Y-m-d|{{{完结日期|}}}}} A.D.}} |}</div></div> </div><!--团队存续结束--> <div style="float: left; height: 12px; width: 100%;"><!--分割线--></div> <!--活跃成员开始--><div class="sheetCol" style="float: left; width: 472px; height: 208px; border-radius: 24px; background-color: #f4f0ed; margin: 0 4px 0 4px; text-align: center; overflow: hidden;"> :;活跃成员 <div style="width: 462px; height: 180px; margin: 0 auto; overflow: auto; overflow-y: scroll; border-radius: 8px; text-align: left; column-count:3;"> {{#ifeq: {{{活跃成员|}}}||暂时没有任何活跃成员|{{{活跃成员|}}}}} </div></div><!--活跃成员结束--> <!--其他成员开始--><div class="sheetCol" style="float: left; width: 472px; height: 208px; border-radius: 24px; background-color: #e7e6e7; margin: 0 4px 0 4px; text-align: center; overflow: hidden;"> :;其他成员 <div style="width: 462px; height: 180px; margin: 0 auto; overflow: auto; overflow-y: scroll; border-radius: 8px; text-align: left; column-count:3;"> {{#ifeq: {{{其他成员|}}}||暂时没有任何其他成员|{{{其他成员|}}}}} </div></div><!--其他成员结束--> <div style="float: left; height: 12px; width: 100%;"><!--分割线--></div> <!--资产清单开始--> {{tab_collapse|{{img|icon_backpacksmall.png}}携带[[物品]]|width=100%}} | <div style="width:970px; float:left;"> <div class="cardList" style="width:100%; {{#ifeq: {{{携带物品|}}}||height: auto;|column-count:3; -moz-column-count:3; -webkit-column-count: 3;}}"> {{#ifeq: {{{携带物品|}}}||没有携带物品|{{{携带物品|}}}}} </div> </div> |} {{tab_collapse|{{img|icon_backpacksmall.png}}其他资产|width=100%}} | <div style="width:970px; float:left;"> <div class="cardList" style="width:100%; {{#ifeq: {{{其他资产|}}}||height: auto;|column-count:3; -moz-column-count:3; -webkit-column-count: 3;}}"> {{#ifeq: {{{其他资产|}}}||没有其他资产|{{{其他资产|}}}}} </div> </div> |}<!--资产清单结束--> <div style="float: left; height: 12px; width: 100%;"><!--分割线--></div> <!--记录开始--><div class="sheetCol" style="float: left; width: 960px; height: 208px; border-radius: 24px; background-color: #f2f5ce; margin: 0 4px 0 4px; text-align: center; overflow: hidden;"> :;团队记录 <div style="width:950px; height: 180px; margin: 0 auto; overflow: auto; overflow-y: scroll; border-radius: 8px; text-align: left;"> {{#ifeq: {{{团队记录|}}}||暂时没有任何记录|{{{团队记录|}}}}} </div></div><!--记录结束--> {{{more|}}} </div><!--团队框架结束-->{{#ifeq: {{FULLPAGENAME}}|{{{fullpagename|}}}|{{#replaceset:{{{type|缺少类型信息}}}|/(\S+)/i=[[category:\1]]|}}{{#replaceset:{{{subtype|}}}|/(\S+)/i=[[category:\1]]|}}{{#replaceset:{{#var:teamcampaignset}}|/(\S+)/i=[[category:世界设定-\1]]|}}{{#switch: {{{active|active}}}|active=[[category:活跃团队]]|inactive=[[category:封存团队]]|finish=[[category:完结团队]]|#default=[[category:活跃团队]]}}{{#var:teamcontributor}}|}}</includeonly><noinclude>[[category:模板]] ==参数== ;fullpagename :这个参数用来校验团队卡的实际全名, 需要这个参数来进行协助定位. 这个参数在录入时必须为"<nowiki>{{subst:FULLPAGENAME}}</nowiki>" ;teamcampaignset :这张团队卡所属的世界设定, 多个设定用空格分割. 留空则为世界设定-核心. ;teamcontributor :本页的原作者签名 ;团队名称 :为空时代表"无名团队" ;class :团队卡的类型, 控制一些参数的表现方法. 默认为"active". 可选参数: :- active: 活跃团队 :- inactive: 封存团队 :- finish: 完结团队 ;type :团队卡类型, 用空格分割多个类型 ;subtype :团队卡附加类型, 多个类型用空格分割 ;开始日期 :这个团队建立的日期 ;完结日期 :这个团队完结的日期 ;活跃成员 ;其他成员 ;携带物品 ;其他资产 ;团队记录 ;more :在这里可以追加更多的说明, 包括如: 生物的变体(子页面), 常用战术和说明, 引用资料等. 通常通过增加{{tpl|sheetMore}}模板来实现. </noinclude>
模板:Tbk
(
查看源码
)
模板:Tpl
(
查看源码
)
返回到
模板:SheetTeam
。