更多語言
更多操作
刪去的內容 新增的內容
创建页面,内容为“<!--{{链接按钮 |external=1 |link={{{link|https://chinadlrs.com/app}}} |text=link=|36px|Chinadlrs {{{text|同人群应用中心}}} |color=linear-gradient(to right, #f04e52, #55a8da) }}--> <span class="plainlinks">[{{{link|https://chinadlrs.com/app}}} <span class="mw-ui-button mw-ui-progressive mw-ui-small" style="border-style: none; background-image: linear-gradient(to right, #f04e52, #3bdeee)">File:Icon_chinadlrs.png|link=|36p…” |
無編輯摘要 |
||
第1行: | 第1行: | ||
⚫ | <span class="plainlinks">[{{{link|https://chinadlrs.com/app}}} <span class="mw-ui-button mw-ui-progressive mw-ui-small" style="border-style: none; background-image: linear-gradient(to right, #ef664b, #f04e52, #56a5d6, #3bdeee)">[[File:Icon_chinadlrs.png|link=|36px|Chinadlrs]] {{{text|同人群应用中心}}}]</span><noinclude> |
||
<!--{{链接按钮 |
|||
|external=1 |
|||
|link={{{link|https://chinadlrs.com/app}}} |
|||
|text=[[File:Icon_chinadlrs.png|link=|36px|Chinadlrs]] {{{text|同人群应用中心}}} |
|||
|color=linear-gradient(to right, #f04e52, #55a8da) |
|||
}}--> |
|||
⚫ | |||
{{doc}} |
{{doc}} |
||
<templatedata> |
|||
{ |
|||
"params": { |
|||
"link": { |
|||
"description": "按钮所链接的地址。", |
|||
"example": "https://example.com", |
|||
"type": "url", |
|||
"required": true |
|||
}, |
|||
"text": { |
|||
"description": "按钮所显示的文字。", |
|||
"type": "line", |
|||
"suggested": true |
|||
} |
|||
}, |
|||
"description": "添加一个按钮,提示用户从DLRS同人群应用中心获取相关内容。", |
|||
"format": "inline" |
|||
} |
|||
</templatedata> |
|||
[[分类:按钮]] |
|||
</noinclude> |
</noinclude> |
於 2023年9月28日 (四) 15:02 的修訂
繼承Template:連結按鈕中的{{{link}}}和{{{text}}}參數,並指定{{{external}}}參數為1。具體用法請查看該模板的模板文檔。
上述文檔嵌入自Template:DLRSWebsiteButton/doc。(編輯 | 歷史)
添加一個按鈕,提示用戶從DLRS同人群應用中心獲取相關內容。
參數 | 描述 | 類型 | 狀態 | |
---|---|---|---|---|
link | link | 按鈕所連結的地址。
| URL | 必填 |
text | text | 按鈕所顯示的文字。 | 行 | 建議 |