Difference between revisions of "Template:InfoBox/Chronology"
From Detective Conan Wiki
(Center link now stays centered both horizontally and vertically) |
|||
| Line 1: | Line 1: | ||
<includeonly><div style="text-align:center; padding: 4.5px; margin-bottom: 10px; border: 1px solid #ccc;"> | <includeonly><div style="text-align:center; padding: 4.5px; margin-bottom: 10px; border: 1px solid #ccc;"> | ||
<div style="color: #fff; background-color: var(--header-color); padding: 2px; font-weight: bold;">Chronology</div> | <div style="color: #fff; background-color: var(--header-color); padding: 2px; font-weight: bold;">Chronology</div> | ||
| − | <div style="display: flex; justify-content: space-evenly; margin-top: 3px;"> | + | <div style="display: flex; align-items: center; 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 | + | <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: 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:58, 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.