Anonymous user
Template:History: Difference between revisions
m
no edit summary
imported>Ttv pedro270707 mNo edit summary |
imported>Ttv pedro270707 mNo edit summary |
||
(14 intermediate revisions by the same user not shown) | |||
Line 11: | Line 11: | ||
}}<!-- | }}<!-- | ||
-->{{#if: {{{snap|}}} | | -->{{#if: {{{snap|}}} | | ||
{{#ifeq: "{{{1|}}}" | "{{#var:history-ver|}}" | | | {{#ifeq: {{#if: {{{1|}}} | "{{{1|}}}" | "{{#var:history-ver|}}"}} | "{{#var:history-ver|}}" | | | ||
{{#vardefine:history-index|{{#expr:{{#var:history-index|0}}+1}}}} | {{#vardefine:history-index|{{#expr:{{#var:history-index|0}}+1}}}} | ||
{{#vardefine:history-ver|{{{1|}}}}} | {{#vardefine:history-ver|{{{1|}}}}} | ||
<tr><th colspan="1" rowspan="{{#var_final:history-rowspan-{{#var:history-index}}}}">[[{{{1|}}}]]</th></tr> | <tr><th class="nowrap" colspan="1" rowspan="{{#var_final:history-rowspan-{{#var:history-index}}}}">{{#ifeq: {{{1|}}} | ? | '''?''' | [[{{{1|}}}]]}}</th></tr> | ||
}}<tr><th colspan="1" rowspan="{{#var:history-rows}}">[[{{#if: {{#pos:{{{snap|}}}| | }}<tr><th colspan="1" rowspan="{{#var:history-rows}}">[[{{#if: {{#pos:{{{snap|}}}|Pre-}}{{#pos:{{{snap|}}}|pre-}}{{#pos:{{{snap|}}}|Prerelease}} | {{#var:history-ver}} {{{snap|}}}{{!}}{{{snap|}}} | {{{snap|}}} }}]]</th></tr> | ||
| {{#vardefine:history-index|{{#expr:{{#var:history-index|0}}+1}}}}{{#vardefine:history-ver|{{{1|}}}}}<tr><th colspan="2" rowspan="{{#var:history-rows}}">[[{{{1|}}}]]</th></tr> }}<!-- define history rowspan (outside of if statement): -->{{#vardefine:history-rowspan-{{#var:history-index}}|{{#expr:{{#var:history-rowspan-{{#var:history-index}}|1}}+{{#var:history-rows}}}}}}<!-- | | {{#vardefine:history-index|{{#expr:{{#var:history-index|0}}+1}}}}{{#vardefine:history-ver|{{{1|}}}}}<tr><th colspan="2" rowspan="{{#var:history-rows}}">{{#ifeq: {{{1|}}} | ? | '''?''' | [[{{{1|}}}]]}}</th></tr> }}<!-- define history rowspan (outside of if statement): -->{{#vardefine:history-rowspan-{{#var:history-index}}|{{#expr:{{#var:history-rowspan-{{#var:history-index}}|1}}+{{#var:history-rows}}}}}}<!-- | ||
-->{{ | -->{{ | ||
#fornumargs: argnum | argval | {{ | #fornumargs: argnum | argval | {{ |