Difference between revisions of "Template:Days ago"

From Team Fortress Wiki
Jump to: navigation, search
m (Update according to the standards of the brazilian Steam Translation Server team.)
 
(2 intermediate revisions by 2 users not shown)
Line 19: 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 = сегодня
Line 47: Line 47:
 
   | pl = wczoraj
 
   | pl = wczoraj
 
   | pt = Ontem
 
   | pt = Ontem
   | pt-br = Ontem
+
   | pt-br = ontem
 
   | ro = Ieri
 
   | ro = Ieri
 
   | ru = вчера
 
   | ru = вчера
Line 83: Line 83:
  
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
{{translation switching|ar, cs, da, de, en, es, fi, fr, hu, it, ja, ko, nl, no, pt, pt-br, pl, ro, ru, sv, tr, zh-hans, zh-hant}}
+
{{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 5185 days ago
  • {{Days ago|2010|12|8|br=yes}} (yyyy-m-d) generates (5185 days ago)