「テンプレート:Boxmenu」の版間の差分
表示
画像リンク先の追加 |
修正 |
||
5行目: | 5行目: | ||
border: solid 2px #808080; | border: solid 2px #808080; | ||
background-color: #f0f0ff; | background-color: #f0f0ff; | ||
"><div class="img-width-100">{{#if: {{{画像|}}} | [[ファイル:{{{画像}}} | "><div class="img-width-100">{{#if: {{{画像|}}} | [[ファイル:{{{画像}}}{{#if: {{{画像リンク先|}}} | |link={{{画像リンク先}}} }}]] }}</div><p><big><b>{{{ヘッダー|}}}</b></big><br>{{{説明|}}}</p></div> | ||
<noinclude> | <noinclude> | ||
<templatedata> | <templatedata> | ||
11行目: | 11行目: | ||
"params": { | "params": { | ||
"画像": { | "画像": { | ||
"description": " | "description": "表示する画像", | ||
"example": "疑似点灯例.JPG", | "example": "[[ファイル:疑似点灯例.JPG|link=:カテゴリ:灯器]]", | ||
"type": "string", | "type": "string", | ||
"aliases": [ | "aliases": [ | ||
"1" | "1" | ||
] | ] | ||
}, | }, | ||
45行目: | 37行目: | ||
"paramOrder": [ | "paramOrder": [ | ||
"画像", | "画像", | ||
"ヘッダー", | "ヘッダー", | ||
"説明" | "説明" |
2025年4月2日 (水) 22:25時点における版
説明はありません。
パラメーター | 説明 | 型 | 状態 | |
---|---|---|---|---|
画像 | 画像 1 | 表示する画像
| 文字列 | 省略可能 |
ヘッダー | ヘッダー 2 | 説明の上に表示
| 文字列 | 省略可能 |
説明 | 説明 3 | 説明本文
| 文字列 | 省略可能 |