Difference between revisions of "Template:InfoBox/Chronology"

From Detective Conan Wiki
(The header shouldn't stay green)
(Added width:30%; to both previous and next elements (also based this from User:BOBO's version), helps the table to stay visually balanced)
Line 2: Line 2:
 
   <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; justify-content: space-evenly; margin-top: 3px;">
       <div>{{#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;">'''{{{2|}}}'''</div>
       <div>{{#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>
 
</div>
 
</div>

Revision as of 02:24, 31 July 2025

This template creates the Chronology portion of an InfoBox and is only meant to be used in the chronology parameter of Template:InfoBox.