コンテンツにスキップ

「テンプレート:Infobox」の版間の差分

提供: ApolaTrajectoryWiki
編集の要約なし
タグ: 手動差し戻し
編集の要約なし
 
(同じ利用者による、間の5版が非表示)
1行目: 1行目:
<templatestyles src="Template:Infobox/style.css"/>
<templatestyles src="Infobox/style.css"/>
<div class="infobox" style="{{#if:{{{width|}}}|width:{{{width}}}px;}}">
<div class="infobox-container" style="width:{{{width|320px}}}">
{{#if:{{{image|}}}|
<div class="infobox-title-area">
<div class="infobox-image">[[File:{{{image}}}|frameless|upright=1|alt={{{title|}}}]]</div>
<dl>
<dt style="font-size:20px; overflow-wrap: break-word;">{{{title}}}</dt>
{{#if:{{{subtitle|}}}|<dt style="font-size:15px; overflow-wrap: break-word;">{{{subtitle}}}</dt>}}
</dl>
</div><table class="infobox-table">{{#if:{{{image|}}}|
<tr>
<th class="Center" colspan="2">[[File:{{{image}}}|320px]]</th>
</tr>
}}
}}
{{#if:{{{title|}}}|
{{{content}}}
<div class="infobox-title">{{{title}}}</div>
</table>
}}
{{#if:{{{subtitle|}}}|
<div class="infobox-subtitle">{{{subtitle}}}</div>
}}
<div class="infobox-content">
{{{data}}}
</div>
</div>
</div><noinclude>
<noinclude>
{{Documentation}}
<templatedata>
{
"params": {
"width": {},
"title": {},
"subtitle": {},
"image": {},
"content": {}
},
"format": "block"
}
</templatedata>
</noinclude>
</noinclude>

2025年7月18日 (金) 20:48時点における最新版

{{{title}}}

{{{content}}}

説明はありません。

テンプレートパラメーター[テンプレートデータを編集]

このテンプレートは、パラメーターを複数行に分けて記述することが推奨されています。

パラメーター説明状態
widthwidth

説明なし

不明省略可能
titletitle

説明なし

不明省略可能
subtitlesubtitle

説明なし

不明省略可能
imageimage

説明なし

不明省略可能
contentcontent

説明なし

不明省略可能