Difference between revisions of "Template:InfoBox"
From Detective Conan Wiki
(Added Chronology parameter) |
|||
| Line 1: | Line 1: | ||
| − | <includeonly><div class="infobox" style="{{{style | + | <includeonly>{{#if: {{{chronology|}}} |
| + | |<div style="{{#if: {{{accent-color|}}} |--accent-color:{{{accent-color|}}};}}">{{{chronology}}}<div class="infobox" style="width: 275px; font-size: 90%; display: flex; flex-direction: column; gap: 4px; padding: 0.4em;">{{{main|}}}</div></div> | ||
| + | |<div class="infobox" style="width: 275px; font-size: 90%; display: flex; flex-direction: column; gap: 4px; padding: 0.4em; {{#if: {{{accent-color|}}} |--accent-color:{{{accent-color|}}};}}">{{{main|}}}</div> | ||
| + | }} | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
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. | 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. | ||
== See also == | == See also == | ||
| + | * [[Template:InfoBox/Chronology]] | ||
* [[Template:InfoBox/MainHeader]] | * [[Template:InfoBox/MainHeader]] | ||
* [[Template:InfoBox/Image]] | * [[Template:InfoBox/Image]] | ||
Revision as of 20:33, 26 July 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.