全站通知:
模板:ButtonLink
刷
历
编
跳到导航
跳到搜索
转自星露谷同名bwiki模板,存在微调
模板:ButtonLink
这个模板用于调用Widget:ButtonLink生成带有图标的按钮式导航链接。
用法
{{ButtonLink|链接地址|图片URL|文本}}
参数
- 参数1 (必需): 图标的URL地址 (src)
- 参数2 (选填): 图标的替代文本和显示文本 (alt)
- width (选填): 图标宽度 (width)
- height (选填): 图标高度 (height)
- link (选填): 图标点击跳转页面 (link)
示例
{{ButtonLink|金币.png}} {{ButtonLink|金币.png|金币}} {{ButtonLink|金币.png||link=道具/钻石|width=20px|height=20px}}
结果:
金币