模板:GroupInfoBox/doc:修订间差异

添加1,514字节 、​ 2020年8月1日 (星期六)
(// Edit via Wikiplus)
标签清空
== 使用方法 ==
除了name、DiamondHelmet、IronHelmet、LeatherHelmet之外的其他变量都是可选的。
<div class = "pre-like" style = "max-width: 500px; overflow-x: auto; white-space: nowrap; font-family: NSimSun">
<nowiki>{{GroupInfoBox</nowiki><br/>
|name = (用户组名)<br/>
|GroupName = (用户组名+1)<br/>
|GroupNameColor = (颜色)<br/>
|GroupAlias = (别名)<br/>
|DiamondHelmet = (钻石头盔数)<br/>
|IronHelmet = (铁头盔数)<br/>
|LeatherHelmet = (皮革头盔数)<br/>
|PostIcon = (回帖图标,指帖子中“发表于……”前的图标)<br/>
|GID = (用户组ID)<br/>
|Other = (其他,可以不写)<br/>
}}
</div>
例如:(代码见下)
{{GroupInfoBox
|name = 管理员
|GroupName = 管理员
|GroupNameColor = #FF0000
|GroupAlias =
|DiamondHelmet = 4
|IronHelmet = 0
|LeatherHelmet = 0
|PostIcon = [[File:group_icon_admin.png]]
|GID = 1
|Other =
}}
<div class = "pre-like" style = "max-width: 500px; overflow-x: auto; white-space: nowrap; font-family: NSimSun">
<nowiki>{{GroupInfoBox</nowiki><br/>
|name = 管理员<br/>
|GroupName = 管理员<br/>
|GroupNameColor = #FF0000<br/>
|GroupAlias = <br/>
|DiamondHelmet = 4<br/>
|IronHelmet = 0<br/>
|LeatherHelmet = 0<br/>
|PostIcon = <nowiki>[[File:group_icon_admin.png]]</nowiki><br/>
|GID = 1<br/>
|Other = <br/>
}}
</div>
94

个编辑