Template:Clickable button
此模板用于显示一个带有按钮外观的链接。
用法 编辑
- 代码:
{{Clickable button|首页}}
- 代码:
{{Clickable button|首页|单击我访问首页}}
- 代码:
{{Clickable button|首页|url=https://wiki.bedev.cn}}
- 代码:
{{Clickable button|首页|class=mw-ui-destructive}}
- 代码:
{{Clickable button|首页|class=mw-ui-progressive}}
参数 编辑
名称 | 用法 |
---|---|
{{{1}}}
|
为其他参数设置默认链接。 |
{{{2}}}
|
设置按钮显示的文本。 |
{{{url}}}
|
设置外部URL。 |
{{{class}}}
|
设置对应的class属性。 |
{{{style}}}
|
设置HTML的style属性。 |
{{{category}}}
|
无描述。 |