Difference between revisions of "Template:InfoBox/Chronology"

From Detective Conan Wiki
m (padding 0.4em -> 4.5px)
(See also)
 
(4 intermediate revisions by the same user not shown)
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); color: var(--header-text-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 style="width: 30%">{{#if: {{{1|}}} | <span style="font-size: 16px;">‹ </span> [[{{{1}}}]] | }}</div>
+
       <div style="width: 30%; display: flex; align-items: center; justify-content: center;">{{#if: {{{1|}}} | <span style="font-size: 16px; margin-right: 3px;">‹ </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%; display: flex; align-items: center; justify-content: center;">{{#if: {{{3|}}} | [[{{{3}}}]] <span style="font-size: 16px; margin-left: 3px;"> ›</span> | {{#if: {{{1|}}} | TBD | }} }}</div>
 
   </div>
 
   </div>
 
</div>
 
</div>
 
</includeonly><noinclude>
 
</includeonly><noinclude>
 
This template creates the Chronology portion of an InfoBox and is only meant to be used in the <code>chronology</code> parameter of [[Template:InfoBox]].
 
This template creates the Chronology portion of an InfoBox and is only meant to be used in the <code>chronology</code> parameter of [[Template:InfoBox]].
 +
 +
== See also ==
 +
* [[Template:InfoBox/Chronology]]
 +
* [[Template:InfoBox/MainHeader]]
 +
* [[Template:InfoBox/Image]]
 +
* [[Template:InfoBox/Section]]
 +
* [[Template:InfoBox/LabeledRow]]
 +
* [[Template:InfoBox/CollapsibleTable]]
 +
* [[Template:InfoBox/Item]]
  
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 04:25, 26 September 2025

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

See also