◆少前百科是非盈利性、非官方的少女前线维基百科。 ◆如果您发现某些内容错误/空缺,请勇于修正/添加!参与进来其实很容易!点这里 加入少前百科。 ◆有任何意见、建议、纠错,欢迎在 GFwiki:反馈与建议 提出和讨论。编辑事务讨论QQ群:597764980,微博@GFwiki少前百科 ◆To foreigners,You can use twitter to contact us. |
“模板:小头像”的版本间的差异
Mikumikuer(讨论 | 贡献) |
|||
(未显示2个用户的31个中间版本) | |||
第1行: | 第1行: | ||
− | < | + | <div class="TDavatar {{#switch:{{{3|2}}}|5=rare5|4=rare4|3=rare3|2=rare2|1=rareEX|6=rare6|0=SF|X=none|item=rareBlank}}" style="{{#if:{{{w|}}}|width:{{{w|}}};height:auto;|}}"> |
− | {| | + | {{#if:{{filepath:icon_{{{1|}}}{{#switch:{{{4|}}}|1=_Mod}}.png}}|[[File:icon_{{{1|}}}{{#switch:{{{4|}}}|1=_Mod}}.png|{{{2|}}}|link={{#switch:{{{4|}}}|1={{{2|}}}#MOD3|#default={{{2|}}}}}|无框|class=no-lazy {{#if:{{{class|}}}|{{{class|}}}|}}]]|[[File:Icon_Skill_default.png|link={{#switch:{{{4|}}}|1={{{2|}}}#MOD3|#default={{{2|}}}}}|无框|class=no-lazy {{#if:{{{class|}}}|{{{class|}}}|}}]]}}</div><noinclude>{{documentation}}[[分类:模板]]</noinclude> |
− | | | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | {{ | ||
− | |||
− | = | ||
− | {| | ||
− | | | ||
− | |||
− | |||
− | |- | ||
− | |||
− | {{ | ||
− | | | ||
− | {{ | ||
− | </ | ||
− | |||
− | [[分类:模板]]</noinclude> |
2019年8月9日 (五) 22:06的最新版本
使用方法
{{小头像|[图片名称 文件上传名称:icon_“填入的名称”.png]|[链接的wiki页面]|[稀有度2/3/4/5/6]|[是否改造(填1)]|w=[尺寸,带单位(css单位px\%\em\rem..)]|class=[要传递给<img>的类]}}
示例
您所看到的 | 您所输入的 |
---|---|
|
{{小头像|No.1|柯尔特左轮|3}}{{小头像|No.1|柯尔特左轮|4|1}}{{小头像|No.1|柯尔特左轮|6|w=80px}}{{小头像|No.1|柯尔特左轮|1|w=80px}}{{小头像|Ouroboros||0}}{{小头像|宠物-幽步喵||X}}{{小头像|宠物-幽步喵||item}} |