模板:用户信息:修订间差异

添加867字节 、​ 2023年6月1日 (星期四)
中考完再改
(自动拉取信息程序故障,回退版本)
标签手工回退 已被回退
(中考完再改)
标签手工回退 2017年版源代码编辑
<includeonly>{{#vardefine:pageuid|{{{UID|}}}}}{{NameSpaceTest|2}}{{#cargo_store:_table=BBSUsers|UserGroup={{AutoUGroupRAW|{{{UserGroupOverride|{{#mcbbscreditvalue:{{{UID|}}}|grouptext}}}}}}}|UserName={{{UserNameOverride|{{#mcbbscreditvalue:{{{UID|}}}|nickname}}}}}}}{{信息卡
<includeonly>{{NameSpaceTest|2}}{{信息卡
|title = {{#if:{{{name|}}}|{{{name}}}|{{BASEPAGENAME}}}}
|image = {{MCBBSAvatar|{{{UID|}}}}}
|bartext = 用户信息
|用户名|{{{UserNameUserNameOverride|{{#mcbbscreditvalue:{{{UID|}}}|nickname}}}}}
|别名|{{{UserAlias|}}}
|用户组|{{AutoUGroup|{{{UserGroupUserGroupOverride|{{#mcbbscreditvalue:{{{UID|}}}|grouptext}}}}}}}
|管理组|{{{ManagementGroup|}}}
|扩展用户组|{{{UserGroupEx|}}}
|right-class = bottom-afdian
}}
}}{{#ifeq: {{NAMESPACENUMBER}}|0|[[分类:用户]]}}</includeonly><noinclude>{{doc}}[[Category:信息模板]]<templatedata>
{{#cargo_declare:
_table = BBSUsers
"|UserName": {= String
|UserAlias = List (,) of String
|ManagementGroup = String
|UserGroupEx = List (,) of String
"|UserGroup": {= String
|UID = Integer
|Title = String
|RName = String
|Birthday = String
|Nationality = String
|Other = String
}}
{{doc}}[[Category:信息模板]]<templatedata>
{
"params": {
"default": "{{BASEPAGENAME}}",
"autovalue": "{{BASEPAGENAME}}"
},
"UserName": {
"label": "用户名",
"type": "string",
"autovalue": "",
"required": true
},
"UserAlias": {
"type": "content",
"autovalue": ""
},
"UserGroup": {
"label": "用户组",
"description": "MCBBS用户组。如果该项被成功识别,会自动生成链接并分类至大家族模板。",
"type": "string",
"required": true
},
"ManagementGroup": {
"label": "其他",
"type": "content"
},
"UserGroupOverride": {
"label": "用户组",
"description": "MCBBS用于覆盖系统自动识别的用户组。如果该项被成功识别,会自动生成链接并分类至大家族模板。",
"type": "string",
},
"UserNameOverride": {
"label": "用户名",
"description": "用于覆盖系统自动识别的用户名",
"type": "string",
}
},
"format": "block",
"description": "MCBBS用户条目的信息卡",
"paramOrder": [
"name",
"UserNameOverride",
"UserAlias",
"UserGroupOverride",
"ManagementGroup",
"UserGroupEx",
"UID",
"Title",
"Afdian",
"RName",
"Birthday",
"Nationality",
"Other"
]
}
</templatedata></noinclude>
维护员、​界面管理员、​巡查员、​监督员、​小部件编辑者
3,462

个编辑