“模板:Clickable button 2/doc”的版本间的差异

来自中文乐谱库
wiki_>A2093064-bot
機器人35:更新模板使用量為5348)
 
(导入1个版本)
 
(没有差异)

2020年7月4日 (六) 21:34的最新版本

Lua错误:无法创建进程:proc_open(/dev/null): failed to open stream: Operation not permitted[[Category:模板:SUBJECTSPACE ZH说明文件]] Lua错误:无法创建进程:proc_open(/dev/null): failed to open stream: Operation not permitted Lua错误:无法创建进程:proc_open(/dev/null): failed to open stream: Operation not permitted

Lua错误:无法创建进程:proc_open(/dev/null): failed to open stream: Operation not permitted

This template styles a link like a button, using the mediawiki.ui.button module. This expands the clickable area and tap target for the link. It can be used in the following ways,

  • Code: {{Clickable button 2|Main Page}}
    • Result: Lua错误:无法创建进程:proc_open(/dev/null): failed to open stream: Operation not permitted
  • Code: {{Clickable button 2|Main Page|Cover page}}
    • Result: Lua错误:无法创建进程:proc_open(/dev/null): failed to open stream: Operation not permitted
  • Code: {{Clickable button 2|Main Page|url=http://en.wikipedia.org}}
    • Result: Lua错误:无法创建进程:proc_open(/dev/null): failed to open stream: Operation not permitted
  • Code: {{Clickable button 2|Main Page|class=mw-ui-destructive}}
    • Result: Lua错误:无法创建进程:proc_open(/dev/null): failed to open stream: Operation not permitted
  • Code: {{Clickable button 2|Main Page|class=mw-ui-progressive}}
    • Result: Lua错误:无法创建进程:proc_open(/dev/null): failed to open stream: Operation not permitted

注意: After the changes outlined in Phabricator task T110555 were implemented, {{Clickable button 2|Main Page|class=mw-ui-constructive}} produces the same output as {{Clickable button 2|Main Page|class=mw-ui-progressive}}.

Template data

<templatedata> { "params": { "1": { "required": true, "label": "Link/Label" }, "2": { "suggested": true, "label": "Label" }, "url": { "type": "url", "label": "URL" }, "class": { "type": "string", "autovalue": "" }, "style": { "type": "string" }, "category": { "type": "boolean" } }, "description": "Styles a link like a button, using the mediawiki.ui.button module", "format": "inline" } </templatedata>

重定向

参见

Lua错误:无法创建进程:proc_open(/dev/null): failed to open stream: Operation not permitted