「テンプレート:ギャラリー」の版間の差分
(ページの作成:「{{Infobox | image1 = <img src ="https://cs1.animestore.docomo.ne.jp/anime_kv/html/CJ/img/tensuraX_inte_img10_202312.png" width="40%" height="auto"> | caption1 = aa }} ギャラリー項目に使用するテンプレートです。画像を掲載することができます。」) |
編集の要約なし |
||
1行目: | 1行目: | ||
{{Infobox | <includeonly>{{Infobox | ||
| image1 = <img src =" | | image1 = <img src ="{{{url}}}" width="{{{width}}}" height="auto"> | ||
| caption1 = | | caption1 = {{{画像説明}}} | ||
}}</includeonly><noinclude> | |||
ギャラリー項目に使用するテンプレートです。画像を掲載することができます。 | |||
<pre> | |||
{{ギャラリー | |||
|url= | |||
|width= | |||
|画像説明= | |||
}} | }} | ||
</pre> | |||
== 解説 == | |||
*'''url'''(必須) | |||
**サイトurlを入力。 | |||
*'''width''' | |||
**width(横幅)を入力。%表記で入力する。 | |||
*'''画像説明'''(必須) | |||
**画像についての説明を入力。必ず[[Template:web引用]]を付け、引用元を示す。 | |||
<noinclude> | |||
<templatedata> | |||
{ | |||
"params": { | |||
"url": { | |||
"required": true | |||
}, | |||
"width": { | |||
"description": "width(横幅)を入力。%表記で入力する。", | |||
"example": "50%", | |||
"suggested": true | |||
}, | |||
"画像説明": { | |||
"description": "画像についての説明を入力。必ず[[Template:web引用]]を付け、引用元を示す。", | |||
"required": true | |||
} | |||
} | |||
} | |||
</templatedata> | |||
</noinclude> |
2025年2月7日 (金) 06:30時点における版
ギャラリー項目に使用するテンプレートです。画像を掲載することができます。
{{ギャラリー |url= |width= |画像説明= }}
解説
- url(必須)
- サイトurlを入力。
- width
- width(横幅)を入力。%表記で入力する。
- 画像説明(必須)
- 画像についての説明を入力。必ずTemplate:web引用を付け、引用元を示す。
説明はありません。
引数 | 説明 | 型 | 状態 | |
---|---|---|---|---|
url | url | 説明なし | 不明 | 必須 |
width | width | width(横幅)を入力。%表記で入力する。
| 不明 | 推奨 |
画像説明 | 画像説明 | 画像についての説明を入力。必ず[[Template:web引用]]を付け、引用元を示す。 | 不明 | 必須 |