Шаблон:Gem Store history table row — различия между версиями

Материал из Guild Wars 2 wiki
Перейти к: навигация, поиск
(Новая страница: «<includeonly>|- | {{#switch: {{{1}}} | unknown = ''Unknown'' | #default = {{#time:F d, Y|{{{1}}}}} }} | {{#switch: {{{2}}} | unknown = ''Unknown'' | live | availa…»)
 
 
Строка 1: Строка 1:
 
<includeonly>|-
 
<includeonly>|-
| {{#switch: {{{1}}} | unknown = ''Unknown'' | #default = {{#time:F d, Y|{{{1}}}}} }}
+
| {{#switch: {{{1}}} | unknown = ''Неизвестно'' | #default = {{#time:j xg Y|{{{1}}}}} }}
| {{#switch: {{{2}}} | unknown = ''Unknown'' | live | available = ''Available'' | #default = {{#time:F d, Y|{{{2}}}}} }}
+
| {{#switch: {{{2}}} | unknown = ''Неизвестно'' | live | available = ''Доступно'' | #default = {{#time:j xg Y|{{{2}}}}} }}
 
| {{{3|-}}}
 
| {{{3|-}}}
 
|
 
|

Текущая версия на 07:12, 10 июня 2020

Description[править]

This template is used in conjunction with {{Gem Store history table header}}.

Usage[править]

{{Gem Store history table row|<start date>|<end date>}}

Parameters[править]

1 (unnamed parameter)
Required. Displays the beginning of the window of availability, or discount.
  • Accepted parameters:
    • Start date. e.g. 2018-08-22, September 2 2016; or
    • "unknown" if start date is unknown
2 (unnamed parameter)
Required. Displays the end of the window of availability, or discount.
  • Accepted parameters:
    • End date. e.g. 2018-08-22, September 2 2016;
    • "unknown" if end date is unknown; or
    • "live" or "available" if Gem Store item is still available.
3 (unnamed parameter)
Optional. Displays the discount percentage, e.g. 20%, if any. Defaults to "-" if no discount was offered.

Example[править]

{{Gem Store history table header}}
{{Gem Store history table row|2012-08-22|2012-09-31}}
* New
{{Gem Store history table row|2018-03-01|2018-03-01|25%}}
* [[Gem Store/March Sale#March Sale, 2018|2018 March Sale]]
* Returning
|}

See also[править]