模板:Clickable button/doc
外观
| 文件:Codex icon book color-base.svg | This is a documentation subpage for 模板:Clickable button. It contains usage information, categories and other content that is not part of the original 模板 page. |
Example
→ {{Clickable button|color=white}}
→ {{Clickable button|color=red}}
→ {{Clickable button|color=blue}}
→ [[target|{{Clickable button|text}}]] (for links. To add links, transclude this template inside wikilinks after the pipebar: [[target title|{{Clickable button|text}}]]. Or better use {{Clickable button 2}} which adds links automatically)
Templatedata
Creates a OOUI styled button.
| 参数 | 描述 | 类型 | 状态 | |
|---|---|---|---|---|
| Label | text 1 | 无描述 | 内容 | 必需 |
| Color of the button | color | Can be blue (progressive), red (destructive) or white | 字符串 | 推荐 |
See also
- {{Clickable button 2}} for