「テンプレート:Mbox/doc」の版間の差分
説明の一部を信号機Wiki用に調整 |
細 テンプレートデータを修正 |
||
(同じ利用者による、間の2版が非表示) | |||
58行目: | 58行目: | ||
| || || | | || || | ||
|} | |} | ||
== カテゴリ == | == カテゴリ == | ||
68行目: | 70行目: | ||
|} | |} | ||
--> | --> | ||
<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> | |||
== 関連項目 == | == 関連項目 == | ||
*{{tl|ambox}} - 記事用 | *{{tl|ambox}} - 記事用 |