Template:Update list: Difference between revisions

no edit summary
No edit summary
No edit summary
(5 intermediate revisions by the same user not shown)
Line 1:
<includeonly><!-- Clean update param if it starts with Update:
-->{{#vardefine:update|{{#ifeq:{{#sub:{{{update|}}}|0|7}}|Update:|{{#sub:{{{update|}}}|7}}|{{{update|}}}}}}}<!--
--><span class="update-list"><span class="update-type {{#if:{{{type|}}}|{{{type}}}-update|}}">{{#switch:{{{type|update}}}|update=[[Game updates|update]]|patch=[[Patch Notes|patch]]|ninja=[[Ninja updates|ninja]]|hotfix=[[Patch Notes|hotfix]]|coldfix=[[Patch Notes|coldfix]]|warmfix=[[Patch Notes|warmfix]]|hidden=[[Hidden updates|hidden]]|nxt=[[NXT|nxt]]|beta=[[Beta|beta]]}}</span> '''{{{date|{{#dpl:namespace=UpdateMain|title=Update:{{#var:update}}|include={Update}:date,{Patch Notes}:date|format=,,,|noresultsheader=Unknown date}}}}}{{#if:{{{update|}}}|&nbsp;([[{{#ifeq:{{#sub:{{{update}}}|0|14}}|Hidden updates||Update:}}{{#var:update}}|Update]])|{{Mainonly|[[Category:Missing update]]}}}}:'''</span></includeonly><noinclude>{{/doc}}</noinclude>