添加的内容 删除的内容
(创建页面,内容为“<!--{{链接按钮 |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 | 按钮所显示的文字。 | 单行文本 | 推荐 |