Difference between revisions of "Template:Updates/core"

From Team Fortress Wiki
Jump to: navigation, search
(fixes, remove languages that didn't have translations from the list)
Line 2: Line 2:
  
 
| patch = [[{{lang date|force=en|1={{{patch-month}}}}} {{{patch-day}}}, {{{patch-year}}} Patch{{if lang}}|{{lang
 
| patch = [[{{lang date|force=en|1={{{patch-month}}}}} {{{patch-day}}}, {{{patch-year}}} Patch{{if lang}}|{{lang
  | cs = {{{patch-day}}} {{lang date|{{{patch-month}}}}} {{{patch-year}}}
+
| cs = {{{patch-day}}} {{lang date|{{{patch-month}}}}} {{{patch-year}}}
  | de = {{{patch-day}}}. {{lang date|{{{patch-month}}}}} {{{patch-year}}}
+
| de = {{{patch-day}}}. {{lang date|{{{patch-month}}}}} {{{patch-year}}}
  | en = {{lang date|{{{patch-month}}}}} {{{patch-day}}}, {{{patch-year}}}
+
| en = {{lang date|{{{patch-month}}}}} {{{patch-day}}}, {{{patch-year}}}
  | es = {{{patch-day}}} {{lang date|{{{patch-month}}}}} {{{patch-year}}}
+
| es = {{{patch-day}}} {{lang date|{{{patch-month}}}}} {{{patch-year}}}
  | fr = {{{patch-day}}} {{lang date|{{{patch-month}}}}} {{{patch-year}}}
+
| fr = {{{patch-day}}} {{lang date|{{{patch-month}}}}} {{{patch-year}}}
  | pl = {{{patch-day}}} {{lang date|{{{patch-month}}}}} {{{patch-year}}}
+
| pl = {{{patch-day}}} {{lang date|{{{patch-month}}}}} {{{patch-year}}}
  | pt = {{{patch-day}}} {{lang date|{{{patch-month}}}}} {{{patch-year}}}
+
| pt = {{{patch-day}}} {{lang date|{{{patch-month}}}}} {{{patch-year}}}
  | pt-br = {{{patch-day}}} {{lang date|{{{patch-month}}}}} {{{patch-year}}}
+
| pt-br = {{{patch-day}}} {{lang date|{{{patch-month}}}}} {{{patch-year}}}
  | ro = {{{patch-day}}} {{lang date|{{{patch-month}}}}} {{{patch-year}}}
+
| ro = {{{patch-day}}} {{lang date|{{{patch-month}}}}} {{{patch-year}}}
  | ru = {{{patch-day}}} {{lang date|{{{patch-month}}}}} {{{patch-year}}}
+
| ru = {{{patch-day}}} {{lang date|{{{patch-month}}}}} {{{patch-year}}}
  }}]]
+
}}]]
  
 
| patch-beta = [[Patches (Beta){{if lang}}|{{lang
 
| patch-beta = [[Patches (Beta){{if lang}}|{{lang
Line 59: Line 59:
 
| wiki-cap-recipient = {{{wiki-cap-recipient|}}}
 
| wiki-cap-recipient = {{{wiki-cap-recipient|}}}
  
| #default = <span class="error small">ERROR {{tl|Latest updates}}: type doesn't match.</span>
+
| #default = <span class="error small">ERROR {{tl|Updates/core}}: type doesn't match.</span>
  
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
{{translation switching|cs, es, de, fr, ko, hu, pl, pt, pt-br, ro, ru, sv}}
+
{{translation switching|cs, es, de, fr, pl, pt, pt-br, ro, ru}}
 
{{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.  
Line 108: Line 108:
 
* {{tl|Days ago}}
 
* {{tl|Days ago}}
  
[[Category:Templates|Latest updates]]
+
[[Category:Templates|Updates/core]]
 
[[Category:Main Page]]
 
[[Category:Main Page]]
 
</noinclude>
 
</noinclude>

Revision as of 05:01, 13 February 2011

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