Difference between revisions of "Template:Days ago"

From Team Fortress Wiki
Jump to: navigation, search
m (turkish translation request from desertboys)
m (Update according to the standards of the brazilian Steam Translation Server team.)
 
(4 intermediate revisions by 4 users not shown)
Line 7: Line 7:
 
   | ar = اليوم
 
   | ar = اليوم
 
   | cs = Dnes
 
   | cs = Dnes
 +
  | da = I dag
 
   | de = Heute
 
   | de = Heute
 
   | en = Today
 
   | en = Today
Line 18: Line 19:
 
   | nl = Vandaag
 
   | nl = Vandaag
 
   | no = I dag
 
   | no = I dag
   | pl = Dzisiaj
+
   | pl = dzisiaj
 
   | pt = Hoje
 
   | pt = Hoje
   | pt-br = Hoje
+
   | pt-br = hoje
 
   | ro = Astăzi
 
   | ro = Astăzi
   | ru = Сегодня
+
   | ru = сегодня
 
   | sv = Idag
 
   | sv = Idag
 
   | tr = Bugün
 
   | tr = Bugün
Line 32: Line 33:
 
   | ar = أمس
 
   | ar = أمس
 
   | cs = Včera
 
   | cs = Včera
 +
  | da = I går
 
   | de = Gestern
 
   | de = Gestern
 
   | en = Yesterday
 
   | en = Yesterday
Line 45: Line 47:
 
   | pl = wczoraj
 
   | pl = wczoraj
 
   | pt = Ontem
 
   | pt = Ontem
   | pt-br = Ontem
+
   | pt-br = ontem
 
   | ro = Ieri
 
   | ro = Ieri
 
   | ru = вчера
 
   | ru = вчера
Line 57: Line 59:
 
   | ar = {{age in days|{{{1}}}|{{{2}}}|{{{3}}}}} {{PLURAL:{{age in days|{{{1}}}|{{{2}}}|{{{3}}}}}|يوم|أيام}} الماضية
 
   | ar = {{age in days|{{{1}}}|{{{2}}}|{{{3}}}}} {{PLURAL:{{age in days|{{{1}}}|{{{2}}}|{{{3}}}}}|يوم|أيام}} الماضية
 
   | cs = před {{age in days|{{{1}}}|{{{2}}}|{{{3}}}}} dny
 
   | cs = před {{age in days|{{{1}}}|{{{2}}}|{{{3}}}}} dny
 +
  | da = {{age in days|{{{1}}}|{{{2}}}|{{{3}}}}} {{PLURAL:{{age in days|{{{1}}}|{{{2}}}|{{{3}}}}}|dag|dage}} siden
 
   | de = vor {{age in days|{{{1}}}|{{{2}}}|{{{3}}}}} Tagen
 
   | de = vor {{age in days|{{{1}}}|{{{2}}}|{{{3}}}}} Tagen
 
   | en = {{age in days|{{{1}}}|{{{2}}}|{{{3}}}}} {{PLURAL:{{age in days|{{{1}}}|{{{2}}}|{{{3}}}}}|day|days}} ago
 
   | en = {{age in days|{{{1}}}|{{{2}}}|{{{3}}}}} {{PLURAL:{{age in days|{{{1}}}|{{{2}}}|{{{3}}}}}|day|days}} ago
Line 80: Line 83:
  
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
{{translation switching|all languages}}
+
{{translation switching|en, ar, cs, da, de, es, fi, fr, hu, it, ja, ko, nl, no, pl, pt, pt-br, ro, ru, sv, tr, zh-hans, zh-hant}}
 
{{doc begin}}
 
{{doc begin}}
 
This template makes use of [http://www.mediawiki.org/wiki/Help:Extension:ParserFunctions ParserFunctions] in the MediaWiki software to calculate the amount of days past since a specified date. Its main usage is on the {{tl|Latest updates}} template that appears on the [[Main Page]]. As the code of this template can be quite complex, {{tl|Days ago/core}} is used to hold the mathematical expressions and {{tl|Days ago}} handles language translations.
 
This template makes use of [http://www.mediawiki.org/wiki/Help:Extension:ParserFunctions ParserFunctions] in the MediaWiki software to calculate the amount of days past since a specified date. Its main usage is on the {{tl|Latest updates}} template that appears on the [[Main Page]]. As the code of this template can be quite complex, {{tl|Days ago/core}} is used to hold the mathematical expressions and {{tl|Days ago}} handles language translations.

Latest revision as of 22:23, 28 August 2022

Documentation for Days ago

This template makes use of ParserFunctions in the MediaWiki software to calculate the amount of days past since a specified date. Its main usage is on the {{Latest updates}} template that appears on the Main Page. As the code of this template can be quite complex, {{Days ago/core}} is used to hold the mathematical expressions and {{Days ago}} handles language translations.

Usage

  • {{Days ago|2010|12|8}} (yyyy-m-d) generates 5099 days ago
  • {{Days ago|2010|12|8|br=yes}} (yyyy-m-d) generates (5099 days ago)