Template:InfoBox/Section: Difference between revisions
Appearance
No edit summary |
Wrap the entire section in a <div> |
||
| Line 1: | Line 1: | ||
<includeonly>{{#if: {{{content|}}}|<span style=" color: #ffffff; font-size: small; background-color: var(--header-color); display: flex; align-items: center; justify-content: center; text-align: center; padding: 2px;">'''{{{1}}}'''</span> | <includeonly>{{#if: {{{content|}}}| | ||
<div><span style=" color: #ffffff; font-size: small; background-color: var(--header-color); display: flex; align-items: center; justify-content: center; text-align: center; padding: 2px;">'''{{{1}}}'''</span> | |||
{{{content}}} | {{{content}}} | ||
</div> | |||
}}</includeonly><noinclude> | }}</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]]. | ||
Revision as of 23:43, 5 August 2025
This template creates a section of an InfoBox and is meant to be used in conjunction with Template:InfoBox.