Difference between revisions of "Template:Updates/core"

From Team Fortress Wiki
Jump to: navigation, search
m
(add support for zh-hans)
Line 17: Line 17:
 
  | ru = {{{patch-day}}} {{lang date|{{{patch-month}}}}} {{{patch-year}}}
 
  | ru = {{{patch-day}}} {{lang date|{{{patch-month}}}}} {{{patch-year}}}
 
  | tr = {{{patch-day}}} {{lang date|{{{patch-month}}}}} {{{patch-year}}}
 
  | tr = {{{patch-day}}} {{lang date|{{{patch-month}}}}} {{{patch-year}}}
 +
| zh-hans = {{{patch-year}}}年{{{patch-month}}}月{{{patch-day}}}日
 
  }}]]
 
  }}]]
  
Line 35: Line 36:
 
  | ru = {{{patch-beta-day}}} {{lang date|{{{patch-beta-month}}}}} {{{patch-beta-year}}}
 
  | ru = {{{patch-beta-day}}} {{lang date|{{{patch-beta-month}}}}} {{{patch-beta-year}}}
 
  | tr = {{{patch-beta-day}}} {{lang date|{{{patch-beta-month}}}}} {{{patch-beta-year}}}
 
  | tr = {{{patch-beta-day}}} {{lang date|{{{patch-beta-month}}}}} {{{patch-beta-year}}}
 +
| zh-hans = {{{patch-beta-year}}}年{{{patch-beta-month}}}月{{{patch-beta-day}}}日
 
  }}]]
 
  }}]]
  
Line 53: Line 55:
 
  | ru = {{{blog-day}}} {{lang date|1={{{blog-month}}}}} {{{blog-year}}}
 
  | ru = {{{blog-day}}} {{lang date|1={{{blog-month}}}}} {{{blog-year}}}
 
  | tr = {{{blog-day}}} {{lang date|1={{{blog-month}}}}} {{{blog-year}}}
 
  | tr = {{{blog-day}}} {{lang date|1={{{blog-month}}}}} {{{blog-year}}}
 +
| zh-hans = {{{blog-year}}}年{{{blog-month}}}月{{{blog-day}}}日
 
  }}]
 
  }}]
  
Line 79: Line 82:
  
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
{{translation switching|cs, es, it, de, fi, fr, nl, pl, pt, pt-br, ro, ru, tr}}
+
{{translation switching|cs, es, it, de, fi, fr, nl, pl, pt, pt-br, ro, ru, tr, zh-hans}}
 
{{doc begin}}
 
{{doc begin}}
 
This template takes values from '''{{tl|Updates}}''' and displays them in different ways.  
 
This template takes values from '''{{tl|Updates}}''' and displays them in different ways.  

Revision as of 11:52, 13 January 2012

Documentation for Updates/core

This template takes values from {{Updates}} and displays them in different ways.

Parameters

Links

patch
Provides a lang-formatted proper link to the latest patch article.
patch-beta
Provides a lang-formatted proper link to Patches (Beta).
blog
Provides a lang-formatted proper external link to the latest blog post based on the given ID.

Days ago

patch-daysago, patch-beta-daysago, blog-daysago
Uses {{Days ago}} to render the days since the last patch / blog update (bracketed).

Raw values

The following raw values are available as they are given in {{Updates}} so they can be used anywhere.
| patch-month = 
| patch-day = 
| patch-year = 

| patch-beta-month = 
| patch-beta-day = 
| patch-beta-year = 

| blog-month = 
| blog-day = 
| blog-year = 
| blog-id = 

| wiki-cap-recipient = 

See also