Difference between revisions of "User:AvidConanContributor/sandbox"

From Detective Conan Wiki
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
{| class="infobox" style="width: 285px; text-align: left; font-size: 90%;" cellpadding="2"
+
{{#expr:
 +
  <!-- Basic year subtraction -->
 +
  {{#time: Y|{{{2}}} }} - {{#time: Y|{{{1}}} }} }} -
 +
  <!-- Comparing the months -->
 +
  {{#ifexpr: {{#time: n|{{{2}}} }} = {{#time: n|{{{1}}} }}
 +
    | <!-- Comparing the days -->
 +
      {{#ifexpr: {{#time: j|{{{2}}} }} >= {{#time: j|{{{1}}} }} }}
 +
        | 0
 +
        | 1
 +
      }} <!-- End of day comparison -->
 +
    | {{#ifexpr: {{#time: n|{{{2}}} }} > {{#time: n|{{{1}}} }}
 +
        | 0
 +
        | 1
 +
      }}
 +
  }}
 +
}}
 +
</includeonly><noinclude> <!-- {| class="infobox" style="width: 285px; text-align: left; font-size: 90%;" cellpadding="2"
 
|-
 
|-
 
| colspan="2" style="color: #ffffff; text-align:center; vertical-align:middle; height:28px; font-size: medium; background-color: #2e51a2;" |  '''{{{name}}}'''  
 
| colspan="2" style="color: #ffffff; text-align:center; vertical-align:middle; height:28px; font-size: medium; background-color: #2e51a2;" |  '''{{{name}}}'''  
Line 17: Line 33:
 
{{!}} {{{date-of-death}}} {{{date-of-death-ref}}} ''<small>()</small>''
 
{{!}} {{{date-of-death}}} {{{date-of-death-ref}}} ''<small>()</small>''
 
{{!}}-  }}
 
{{!}}-  }}
|}
+
|} char Appearances Test: <div style="margin: 5px 3px; border: 1px solid #c8ccd1; border-radius: .25rem; width: min-content; height: min-content; overflow: hidden;">[[Image:{{{2|{{{1}}}}}}.jpg|{{{3|100}}}px{{#if:{{{nolink|}}}||{{!}}link={{{1}}}{{!}}alt={{{1}}}|[[{{{1}}}|{{{display|{{{1}}}}}}]]}}]]<br>{{#if:{{{nolink|}}}|{{{display|{{{1}}}}}}|[[{{{1}}}|{{{display|{{{1}}}}}}]]}}</div>
</includeonly><noinclude> <!-- char Appearances Test: <div style="margin: 5px 3px; border: 1px solid #c8ccd1; border-radius: .25rem; width: min-content; height: min-content; overflow: hidden;">[[Image:{{{2|{{{1}}}}}}.jpg|{{{3|100}}}px{{#if:{{{nolink|}}}||{{!}}link={{{1}}}{{!}}alt={{{1}}}|[[{{{1}}}|{{{display|{{{1}}}}}}]]}}]]<br>{{#if:{{{nolink|}}}|{{{display|{{{1}}}}}}|[[{{{1}}}|{{{display|{{{1}}}}}}]]}}</div>
 
  
 
== My Character Box ==
 
== My Character Box ==
Line 74: Line 89:
 
}}
 
}}
  
== Differences == -->
+
== Differences ==  
 
== Age Display of [[Template:InfoBox Staff|InfoBox Staff]] ==
 
== Age Display of [[Template:InfoBox Staff|InfoBox Staff]] ==
 
{{User:AvidConanContributor/sandbox
 
{{User:AvidConanContributor/sandbox
Line 82: Line 97:
 
| date-of-death    = 1890
 
| date-of-death    = 1890
 
| date-of-death-ref =  
 
| date-of-death-ref =  
}}
+
}} -->
 +
== YearsBetween ==
 +
{{User:AvidConanContributor/sandbox | 4/19/2005 | April 19, 2025}}
 
</noinclude>
 
</noinclude>

Revision as of 17:41, 19 April 2025

YearsBetween