「テンプレート:Mbox/doc」の版間の差分
テンプレートデータを設定 |
一部変更 |
||
73行目: | 73行目: | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"description": "Mboxのテンプレートデータ", | |||
"params": { | |||
"type": { | |||
"label": "type", | |||
"type": "string", | |||
"description": "色と既定アイコンの選択。 protection / speedy / delete / content / style / move / notice", | |||
"suggested": true | |||
}, | |||
"image": { | |||
"label": "image", | |||
"type": "string", | |||
"description": "画像表示の記述。例: [[ファイル:Some image.svg|40px]] / none / blank", | |||
"suggested": true | |||
}, | |||
"imageright": { | |||
"label": "imageright", | |||
"type": "string", | |||
"description": "Wiki構文による右側への画像指定。" | |||
}, | |||
"small": { | |||
"label": "small", | |||
"type": "string", | |||
"description": "小型タイプへのスタイル切り替え。 left / no" | |||
}, | |||
"printable": { | |||
"label": "printable" | |||
}, | |||
"style": { | |||
"label": "style", | |||
"type": "string", | |||
"description": "CSS による外観の細かい設定。" | |||
}, | |||
"background": { | |||
"label": "background", | |||
"type": "string", | |||
"description": "背景色の設定。 #rrggbb / #rgb / 色の名前 / transparent" | |||
}, | |||
"text": { | |||
"label": "text", | |||
"type": "string", | |||
"required": true, | |||
"description": "メッセージ本文。任意の文章" | |||
}, | |||
"smalltext": { | |||
"label": "smalltext", | |||
"type": "string", | |||
"description": "小型タイプの場合に表示するメッセージ本文。任意の文章" | |||
} | |||
} | |||
} | } | ||
</templatedata> | </templatedata> |