模板:UserIdentity
出自Meshal Lite
第1行: | 第1行: | ||
− | <div class="userIdentity">{{img|icon_useridentities.png}}<div>{{#replaceset:{{#usergroups:{{PAGENAME}}}}|/(\S+)/i={{img|useridentity_\1.png}}<br>|}}</div></div> | + | <includeonly><div class="userIdentity">{{img|icon_useridentities.png}}<div>{{#replaceset:{{#usergroups:{{PAGENAME}}}}|/(\S+)/i={{img|useridentity_\1.png}}<br>|}}</div></div></includeonly><noinclude>[[category:模板]] |
+ | ==说明== | ||
+ | 这个模板由用户自行添加在自己的用户页中,从而在用户页中显示身份徽章 | ||
+ | |||
+ | ==使用== | ||
+ | <source lang="text"> | ||
+ | {{UserIdentity}} | ||
+ | </source> | ||
+ | </noinclude> |