「テンプレート:Mbox/doc」の版間の差分

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