コンテンツにスキップ

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

提供: ApolaTrajectoryWiki
編集の要約なし
編集の要約なし
 
(同じ利用者による、間の8版が非表示)
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:{{{title|}}}|
{{#if:{{{subtitle|}}}|<dt style="font-size:15px; overflow-wrap: break-word;">{{{subtitle}}}</dt>}}
    <div class="infobox-title">{{{title}}}</div>
</dl>
    }}
</div><table class="infobox-table">{{#if:{{{image|}}}|
    {{#if:{{{subtitle|}}}|
<tr>
    <div class="infobox-subtitle">{{{subtitle}}}</div>
<th class="Center" colspan="2">[[File:{{{image}}}|320px]]</th>
    }}
</tr>
    <div class="infobox-content">
}}
        {{{data}}}
{{{content}}}
    </div>
</table>
</div><noinclude>
</div>
{{Documentation}}
<noinclude>
<templatedata>
{
"params": {
"width": {},
"title": {},
"subtitle": {},
"image": {},
"content": {}
},
"format": "block"
}
</templatedata>
</noinclude>
</noinclude>

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

{{{title}}}

{{{content}}}

説明はありません。

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

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

パラメーター説明状態
widthwidth

説明なし

不明省略可能
titletitle

説明なし

不明省略可能
subtitlesubtitle

説明なし

不明省略可能
imageimage

説明なし

不明省略可能
contentcontent

説明なし

不明省略可能