「テンプレート:Boxmenu」の版間の差分
細 脱字の修正 |
説明文をフレンドリー化 |
||
(他の1人の利用者による、間の4版が非表示) | |||
5行目: | 5行目: | ||
border: solid 2px #808080; | border: solid 2px #808080; | ||
background-color: #f0f0ff; | background-color: #f0f0ff; | ||
"><div | "><div class="img-width-100">{{#if: {{{画像|}}} | {{{画像}}} }}</div><p><big><b>{{{ヘッダー|}}}</b></big><br>{{{説明|}}}</p></div> | ||
<noinclude> | <noinclude> | ||
<templatedata> | <templatedata> | ||
11行目: | 11行目: | ||
"params": { | "params": { | ||
"画像": { | "画像": { | ||
"description": " | "description": "上部に表示する画像があれば入力します。ない場合はnoImageにするべきです。", | ||
"example": "疑似点灯例.JPG", | "example": "[[ファイル:疑似点灯例.JPG|link=:カテゴリ:灯器]]", | ||
"type": " | "type": "string", | ||
"aliases": [ | "aliases": [ | ||
"1" | "1" | ||
19行目: | 19行目: | ||
}, | }, | ||
"ヘッダー": { | "ヘッダー": { | ||
"description": " | "description": "タイトルヘッダーを入力します。説明の上部に太字+やや大きめの字で表示されます。省略可能です。", | ||
"example": "[[:カテゴリ:灯器|灯器]]", | "example": "[[:カテゴリ:灯器|灯器]]", | ||
"type": "string", | "type": "string", | ||
27行目: | 27行目: | ||
}, | }, | ||
"説明": { | "説明": { | ||
"description": " | "description": "この要素の説明文を記載します。省略可能です。", | ||
"example": "信号灯器に関するカテゴリです。", | "example": "信号灯器に関するカテゴリです。", | ||
"type": "string", | "type": "string", | ||
34行目: | 34行目: | ||
] | ] | ||
} | } | ||
} | }, | ||
"paramOrder": [ | |||
"画像", | |||
"ヘッダー", | |||
"説明" | |||
], | |||
"description": "Boxmenu gridの子要素として使用するテンプレートです。ここで指定した要素がグリッドレイアウトとして整列され、表示されます。" | |||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> |