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

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