Difference between revisions of "Template:Updates/core"

From Team Fortress Wiki
Jump to: navigation, search
(beta patches, general update, reorder langs)
Line 42: Line 42:
 
   | ro  
 
   | ro  
 
   | ru = [[Patches (Beta){{if lang}}|{{{patch-beta-day}}} {{lang date|1={{{patch-beta-month}}}}} {{{patch-beta-year}}}]]<!--  
 
   | ru = [[Patches (Beta){{if lang}}|{{{patch-beta-day}}} {{lang date|1={{{patch-beta-month}}}}} {{{patch-beta-year}}}]]<!--  
 +
  | sv
  
 
   // mm dd, yyyy -- "Month Date, Year" (with comma) DATE FORMATTING [default] -->
 
   // mm dd, yyyy -- "Month Date, Year" (with comma) DATE FORMATTING [default] -->
Line 65: Line 66:
 
   | pt-br
 
   | pt-br
 
   | ro  
 
   | ro  
   | ru = {{{blog-day}}} {{lang date|1={{{blog-month}}}}} {{{blog-year}}}<!--  
+
   | ru = {{{blog-day}}} {{lang date|1={{{blog-month}}}}} {{{blog-year}}}<!--
 +
  | sv
  
 
   // mm dd, yyyy -- "Month Date, Year" (with comma) DATE FORMATTING <default> -->
 
   // mm dd, yyyy -- "Month Date, Year" (with comma) DATE FORMATTING <default> -->
Line 101: Line 103:
 
   | ro = Ultimul [[Patches/ro|patch]] a fost pe
 
   | ro = Ultimul [[Patches/ro|patch]] a fost pe
 
   | ru = Последнее [[Patches/ru|обновление]] игры было
 
   | ru = Последнее [[Patches/ru|обновление]] игры было
 +
  | sv = Den senaste [[Lappar/|patch]] var på
 
   }}
 
   }}
  
Line 116: Line 119:
 
   | ro = [[TF2 Official Blog/ro|Blogul]] a fost ultima oară actualizat pe
 
   | ro = [[TF2 Official Blog/ro|Blogul]] a fost ultima oară actualizat pe
 
   | ru = Последнее обновление [[TF2 Official Blog/ru|блога]] было
 
   | ru = Последнее обновление [[TF2 Official Blog/ru|блога]] было
 +
  | sv = Den [[TF2 officiella bloggen | Blogg]] uppdaterades senast den
 
   }}
 
   }}
  
Line 121: Line 125:
  
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
{{Translation switching|cs, es, de, fr, ko, hu, pl, pt, pt-br, ro, ru}}
+
{{Translation switching|cs, es, de, fr, ko, hu, pl, pt, pt-br, ro, ru, sv}}
 
* Generates patch & blog update links and text plainly based on the parameter {{code|type}} (or the first unnamed parameter).  
 
* Generates patch & blog update links and text plainly based on the parameter {{code|type}} (or the first unnamed parameter).  
 
* To update dates of blog updates & patches, '''see [[Template:Updates]]'''.
 
* To update dates of blog updates & patches, '''see [[Template:Updates]]'''.

Revision as of 22:58, 9 December 2010

  • Generates patch & blog update links and text plainly based on the parameter type (or the first unnamed parameter).
  • To update dates of blog updates & patches, see Template:Updates.

Usage

  • Date input parameters:
| patch-month = 
| patch-day   = 
| patch-year  = 

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

| blog-month  = 
| blog-day    = 
| blog-year   = 
| blog-id     = 
  • Formatting type parameters: type=
    • patch for a language link to the patch article for that date.
    • patch-beta for a language link to Patches (Beta), no anchor.
    • blog for a link to the blog post (specified by blog-id).
    • patch-daysago, patch-beta-daysago and blog-daysago for processing of date input parameters into {{Days ago}}.
  • Localized text parameters (unused):
    • patch-text for a localized version of "The latest patch was on" (language link)
    • blog-text for a localized version of "The blog was last updated on" (language link)