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