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