「模板:實況主」:修訂間差異
建立內容為「{{Infobox3cols |name = Infobox3cols |bodystyle = |title = {{{name}} |titlestyle = |image = {{{image|}}} |imagestyle = |caption = Caption for example.png |captionstyle = |headerstyle = background:#ccf; |labelstyle = background:#ddf; |datastyle = }}」的新頁面 |
無編輯摘要 |
||
(未顯示同一使用者於中間所作的 3 次修訂) | |||
第1行: | 第1行: | ||
{{ | {{#invoke:infobox|infoboxTemplate | ||
|name | | title = {{{name}}} | ||
| | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image}}}}} | ||
| | | label1 = 暱稱 | ||
| | | data1 = {{{nickname}}} | ||
| | | label2 = Twitch頻道 | ||
| | | data2 = {{{twitchUrl}}} | ||
| | | label3 = YouTube頻道 | ||
| | | data3 = {{{youtubeUrl}}} | ||
| | | label4 = Instagram | ||
| | | data4 = {{{instagram}}} | ||
| | |||
}} | }} | ||
<noinclude> | |||
<templatedata> | |||
{ | |||
"params": { | |||
"image": { | |||
"label": "照片", | |||
"type": "wiki-file-name" | |||
}, | |||
"name": { | |||
"label": "名子", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"twitchUrl": { | |||
"label": "Twitch頻道", | |||
"type": "url" | |||
}, | |||
"youtubeUrl": { | |||
"label": "YouTube頻道", | |||
"type": "url" | |||
}, | |||
"nickname": { | |||
"label": "暱稱", | |||
"type": "string" | |||
}, | |||
"instagram": { | |||
"label": "Instagram", | |||
"type": "url" | |||
} | |||
}, | |||
"description": "顯示實況主資訊卡", | |||
"paramOrder": [ | |||
"name", | |||
"image", | |||
"nickname", | |||
"twitchUrl", | |||
"youtubeUrl", | |||
"instagram" | |||
] | |||
} | |||
</templatedata> | |||
</noinclude> |
於 2024年12月19日 (四) 19:27 的最新修訂
[[File:{{{image}}}|frameless]] | |
暱稱 | {{{nickname}}} |
---|---|
Twitch頻道 | {{{twitchUrl}}} |
YouTube頻道 | {{{youtubeUrl}}} |
{{{instagram}}} |
顯示實況主資訊卡
參數 | 描述 | 類型 | 狀態 | |
---|---|---|---|---|
名子 | name | 沒有描述 | 字串 | 必填 |
照片 | image | 沒有描述 | 檔案 | 非必填 |
暱稱 | nickname | 沒有描述 | 字串 | 非必填 |
Twitch頻道 | twitchUrl | 沒有描述 | URL | 非必填 |
YouTube頻道 | youtubeUrl | 沒有描述 | URL | 非必填 |
instagram | 沒有描述 | URL | 非必填 |