https://segaretro.org/index.php?title=Template:Age/CalcAge&feed=atom&action=history
Template:Age/CalcAge - Revision history
2024-03-29T07:01:02Z
Revision history for this page on the wiki
MediaWiki 1.33.4
https://segaretro.org/index.php?title=Template:Age/CalcAge&diff=743185&oldid=prev
Black Squirrel: Text replacement - "Category:Sega Retro templates" to "Category:Templates"
2022-01-01T18:02:28Z
<p>Text replacement - "<a href="/Category:Sega_Retro_templates" class="mw-redirect" title="Category:Sega Retro templates">Category:Sega Retro templates</a>" to "<a href="/Category:Templates" title="Category:Templates">Category:Templates</a>"</p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">Revision as of 18:02, 1 January 2022</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l11" >Line 11:</td>
<td colspan="2" class="diff-lineno">Line 11:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> | {{#expr:{{#var:date2_y}}-{{#var:date1_y}}}}</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> | {{#expr:{{#var:date2_y}}-{{#var:date1_y}}}}</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> }}</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> }}</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>}}</includeonly><noinclude>[[Category:<del class="diffchange diffchange-inline">Sega Retro templates</del>]]</noinclude></div></td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>}}</includeonly><noinclude>[[Category:<ins class="diffchange diffchange-inline">Templates</ins>]]</noinclude></div></td></tr>
</table>
Black Squirrel
https://segaretro.org/index.php?title=Template:Age/CalcAge&diff=486348&oldid=prev
Hivebrain: Created page with "<includeonly>{{#vardefine:date1_y|{{#explode:{{{1|}}}|-|0}}}}{{#vardefine:date1_m|{{#explode:{{{1|}}}|-|1}}}}{{#vardefine:date1_d|{{#explode:{{{1|}}}|-|2}}}}{{#vardefine:date2..."
2019-03-19T21:49:57Z
<p>Created page with "<includeonly>{{#vardefine:date1_y|{{#explode:{{{1|}}}|-|0}}}}{{#vardefine:date1_m|{{#explode:{{{1|}}}|-|1}}}}{{#vardefine:date1_d|{{#explode:{{{1|}}}|-|2}}}}{{#vardefine:date2..."</p>
<p><b>New page</b></p><div><includeonly>{{#vardefine:date1_y|{{#explode:{{{1|}}}|-|0}}}}{{#vardefine:date1_m|{{#explode:{{{1|}}}|-|1}}}}{{#vardefine:date1_d|{{#explode:{{{1|}}}|-|2}}}}{{#vardefine:date2_y|{{#explode:{{{2|}}}|-|0}}}}{{#vardefine:date2_m|{{#explode:{{{2|}}}|-|1}}}}{{#vardefine:date2_d|{{#explode:{{{2|}}}|-|2}}}}{{#ifexpr: {{#var:date2_m}} > {{#var:date1_m}}<br />
| {{#expr:{{#var:date2_y}}-{{#var:date1_y}}}}<br />
}}{{#ifexpr: {{#var:date2_m}} < {{#var:date1_m}}<br />
| {{#expr:{{#var:date2_y}}-{{#var:date1_y}}-1}}<br />
}}{{#ifexpr: {{#var:date2_m}} = {{#var:date1_m}}<br />
| {{#ifexpr: {{#var:date2_d}} > {{#var:date1_d}}<br />
| {{#expr:{{#var:date2_y}}-{{#var:date1_y}}}}<br />
}}{{#ifexpr: {{#var:date2_d}} < {{#var:date1_d}}<br />
| {{#expr:{{#var:date2_y}}-{{#var:date1_y}}-1}}<br />
}}{{#ifexpr: {{#var:date2_d}} = {{#var:date1_d}}<br />
| {{#expr:{{#var:date2_y}}-{{#var:date1_y}}}}<br />
}}<br />
}}</includeonly><noinclude>[[Category:Sega Retro templates]]</noinclude></div>
Hivebrain