Template:GenInfo: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 1: Line 1:
<noinclude>To prevent the template from displaying decimal lengths for a generation whose release date has not yet come, fill in the parameter {{{timeworkaround}}} with something suitably vague, like "Never", "Unknown", or "Template has been hacked".</noinclude>
<noinclude>To prevent the template from displaying decimal lengths for a generation whose release date has not yet come, fill in the parameter {{{timeworkaround}}} with "en" or "ja", depending on if a release date has yet been revealed.</noinclude>
{| align="right" style="{{roundy|10px}} border: 2px solid #{{{{{secondary|Green}}} color}}; background: #{{{{{primary|Red}}} color}}; margin-left: 5px; margin-bottom: 5px; width: 30%; max-width: 30%;"
{| align="right" style="{{roundy|10px}} border: 2px solid #{{{{{secondary|Green}}} color}}; background: #{{{{{primary|Red}}} color}}; margin-left: 5px; margin-bottom: 5px; width: 30%; max-width: 30%;"
|- align="center"
|- align="center"
Line 62: Line 62:
{{!}}-
{{!}}-
! style="background: #{{{{{secondary|Green}}} color light}};" {{!}} Jp
! style="background: #{{{{{secondary|Green}}} color light}};" {{!}} Jp
{{!}} style="{{roundybr|10px}} background: #FFFFFF;" {{!}} {{#ifeq: {{{timeworkaround|jp}}}|jp|{{#expr: ({{#time: U|{{{endjp|{{#time: F j, Y}}}}}}} - {{#time: U|{{{debutjp|February 27, 1996}}}}}) div 86400}} days {{#if: {{{endjp|}}}|<small>(end{{#ifexpr: {{#time: U|{{{endjp}}}}} > {{#time: U}}|s|ed}} on {{{endjp|December 31, 2099}}})</small>}}}}|
{{!}} style="{{roundybr|10px}} background: #FFFFFF;" {{!}} {{#ifeq: {{{timeworkaround|}}}|jp|Not yet released|{{#expr: ({{#time: U|{{{endjp|{{#time: F j, Y}}}}}}} - {{#time: U|{{{debutjp|February 27, 1996}}}}}) div 86400}} days {{#if: {{{endjp|}}}|<small>(end{{#ifexpr: {{#time: U|{{{endjp}}}}} > {{#time: U}}|s|ed}} on {{{endjp|December 31, 2099}}})</small>}}}}|
! style="{{roundyleft|10px}} background: #{{{{{secondary|Green}}} color light}};" rowspan="2" {{!}} End
! style="{{roundyleft|10px}} background: #{{{{{secondary|Green}}} color light}};" rowspan="2" {{!}} End
! style="background: #{{{{{secondary|Green}}} color light}};" {{!}} En
! style="background: #{{{{{secondary|Green}}} color light}};" {{!}} En
55,887

edits