个人工具

模板:Frm

出自Meshal Lite

跳转到: 导航, 搜索
第88行: 第88行:
 
| #default = ability }} }}<!-- 正式输出frm表格框架 -->{|width= {{#ifeq: {{#var:subpage}}|1|{{#ifeq: {{FULLPAGENAME}}|{{ucfirst:{{{name|{{{2}}}}}}}}|480px|100%}}|{{#ifeq: {{FULLPAGENAME}}|{{ucfirst:{{#var:frmclass}}}}:{{ucfirst:{{{name|{{{2}}}}}}}}|480px|100%}}}} padding=0 spacing=0 style="background: transparent; border: 1px #aaa solid; text-align: left;" class="collapsible {{#ifeq: {{#var:subpage}}|1|{{#ifeq: {{FULLPAGENAME}}|{{ucfirst:{{{name|{{{2}}}}}}}}||off}}|{{#ifeq: {{FULLPAGENAME}}|{{ucfirst:{{#var:frmclass}}}}:{{ucfirst:{{{name|{{{2}}}}}}}}||off}}}}"
 
| #default = ability }} }}<!-- 正式输出frm表格框架 -->{|width= {{#ifeq: {{#var:subpage}}|1|{{#ifeq: {{FULLPAGENAME}}|{{ucfirst:{{{name|{{{2}}}}}}}}|480px|100%}}|{{#ifeq: {{FULLPAGENAME}}|{{ucfirst:{{#var:frmclass}}}}:{{ucfirst:{{{name|{{{2}}}}}}}}|480px|100%}}}} padding=0 spacing=0 style="background: transparent; border: 1px #aaa solid; text-align: left;" class="collapsible {{#ifeq: {{#var:subpage}}|1|{{#ifeq: {{FULLPAGENAME}}|{{ucfirst:{{{name|{{{2}}}}}}}}||off}}|{{#ifeq: {{FULLPAGENAME}}|{{ucfirst:{{#var:frmclass}}}}:{{ucfirst:{{{name|{{{2}}}}}}}}||off}}}}"
 
|-
 
|-
! colspan=2 style="font-weight: bold; border-style: none none hidden none; background: #{{#var:frmcolor}}; caption-side:left; text-align: left;"|{{img|ico_{{#var:frmico}}.gif}}{{#ifeq:{{#var:subpage}}|0|[[{{#var:frmclass}}:{{{name|{{{2}}}}}}|{{{name|{{{2}}}}}}]]|[[{{{name|{{{2}}}}}}|{{#explode: {{{name|{{{2}}}}}}|/|-1}}]] }}{{{customtitle|{{{7|}}}}}}
+
! colspan=2 style="font-weight: bold; border-style: none none hidden none; background: #{{#var:frmcolor}}; caption-side:left; text-align: left;"|{{img|ico_{{#var:frmico}}.gif}}{{#ifeq:{{#var:subpage}}|0|[[{{#var:frmclass}}:{{{name|{{{2}}}}}}|{{{name|{{{2}}}}}}]]|[[{{{name|{{{2}}}}}}|{{#explode: {{{name|{{{2}}}}}}|/|-1}}]] }}{{{add|{{{7|}}}}}}
 
|-
 
|-
 
|width=32px valign=top style="font-weight: bold; border: 1px gray; border-style: dotted none none none;"|类型
 
|width=32px valign=top style="font-weight: bold; border: 1px gray; border-style: dotted none none none;"|类型
第111行: 第111行:
 
*5或subpage: 这个条目是否是子页面. 为1, y, yes, true表示是子页面, 为0, n, no, false时不是子页面. 默认为"0". 作为子页面时, 不会对该条目进行归类.
 
*5或subpage: 这个条目是否是子页面. 为1, y, yes, true表示是子页面, 为0, n, no, false时不是子页面. 默认为"0". 作为子页面时, 不会对该条目进行归类.
 
*6或subtype: 如果要添加子分类(而不显示在类型行中), 可以在这里填写. 允许多个(用空格分隔).
 
*6或subtype: 如果要添加子分类(而不显示在类型行中), 可以在这里填写. 允许多个(用空格分隔).
*7或customtitle: 可以在标题处添加更多定制信息.
+
*7或add: 可以在标题处添加更多定制信息.
 
{| width=500 class="collapsible collapsed wikitable"
 
{| width=500 class="collapsible collapsed wikitable"
 
|-
 
|-

在2013年4月18日 (四) 12:53所做的修订版本