Редактирование: Шаблон:Release table row

Материал из Guild Wars 2 wiki
Перейти к: навигация, поиск

Внимание! Вы не авторизовались на сайте. Ваш IP-адрес будет публично видимым, если вы будете вносить любые правки. Если вы войдёте или создадите учётную запись, правки вместо этого будут связаны с вашим именем пользователя, а также у вас появятся другие преимущества.

Правка может быть отменена. Пожалуйста, просмотрите сравнение версий, чтобы убедиться, что это именно те изменения, которые вас интересуют, и нажмите «Записать страницу», чтобы изменения вступили в силу.

На этой странице невозможны семантические аннотации в тексте из-за ограничений пространства имён. Детали относительно того, как разрешить пространство имен, находятся в справочной странице конфигурации.

Текущая версия Ваш текст
Строка 3: Строка 3:
 
{{#vardefine:outline|text-shadow:0px 0px 3px black,1px 1px 3px black,-1px -1px 0 black,-1px 1px 0 black,1px -1px 0 black,1px 1px 0 black;}}
 
{{#vardefine:outline|text-shadow:0px 0px 3px black,1px 1px 3px black,-1px -1px 0 black,-1px 1px 0 black,1px -1px 0 black,1px 1px 0 black;}}
 
{{#vardefine:span-date|<span style="color:{{{date-color|white}}}; {{#var:outline}}">}}
 
{{#vardefine:span-date|<span style="color:{{{date-color|white}}}; {{#var:outline}}">}}
 
 
{{#vardefine:category-color|{{#switch: {{lc:{{{category|}}}}}
 
{{#vardefine:category-color|{{#switch: {{lc:{{{category|}}}}}
 
  | special event = gold
 
  | special event = gold
Строка 10: Строка 9:
 
  | #default = <nowiki>#bbb</nowiki>
 
  | #default = <nowiki>#bbb</nowiki>
 
}}}}
 
}}}}
 
 
{{#vardefine:category-filter|{{#switch: {{lc:{{{category|}}}}}
 
{{#vardefine:category-filter|{{#switch: {{lc:{{{category|}}}}}
 
  | special event = f-special
 
  | special event = f-special
Строка 17: Строка 15:
 
  | #default = f-misc
 
  | #default = f-misc
 
}}}}
 
}}}}
 
{{#vardefine:story-steps| {{#ifeq: {{{story}}} | TBD | TBD | {{#arraymap:{{{story|}}}|\n|@@@|<span style="display:inline-block;">[[@@@]]</span>|&nbsp;→&nbsp;}} }} }}
 
 
{{#vardefine:feature-header-label|{{#if: {{{category|}}} | {{#switch: {{{category}}}
 
| special event = {{icon|special|size=15px}}<span style="padding-left:2px;">'''Особое событие'''</span>{{#if:{{{story|}}} | <span style="padding-left:10px;">{{icon|story|size=15px}}</span><small style="padding-left:2px;">{{{story-hidden-label| {{#var:story-steps}} }}}</small> }}
 
| expansion = {{icon|misc|Zone icon.png|Expansion|size=15px}}<span style="padding-left:2px;">'''Крупное дополнение'''</span>{{#if:{{{story|}}} | <span style="padding-left:10px;">{{icon|story|size=15px}}</span><small style="padding-left:2px;">{{{story-hidden-label| {{#var:story-steps}} }}}</small> }}
 
| original-release = {{icon|misc|Zone icon.png|Guild Wars 2|size=15px}}<span style="padding-left:2px;">'''Оригинальная игра'''</span>{{#if:{{{story|}}} | <span style="padding-left:10px;">{{icon|story|size=15px}}</span><small style="padding-left:2px;">{{{story-hidden-label| {{#var:story-steps}} }}}</small> }}
 
| story = {{#if:{{{story|}}} | {{icon|story|size=15px}}<small style="padding-left:2px;">{{{story-hidden-label| {{#var:story-steps}} }}}</small> }}
 
| story-return = {{#if:{{{story|}}} | {{icon|replay|size=16px}}<small style="padding-left:2px;">{{{story-hidden-label| {{#var:story-steps}} }}}</small> }}
 
| #default = <span style="padding-left:18px;">'''{{#switch: {{lc:{{{category|}}}}}
 
    | competitive = Соревнование
 
    | raid = Рейд
 
    | quarterly update = Квартальное обновление
 
    | feature pack = Набор особенностей
 
    | #default = {{ucfirst:{{{category}}}}} }}'''</span>
 
}} }} }}
 
 
{{#vardefine:feature-header| {{#if: {{{story-hidden-label|}}} |
 
{{{!}} class="expandable"
 
{{!}} {{#var:feature-header-label}}
 
{{!}}-
 
{{!}} style="line-height:1.333em" {{!}} {{icon|story|size=15px}} <small>{{#var:story-steps}}</small>
 
{{!}}}
 
| {{#var:feature-header-label}}
 
}} }}
 
 
 
}}|- class="line-bottom" filter-row {{#var:category-filter}}" style="vertical-align: top;" {{#if: {{{description|}}} | title="{{#replace:{{{description}}}|"|&quot;}}"}} {{#vardefine:default_file|{{#replace:{{#var:smw_name|{{{name}}}}}|:|-}} backdrop.jpg}}
 
}}|- class="line-bottom" filter-row {{#var:category-filter}}" style="vertical-align: top;" {{#if: {{{description|}}} | title="{{#replace:{{{description}}}|"|&quot;}}"}} {{#vardefine:default_file|{{#replace:{{#var:smw_name|{{{name}}}}}|:|-}} backdrop.jpg}}
 
| {{#ifeq: {{{file|}}} | none |<!--
 
| {{#ifeq: {{{file|}}} | none |<!--
Строка 57: Строка 29:
 
   FEATURES COLUMN
 
   FEATURES COLUMN
 
-->
 
-->
| <div style="float:right; width:75px; text-align:right; margin-left:{{{icons-margin|0px}}};">{{#arraymap:{{{icons|}}}|\n|@@@|[[File:{{#explode:@@@|;|1}}{{!}}24px{{!}}link={{#explode:@@@|;|0}}]]|}}</div>{{#var:feature-header}}
+
| <div style="float:right; width:75px; text-align:right; margin-left:{{{icons-margin|0px}}};">{{#arraymap:{{{icons|}}}|\n|@@@|[[File:{{#explode:@@@|;|1}}{{!}}24px{{!}}link={{#explode:@@@|;|0}}]]|}}</div>{{#if: {{{category|}}} | {{#switch: {{{category}}} |
 +
| special event = <span style="display:table-cell">{{icon|special|size=15px}}</span><span style="padding-left:2px; display:table-cell;">'''Особое событие'''</span>{{#if:{{{story|}}} | <span style="padding-left:10px; display:table-cell;">{{icon|story|size=15px}}</span><small style="padding-left:2px; display:table-cell;"> {{#arraymap:{{{story|}}}|\n|@@@|<span style="display:inline-block;">[[@@@]]</span>|&nbsp;→&thinsp;}}</small> }}
 +
| story = {{#if:{{{story|}}} | <span style="display:table-cell">{{icon|story|size=15px}}</span><small style="padding-left:2px; display:table-cell;">{{#ifeq: {{{story}}} | TBD | TBD | {{#arraymap:{{{story|}}}|\n|@@@|<span style="display:inline-block;">[[@@@]]</span>|&nbsp;→&thinsp;}}}}</small> }}
 +
| story-return = {{#if:{{{story|}}} | <span style="display:table-cell">{{icon|replay|size=16px}}</span><small style="padding-left:2px; display:table-cell;">{{#ifeq: {{{story}}} | TBD | TBD | {{#arraymap:{{{story|}}}|\n|@@@|<span style="display:inline-block;">[[@@@]]</span>|&nbsp;→&nbsp;}}}}</small> }}
 +
| expansion = <span style="display:table-cell;">{{icon|misc|Zone icon.png|Expansion|size=15px}}</span><span style="padding-left:2px; display:table-cell;">'''Крупное дополнение'''</span>{{#if:{{{story|}}} | <span style="padding-left:10px; display:table-cell;">{{icon|story|size=15px}}</span><small style="padding-left:2px; display:table-cell;"> {{#arraymap:{{{story|}}}|\n|@@@|<span style="display:inline-block;">[[@@@]]</span>|&nbsp;→&thinsp;}}</small> }}
 +
| original-release = <span style="display:table-cell;">{{icon|misc|Zone icon.png|Guild Wars 2|size=15px}}</span><span style="padding-left:2px; display:table-cell;">'''Оригинальная игра'''</span>{{#if:{{{story|}}} | <span style="padding-left:10px; display:table-cell;">{{icon|story|size=15px}}</span><small style="padding-left:2px; display:table-cell;"> {{#arraymap:{{{story|}}}|\n|@@@|<span style="display:inline-block;">[[@@@]]</span>|&nbsp;→&nbsp;}}</small> }}
 +
| #default = <div style="inline-block; padding-left:18px;">'''{{#switch: {{lc:{{{category|}}}}}
 +
    | competitive = Соревнование
 +
    | raid = Рейд
 +
    | quarterly update = Квартальное обновление
 +
    | feature pack = Набор особенностей
 +
    | #default = {{ucfirst:{{{category}}}}} }}'''</div>
 +
}} }}
 
{{{features|}}}
 
{{{features|}}}
 
</includeonly><noinclude>
 
</includeonly><noinclude>
Строка 87: Строка 71:
 
=== Parameters ===
 
=== Parameters ===
 
;name
 
;name
:Optional. Name of the release page.
+
:Name of the release page.
 
;label
 
;label
 
:Optional. The text to appear on the link to the release page. (Defaults to the [[:Property:Has canonical name|canonical name]] of the release.)
 
:Optional. The text to appear on the link to the release page. (Defaults to the [[:Property:Has canonical name|canonical name]] of the release.)
Строка 93: Строка 77:
 
:Date of launch. If written in the "yyyy-mm-dd" format, it displays the date in the "Month day, year" format and links to the corresponding update by default (if it's not in the future).
 
:Date of launch. If written in the "yyyy-mm-dd" format, it displays the date in the "Month day, year" format and links to the corresponding update by default (if it's not in the future).
 
;category
 
;category
:Optional. The type of the release, displayed at the top of the features section. The values <tt>story</tt>, <tt>story-return</tt>, <tt>special event</tt>, <tt>expansion</tt> and <tt>original-release</tt> also change the left border color to help distinguish between the main release types.
+
:The type of the release, displayed at the top of the features section. The values <tt>story</tt>, <tt>special event</tt> and <tt>expansion</tt> also change the left border color to help distinguish between the main release types.
 
;story
 
;story
:Optional. Story steps for this release. Each step is on a separate line. If you need to display different text than the page name use the format: <tt>''page name''<nowiki>{{!}}</nowiki>''link text''</tt>. Value <tt>TBD</tt> doesn't create a link.
+
:Story steps for this release. Each step is on a separate line. If you need to display different text than the page name use the format: <tt>''page name''<nowiki>{{!}}</nowiki>''link text''</tt>. Value <tt>TBD</tt> doesn't create a link.
;story-hidden-label
 
:Optional. If specified together with "story", this text will be shown by default instead and the individual story steps will be expandable.
 
 
;features
 
;features
 
:The feature section in regular wikicode.
 
:The feature section in regular wikicode.
 
;icons
 
;icons
:Optional. The icon links to achievement pages. Each icon is on a separate line and has the format: <tt>''page name'';''icon name''</tt> (without the File: prefix).
+
:The icon links to achievement pages. Each icon is on a separate line and has the format: <tt>''page name'';''icon name''</tt> (without the File: prefix).
 
;recent
 
;recent
:Optional. If set to <tt>y</tt>, the <tt><nowiki>#recent</nowiki></tt> anchor will point to this release.
+
:If set to <tt>y</tt>, the <tt><nowiki>#recent</nowiki></tt> anchor will point to this release.
 
;date-color
 
;date-color
 
;release-color
 
;release-color
:Optional. The font colors of the date and release links respectively. (Typically only the "date-color" value will be changed, and the "release-color" will be left as "white")
+
:The font colors of the date and release links respectively. (Typically only the "date-color" value will be changed, and the "release-color" will be left as "white")
 
;file
 
;file
 
:The name of the background image if it doesn't match the typical naming convention of <tt>File:<release name> backdrop.jpg</tt>. If the value is <tt>none</tt>, no image will be displayed.
 
:The name of the background image if it doesn't match the typical naming convention of <tt>File:<release name> backdrop.jpg</tt>. If the value is <tt>none</tt>, no image will be displayed.
Строка 157: Строка 139:
 
* Usually it's a bullet point list of the most important features in the release.
 
* Usually it's a bullet point list of the most important features in the release.
 
}}
 
}}
|}
 
 
[[Category:Table formatting templates]]
 
[[Category:Table formatting templates]]
 
</noinclude>
 
</noinclude>

Пожалуйста, учтите, что любой ваш вклад в проект «Guild Wars 2 wiki» может быть отредактирован или удалён другими участниками. Если вы не хотите, чтобы кто-либо изменял ваши тексты, не помещайте их сюда.
Вы также подтверждаете, что являетесь автором вносимых дополнений, или скопировали их из источника, допускающего свободное распространение и изменение своего содержимого (см. Guild Wars 2 wiki:Авторские права). НЕ РАЗМЕЩАЙТЕ БЕЗ РАЗРЕШЕНИЯ ОХРАНЯЕМЫЕ АВТОРСКИМ ПРАВОМ МАТЕРИАЛЫ!

Чтобы изменить эту страницу, пожалуйста, ответьте на приведённый ниже вопрос (подробнее):

Отменить | Справка по редактированию (в новом окне)