Шаблон:Gem Store history table row — различия между версиями
Материал из Guild Wars 2 wiki
Blood (обсуждение | вклад) (Новая страница: «<includeonly>|- | {{#switch: {{{1}}} | unknown = ''Unknown'' | #default = {{#time:F d, Y|{{{1}}}}} }} | {{#switch: {{{2}}} | unknown = ''Unknown'' | live | availa…») |
Blood (обсуждение | вклад) |
||
Строка 1: | Строка 1: | ||
<includeonly>|- | <includeonly>|- | ||
− | | {{#switch: {{{1}}} | unknown = '' | + | | {{#switch: {{{1}}} | unknown = ''Неизвестно'' | #default = {{#time:j xg Y|{{{1}}}}} }} |
− | | {{#switch: {{{2}}} | unknown = '' | + | | {{#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
- Accepted parameters:
- 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.
- Accepted parameters:
- 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 |}
История магазина драгоценных камней | |||
---|---|---|---|
Начальная дата | Конечная дата | Скидка | Примечания |
22 августа 2012 | 1 октября 2012 | - |
|
1 марта 2018 | 1 марта 2018 | 25% |
|