「テンプレート:Mbox/doc」の版間の差分
テンプレートデータを設定 |
細 テンプレートデータを修正 |
||
(同じ利用者による、間の1版が非表示) | |||
73行目: | 73行目: | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"description": "Mboxのテンプレートデータ", | |||
"params": { | |||
"type": { | |||
"label": "type", | |||
"type": "string", | |||
"description": "色と既定アイコンの選択。 ", | |||
"suggested": true, | |||
"suggestedvalues": [ | |||
"protection", | |||
"speedy", | |||
"delete", | |||
"content", | |||
"style", | |||
"move", | |||
"notice" | |||
] | |||
}, | |||
"image": { | |||
"label": "image", | |||
"type": "string", | |||
"description": "画像表示の記述。例: [[ファイル:Some image.svg|40px]] / none / blank", | |||
"suggested": true, | |||
"suggestedvalues": [ | |||
"[[ファイル:Some image.svg|40px]]", | |||
"none", | |||
"blank" | |||
] | |||
}, | |||
"imageright": { | |||
"label": "imageright", | |||
"type": "string", | |||
"description": "Wiki構文による右側への画像指定。" | |||
}, | |||
"small": { | |||
"label": "small", | |||
"type": "string", | |||
"description": "小型タイプへのスタイル切り替え。", | |||
"suggestedvalues": [ | |||
"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> |