Difference between revisions of "Template:Updates/core"

From Team Fortress Wiki
Jump to: navigation, search
(Undo edit by EpicEric (Talk) (184998) Looks like an error in this template is what broke the patch template)
(Putting EpicEric's changes back the way I beleve they were intended)
Line 12: Line 12:
 
   | fr
 
   | fr
 
   | pl
 
   | pl
 +
  | pt
 +
  | pt-br
 
   | ro  
 
   | ro  
 
   | ru = [[{{lang date|force=en|1={{{patch-month}}}}} {{{patch-day}}}, {{{patch-year}}} Patch{{if lang}}|<!--  
 
   | ru = [[{{lang date|force=en|1={{{patch-month}}}}} {{{patch-day}}}, {{{patch-year}}} Patch{{if lang}}|<!--  
Line 35: Line 37:
 
   | de
 
   | de
 
   | fr
 
   | fr
   | pl  
+
   | pl
 +
  | pt
 +
  | pt-br
 
   | ro  
 
   | ro  
 
   | ru = {{{blog-day}}} {{lang date|1={{{blog-month}}}}} {{{blog-year}}}<!--  
 
   | ru = {{{blog-day}}} {{lang date|1={{{blog-month}}}}} {{{blog-year}}}<!--  
Line 68: Line 72:
 
   | hu = A legutóbbi [[Patches|patch]] megjelenési napja
 
   | hu = A legutóbbi [[Patches|patch]] megjelenési napja
 
   | pl = Najnowszy [[Patches/pl|patch]] został wydany
 
   | pl = Najnowszy [[Patches/pl|patch]] został wydany
 +
  | pt = A última [[Patches/pt|atualização] ocorreu em
 +
  | pt-br = A última [[Patches/pt|atualização] ocorreu em
 
   | ro = Ultimul [[Patches/ro|patch]] a fost pe
 
   | ro = Ultimul [[Patches/ro|patch]] a fost pe
 
   | ru = Последнее [[Patches/ru|обновление]] игры было
 
   | ru = Последнее [[Patches/ru|обновление]] игры было
Line 81: Line 87:
 
   | hu = A [[TF2 Official Blog/hu|blog]] legutóbbi bejegyzésének megjelenési napja
 
   | hu = A [[TF2 Official Blog/hu|blog]] legutóbbi bejegyzésének megjelenési napja
 
   | pl = [[TF2 Official Blog/pl|Oficjalny blog TF2]] ostatnio zaktualizowano
 
   | pl = [[TF2 Official Blog/pl|Oficjalny blog TF2]] ostatnio zaktualizowano
 +
  | pt = O [[TF2 Official Blog|blog]] foi atualizado pela última vez em
 +
  | pt-br = O [[TF2 Official Blog|blog]] foi atualizado pela última vez em
 
   | 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|блога]] было
Line 88: Line 96:
  
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
{{Translation switching|cs, es, de, fr, ko, hu, pl, ro, ru}}
+
{{Translation switching|cs, es, de, fr, ko, hu, pl, pt, pt-br, ro, ru}}
 
* 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 16:22, 12 November 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  = 
| blog-month  = 
| blog-day    = 
| blog-year   = 
| blog-id     = 
  • Formatting type parameters: type=
    • patch for a language link to the patch article for that date.
    • blog for a link to the blog post (specified by blog-id).
    • patch-daysago and blog-daysago for processing of date input parameters into {{Days ago}}.
  • Localized text parameters:
    • 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)