Jump to content

Template:InfoBox/Section: Difference between revisions

From Detective Conan Wiki
Actually, using nowiki doesn't work. Now changing it to displaying a hidden span element
m hidden span -> hidden div
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); display: flex; align-items: center; justify-content: center; text-align: center; padding: 2px;">'''{{{1}}}'''</span>{{{content}}}
<div style="margin-top: 2px;"><span style="color: #fff; font-size: small; background-color: var(--header-color); display: flex; align-items: center; justify-content: center; text-align: center; padding: 2px;">'''{{{1}}}'''</span>{{{content}}}
</div>|<span style="display: none"></span>}}</includeonly><noinclude>
</div>|<div style="display: none"></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]].


[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Revision as of 22:15, 14 August 2025

This template creates a section of an InfoBox and is meant to be used in conjunction with Template:InfoBox.