「テンプレート:Infobox」の版間の差分
Astro Sola (トーク | 投稿記録) 細編集の要約なし |
Astro Sola (トーク | 投稿記録) 編集の要約なし |
||
| (同じ利用者による、間の7版が非表示) | |||
| 1行目: | 1行目: | ||
<templatestyles src=" | <templatestyles src="Infobox/style.css"/> | ||
<div class="infobox" style=" | <div class="infobox-container" style="width:{{{width|320px}}}"> | ||
{{#if:{{{ | <div class="infobox-title-area"> | ||
<div class="infobox- | <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> | |||
}} | }} | ||
{{ | {{{content}}} | ||
</table> | |||
</div> | </div> | ||
< | <noinclude> | ||
{{ | <templatedata> | ||
{ | |||
"params": { | |||
"width": {}, | |||
"title": {}, | |||
"subtitle": {}, | |||
"image": {}, | |||
"content": {} | |||
}, | |||
"format": "block" | |||
} | |||
</templatedata> | |||
</noinclude> | </noinclude> | ||