Difference between revisions of "Template:InfoBox"
From Detective Conan Wiki
(The first unnamed parameter can take the place of main=; re-indenting some lines) |
m (padding 0.4em -> 4.5px) |
||
| Line 2: | Line 2: | ||
|<div style="{{#if: {{{header-color|}}} |--header-color:{{{header-color|}}};}}"> | |<div style="{{#if: {{{header-color|}}} |--header-color:{{{header-color|}}};}}"> | ||
{{{chronology}}} | {{{chronology}}} | ||
| − | <div class="infobox" style="width: 275px; font-size: 90%; display: flex; flex-direction: column; gap: 4px; padding: | + | <div class="infobox" style="width: 275px; font-size: 90%; display: flex; flex-direction: column; gap: 4px; padding: 4.5px;">{{{main|{{{1|}}}}}}</div> |
</div> | </div> | ||
| − | |<div class="infobox" style="width: 275px; font-size: 90%; display: flex; flex-direction: column; gap: 4px; padding: | + | |<div class="infobox" style="width: 275px; font-size: 90%; display: flex; flex-direction: column; gap: 4px; padding: 4.5px; {{#if: {{{header-color|}}} |--header-color:{{{header-color|}}};}}">{{{main|{{{1|}}}}}}</div> |
}} | }} | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
Revision as of 23:52, 1 August 2025
This template and its subtemplates are used to simplify the backends of various other InfoBox templates and can also be used to easily create custom InfoBoxes if needed.