Difference between revisions of "Template:Days ago"
(add force parameter) |
m (Update according to the standards of the brazilian Steam Translation Server team.) |
||
(6 intermediate revisions by 6 users not shown) | |||
Line 5: | Line 5: | ||
| today = {{#if:{{{br|}}}|(}}{{lang | {{#if:{{{force|}}}|force|null}} = {{{force|}}} | | today = {{#if:{{{br|}}}|(}}{{lang | {{#if:{{{force|}}}|force|null}} = {{{force|}}} | ||
+ | | ar = اليوم | ||
| cs = Dnes | | cs = Dnes | ||
+ | | da = I dag | ||
| de = Heute | | de = Heute | ||
| en = Today | | en = Today | ||
Line 17: | Line 19: | ||
| nl = Vandaag | | nl = Vandaag | ||
| no = I dag | | no = I dag | ||
− | | pl = | + | | pl = dzisiaj |
| pt = Hoje | | pt = Hoje | ||
− | | pt-br = | + | | pt-br = hoje |
| ro = Astăzi | | ro = Astăzi | ||
− | | ru = | + | | ru = сегодня |
| sv = Idag | | sv = Idag | ||
+ | | tr = Bugün | ||
| zh-hans = 今天 | | zh-hans = 今天 | ||
| zh-hant = 今天 | | zh-hant = 今天 | ||
Line 28: | Line 31: | ||
| yesterday = {{#if:{{{br|}}}|(}}{{lang | {{#if:{{{force|}}}|force|null}} = {{{force|}}} | | yesterday = {{#if:{{{br|}}}|(}}{{lang | {{#if:{{{force|}}}|force|null}} = {{{force|}}} | ||
+ | | ar = أمس | ||
| cs = Včera | | cs = Včera | ||
+ | | da = I går | ||
| de = Gestern | | de = Gestern | ||
| en = Yesterday | | en = Yesterday | ||
Line 42: | Line 47: | ||
| pl = wczoraj | | pl = wczoraj | ||
| pt = Ontem | | pt = Ontem | ||
− | | pt-br = | + | | pt-br = ontem |
| ro = Ieri | | ro = Ieri | ||
| ru = вчера | | ru = вчера | ||
| sv = Igår | | sv = Igår | ||
+ | | tr = Dün | ||
| zh-hans = 昨天 | | zh-hans = 昨天 | ||
| zh-hant = 昨天 | | zh-hant = 昨天 | ||
Line 51: | Line 57: | ||
| days-ago = {{#if:{{{br|}}}|(}}{{lang | {{#if:{{{force|}}}|force|null}} = {{{force|}}} | | days-ago = {{#if:{{{br|}}}|(}}{{lang | {{#if:{{{force|}}}|force|null}} = {{{force|}}} | ||
+ | | 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 69: | Line 77: | ||
| ru = {{age in days|{{{1}}}|{{{2}}}|{{{3}}}}} {{Plural|lang=ru|{{age in days|{{{1}}}|{{{2}}}|{{{3}}}}}|день|дня|дней}} назад | | ru = {{age in days|{{{1}}}|{{{2}}}|{{{3}}}}} {{Plural|lang=ru|{{age in days|{{{1}}}|{{{2}}}|{{{3}}}}}|день|дня|дней}} назад | ||
| sv = {{age in days|{{{1}}}|{{{2}}}|{{{3}}}}} {{PLURAL:{{age in days|{{{1}}}|{{{2}}}|{{{3}}}}}|dag|dagar}} sedan | | sv = {{age in days|{{{1}}}|{{{2}}}|{{{3}}}}} {{PLURAL:{{age in days|{{{1}}}|{{{2}}}|{{{3}}}}}|dag|dagar}} sedan | ||
+ | | tr = {{age in days|{{{1}}}|{{{2}}}|{{{3}}}}} gün önce | ||
| zh-hans = {{age in days|{{{1}}}|{{{2}}}|{{{3}}}}}日前 | | zh-hans = {{age in days|{{{1}}}|{{{2}}}|{{{3}}}}}日前 | ||
| zh-hant = {{age in days|{{{1}}}|{{{2}}}|{{{3}}}}}天前 | | zh-hant = {{age in days|{{{1}}}|{{{2}}}|{{{3}}}}}天前 | ||
Line 74: | Line 83: | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
− | {{translation switching| | + | {{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
This template uses translation switching. The correct language will be displayed automatically. Localized versions of this template (e.g. Template:Days ago/ru) are not necessary. Add your translations directly to this template by editing it. Supported languages for this template: 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 (add) |
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.