「テンプレート:Mbox/doc」の版間の差分
説明の一部を信号機Wiki用に調整 |
テンプレートデータを設定 |
||
58行目: | 58行目: | ||
| || || | | || || | ||
|} | |} | ||
== カテゴリ == | == カテゴリ == | ||
68行目: | 70行目: | ||
|} | |} | ||
--> | --> | ||
<templatedata> | |||
{ | |||
"description": "Mboxのテンプレートデータ", | |||
"params": { | |||
"type": { | |||
"label": "type", | |||
"type": "string", | |||
"description": "色と既定アイコンの選択。 protection / speedy / delete / content / style / move / notice" | |||
}, | |||
"type": { | |||
"label": "type", | |||
"type": "string", | |||
"description": "色と既定アイコンの選択。 protection / speedy / delete / content / style / move / notice" | |||
}, | |||
"image": { | |||
"label": "image", | |||
"type": "string", | |||
"description": "画像表示の記述。例: [[ファイル:Some image.svg|40px]] / none / blank" | |||
}, | |||
"imageright": { | |||
"label": "imageright", | |||
"type": "string", | |||
"description": "Wiki構文による右側への画像指定。 left / no" | |||
}, | |||
"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> | |||
== 関連項目 == | == 関連項目 == | ||
*{{tl|ambox}} - 記事用 | *{{tl|ambox}} - 記事用 |