編集の要約なし |
編集の要約なし |
||
(同じ利用者による、間の19版が非表示) | |||
1行目: | 1行目: | ||
<span class="button-link">[{{{1}}} {{{2}}}]</span> | <templatestyles src="Template:ボタン/styles.css" /> | ||
<span class="button-link {{{style|blue}}}">[{{{1}}} {{{2}}}]</span> | |||
<noinclude> | |||
<templatedata> | <templatedata> | ||
{ | { | ||
8行目: | 9行目: | ||
"label": "リンク先URL", | "label": "リンク先URL", | ||
"description": "ボタンを押したときに移動するURL(外部リンクやページ名)", | "description": "ボタンを押したときに移動するURL(外部リンクやページ名)", | ||
"type": "string", | |||
"required": true | "required": true | ||
}, | }, | ||
"2": { | "2": { | ||
"label": "ボタンの表示名", | "label": "ボタンの表示名", | ||
"description": " | "description": "ボタンに表示される文字(例:詳しく見る)", | ||
"type": "string", | |||
"required": true | "required": true | ||
}, | |||
"style": { | |||
"label": "スタイル", | |||
"description": "ボタンの見た目をカスタマイズできます(blue red green round large small)複数指定可", | |||
"type": "string", | |||
"required": false | |||
} | } | ||
}, | }, | ||
"description": " | "description": "色・形・大きさをカスタマイズできるボタンリンクテンプレート。", | ||
"format": "inline" | "format": "inline" | ||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> |
2025年3月28日 (金) 19:28時点における最新版
色・形・大きさをカスタマイズできるボタンリンクテンプレート。
パラメーター | 説明 | 型 | 状態 | |
---|---|---|---|---|
リンク先URL | 1 | ボタンを押したときに移動するURL(外部リンクやページ名) | 文字列 | 必須 |
ボタンの表示名 | 2 | ボタンに表示される文字(例:詳しく見る) | 文字列 | 必須 |
スタイル | style | ボタンの見た目をカスタマイズできます(blue red green round large small)複数指定可 | 文字列 | 省略可能 |