Difference between revisions of "Template:InfoBox/Section"
From Detective Conan Wiki
(Removed unnecessary text-align:center when display:flex and justify-content:center are present) |
m (Undo revision 399947 by AvidConanContributor (talk) text-align: center is actually necessary...) (Tag: Undo) |
||
| Line 1: | Line 1: | ||
<includeonly>{{#if: {{{content|}}}| | <includeonly>{{#if: {{{content|}}}| | ||
| − | <div style="margin-top: 2px;"><span style="color: #fff; font-size: small; background-color: var(--header-color); color: var(--header-text-color); display: flex; align-items: center; justify-content: center; margin-bottom: 2px; padding: 2px;">'''{{{1}}}'''</span>{{{content}}} | + | <div style="margin-top: 2px;"><span style="color: #fff; font-size: small; background-color: var(--header-color); color: var(--header-text-color); display: flex; align-items: center; justify-content: center; text-align: center; margin-bottom: 2px; padding: 2px;">'''{{{1}}}'''</span>{{{content}}} |
</div>|<div></div>}}</includeonly><noinclude> | </div>|<div></div>}}</includeonly><noinclude> | ||
This template creates a section of an InfoBox and is meant to be used in conjunction with [[Template:InfoBox]]. | This template creates a section of an InfoBox and is meant to be used in conjunction with [[Template:InfoBox]]. | ||
Latest revision as of 22:27, 21 December 2025
This template creates a section of an InfoBox and is meant to be used in conjunction with Template:InfoBox.