Dota 2 Wiki
(Undo revision 1565321 by Marcfrederick (talk))
m (Should work now on older Pages that don't have the current parameter)
Line 42: Line 42:
 
| #default = Patches
 
| #default = Patches
 
}}|{{{current|{{PAGENAME}}}}}]]
 
}}|{{{current|{{PAGENAME}}}}}]]
  +
{{#vardefine:current|{{#time:Y-m-d|{{#explode:{{PAGENAME}}|Patch}}}}}}
[[ru:{{#ifeq:{{{game|}}}|test|Обновление тест- }}Обновление от {{#time:j xg Y|{{{current|}}}|ru}}}}]]
+
[[ru:{{#ifeq:{{{game|}}}|test|Обновление тест- }}Обновление от {{#time:j xg Y|{{#var:current}}|ru}}}}]]
[[de:{{#time:F d, Y|{{{current|}}}|de}} Patch{{#ifeq:{{{game|}}}|test| (Test)}}]]
 
[[zh:{{#time:Y年Fd日|{{{current|}}}|zh}}更新{{#ifeq:{{{game|}}}|test| (测试服)}}]]
+
[[de:{{#time:F d, Y|{{#var:current}}|de}} Patch{{#ifeq:{{{game|}}}|test| (Test)}}]]
 
[[zh:{{#time:Y年Fd日|{{#var:current}}|zh}}更新{{#ifeq:{{{game|}}}|test| (测试服)}}]]
 
{{#set:Date={{{current|{{#time:Y-m-d|{{#explode:{{PAGENAME}}|Patch}}}}}}}}}</includeonly><noinclude>
 
{{#set:Date={{{current|{{#time:Y-m-d|{{#explode:{{PAGENAME}}|Patch}}}}}}}}}</includeonly><noinclude>
 
{{doc}}
 
{{doc}}

Revision as of 14:26, 31 July 2017

Patches (latest) ← N/A Patch layout N/A →

Sources

Note: No source link has been provided.


Patch notes

Documentation for Template:Patch layout [ Usage | View | Edit | Purge | Subpages ]

Usage

{{Patch layout
| source = 
| source-title = 
| source[2-6] = 
| source[2-6]-title = 
| current = 
| version = 
| versiontext = 
| highlights = 
| notes =
| changes =
}}
  • current is used to sort patches on Category:Patches. The format is YYYY-MM-DD.
  • source, source-title are used to make the source link.
  • notes outputs documented changes and changes outputs undocumented changes.
    • If no notes are given, it will output No patch notes have been released.
    • If no changes are given, there's no section of the undocumented changes.