メニューを切り替える
Toggle preferences menu
個人設定を切り替える
ログインしていません
編集を行うと、IPアドレスが公開されます。

「テンプレート:ボタン」の版間の差分

提供:U-Stella Wiki
編集の要約なし
編集の要約なし
2行目: 2行目:
<span class="button-link {{{style|blue}}}">[{{{1}}} {{{2}}}]</span>
<span class="button-link {{{style|blue}}}">[{{{1}}} {{{2}}}]</span>


<pre>
<templatedata>
<templatedata>
{
{
28行目: 29行目:
}
}
</templatedata>
</templatedata>
</pre>

2025年3月28日 (金) 19:25時点における版

[{{{1}}} {{{2}}}]

<templatedata>
{
  "params": {
    "1": {
      "label": "リンク先URL",
      "description": "ボタンを押したときに移動するURL(外部リンクやページ名)",
      "type": "string",
      "required": true
    },
    "2": {
      "label": "ボタンの表示名",
      "description": "ボタンに表示される文字(例:詳しく見る)",
      "type": "string",
      "required": true
    },
    "style": {
      "label": "スタイル",
      "description": "ボタンの見た目をカスタマイズできます(blue red green round large small)複数指定可",
      "type": "string",
      "required": false
    }
  },
  "description": "色・形・大きさをカスタマイズできるボタンリンクテンプレート。",
  "format": "inline"
}
</templatedata>