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

羽井出 (トーク | 投稿記録)
1版 をインポートしました: mbox
羽井出 (トーク | 投稿記録)
テンプレートデータを修正
 
(同じ利用者による、間の3版が非表示)
1行目: 1行目:
<noinclude>{{Documentation subpage|種類=[[Help:テンプレート|テンプレート]]}}</noinclude>
<noinclude>{{Documentation subpage|種類=[[Help:テンプレート|テンプレート]]}}</noinclude>
<includeonly>{{Pp-template}}{{使用箇所の多いテンプレート|60,000以上}}</includeonly>
{{Lua|Module:Message box}}
{{Lua|Module:Message box}}
{{Mbox templates}}
{{Mbox templates}}
6行目: 5行目:


このメタテンプレートは、埋め込まれている名前空間を自動判定して {{tl|ambox}}、{{tl|tmbox}}、 {{tl|imbox}}、{{tl|cmbox}}、あるいは {{tl|ombox}}、のうちのいずれかを呼び出します。
このメタテンプレートは、埋め込まれている名前空間を自動判定して {{tl|ambox}}、{{tl|tmbox}}、 {{tl|imbox}}、{{tl|cmbox}}、あるいは {{tl|ombox}}、のうちのいずれかを呼び出します。
'''記事ページにおいて、このテンプレートを用いて記事の編集についての注意事項の記述(このページを編集する際には……)など、その記事がウィキペディアの一部であるという前提に依拠した使用はしないでください'''。詳しくは[[Wikipedia:ウィキペディアへの自己言及]]をご覧ください。編集時の注意をしたい場合は、[[Help:ページの編集#文字飾り|コメントアウト]]<code><nowiki><!-- --></nowiki></code>で記事のソース内に注意書きを置いてください。


__TOC__
__TOC__
61行目: 58行目:
|  ||  ||  
|  ||  ||  
|}
|}


== カテゴリ ==
== カテゴリ ==
71行目: 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}} - 記事用