新增的內容 刪去的內容
無編輯摘要 |
小 (补充可视化编辑器模板数据) |
||
第13行: | 第13行: | ||
"example": "https://example.com", |
"example": "https://example.com", |
||
"type": "url", |
"type": "url", |
||
"required": true |
"required": true, |
||
"label": "链接", |
|||
"autovalue": "https://pan.baidu.com" |
|||
}, |
}, |
||
"text": { |
"text": { |
||
"description": "按钮所显示的文字。", |
"description": "按钮所显示的文字。", |
||
"type": "line", |
"type": "line", |
||
"suggested": true |
"suggested": true, |
||
"label": "文本", |
|||
"autovalue": "百度网盘下载" |
|||
} |
} |
||
}, |
}, |
於 2023年11月28日 (二) 18:45 的修訂
繼承Template:連結按鈕中的{{{link}}}、{{{disabled}}}和{{{text}}}參數,並指定{{{external}}}參數為1。具體用法請查看該模板的模板文檔。
上述文檔嵌入自Template:BaiduNetdiskButton/doc。(編輯 | 歷史)
添加一個按鈕,提示用戶從百度網盤獲取相關內容。
參數 | 描述 | 類型 | 狀態 | |
---|---|---|---|---|
連結 | link | 按鈕所連結的地址。
| URL | 必填 |
文本 | text | 按鈕所顯示的文字。
| 行 | 建議 |