「テンプレート:Boxmenu」の版間の差分
細 細かい修正 |
説明の追加、細かい修正 |
||
5行目: | 5行目: | ||
border: solid 2px #808080; | border: solid 2px #808080; | ||
background-color: #f0f0ff; | background-color: #f0f0ff; | ||
">{{{画像|}}}<p><big><b>{{{ヘッダー|}}}</b></big><br>{{{ | ">{{#if: {{{画像|}}} | [[ファイル:{{{画像}}}]] }}<p><big><b>{{{ヘッダー|}}}</b></big><br>{{{説明|}}}</p></div> | ||
<noinclude> | |||
<templatedata> | |||
{ | |||
"params": { | |||
"画像": { | |||
"description": "表示する画像のファイル名", | |||
"example": "疑似点灯例.JPG", | |||
"type": "wiki-file-name" | |||
}, | |||
"ヘッダー": { | |||
"description": "説明の上に表示", | |||
"example": "[[:カテゴリ:灯器|灯器]]", | |||
"type": "string" | |||
}, | |||
"説明": { | |||
"description": "説明本文", | |||
"example": "信号灯器に関するカテゴリです。", | |||
"type": "string" | |||
} | |||
} | |||
} | |||
</templatedata> | |||
</noinclude> |