Difference between revisions of "Template:InfoBox/Chronology"
From Detective Conan Wiki
m (padding 0.4em -> 4.5px) |
(Center link now stays centered both horizontally and vertically) |
||
| Line 3: | Line 3: | ||
<div style="display: flex; justify-content: space-evenly; margin-top: 3px;"> | <div style="display: flex; justify-content: space-evenly; margin-top: 3px;"> | ||
<div style="width: 30%">{{#if: {{{1|}}} | <span style="font-size: 16px;">‹ </span> [[{{{1}}}]] | }}</div> | <div style="width: 30%">{{#if: {{{1|}}} | <span style="font-size: 16px;">‹ </span> [[{{{1}}}]] | }}</div> | ||
| − | <div style="width: 16%; min-width: min-content; padding-left: 5px; padding-right: 5px; border-left: 1px solid #ccc; border-right: 1px solid #ccc;">'''{{{2|}}}'''</div> | + | <div style="width: 16%; min-width: min-content; padding-left: 5px; padding-right: 5px; border-left: 1px solid #ccc; border-right: 1px solid #ccc; display: flex; align-items: center; justify-content: center;">'''{{{2|}}}'''</div> |
<div style="width: 30%">{{#if: {{{3|}}} | [[{{{3}}}]] <span style="font-size: 16px;"> ›</span> | {{#if: {{{1|}}} | TBD | }} }}</div> | <div style="width: 30%">{{#if: {{{3|}}} | [[{{{3}}}]] <span style="font-size: 16px;"> ›</span> | {{#if: {{{1|}}} | TBD | }} }}</div> | ||
</div> | </div> | ||
Revision as of 04:49, 3 August 2025
This template creates the Chronology portion of an InfoBox and is only meant to be used in the chronology parameter of Template:InfoBox.