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

Материал из Guild Wars 2 wiki
Перейти к: навигация, поиск
Строка 1: Строка 1:
 
<includeonly>{{#if:{{{hidetext|}}}| | ''Более детальную историю изменений {{#switch:{{{type|{{lc:{{#if: {{{type|}}} | {{{type}}} | {{#ifeq:{{#show: {{BASEPAGENAME}} | ?Has context}}|Item|{{#show: {{BASEPAGENAME}} |?Has item type}}|{{#show: {{BASEPAGENAME}} | ?Has context | default = Skill }}}}}}}}}}}|trait=черты|effect=эффекта|rune=руны|sigil=сигила|specialization=специализации|умения}} смотрите [[{{FULLPAGENAME}}/history|здесь]]''.}}
 
<includeonly>{{#if:{{{hidetext|}}}| | ''Более детальную историю изменений {{#switch:{{{type|{{lc:{{#if: {{{type|}}} | {{{type}}} | {{#ifeq:{{#show: {{BASEPAGENAME}} | ?Has context}}|Item|{{#show: {{BASEPAGENAME}} |?Has item type}}|{{#show: {{BASEPAGENAME}} | ?Has context | default = Skill }}}}}}}}}}}|trait=черты|effect=эффекта|rune=руны|sigil=сигила|specialization=специализации|умения}} смотрите [[{{FULLPAGENAME}}/history|здесь]]''.}}
{| class = "table {{{1}}} {{#switch: {{{table|}}} | normal =  | collapsed = expandable | collapsible}}"
+
{| class = "table {{{1}}} history {{#switch: {{{table|}}} | normal =  | collapsed = expandable | collapsible}}"
! width="120px" | Патч
+
! style="width:10em" | Патч
 
! {{#if:{{{2}}}| width="{{{2}}}"{{!}}}} Изменения  
 
! {{#if:{{{2}}}| width="{{{2}}}"{{!}}}} Изменения  
 
|-
 
|-
Строка 51: Строка 51:
 
==See also==
 
==See also==
 
*{{tl|Version history table row}}
 
*{{tl|Version history table row}}
</noinclude>
+
 
 +
[[Category:Table formatting templates]]</noinclude>

Версия 16:46, 29 февраля 2020

Description

This is a template created for the Skill Version History project.

Parameters

unnamed parameter 1
Optional. Adds the parameter as a class to the table.
unnamed parameter 2
Optional. Sets the width of the table.
table
Optional. Values can be "normal" for a non-collapsible table or "collapsed" for a collapsed table.
type
Optional, defaults to skill. Values can be 'trait', 'effect', 'rune' or 'sigil'. If the page has ?Has context set, this property will be used as default.
hidetext
Optional, hides the link to /history.

Example usage

skill table, no fixed width
{{Version history table header|revenant}}
{{Version history table row|2015-10-23|Revenant}}
* Duelist's Preparation has been added to the game.
|}

Result:

Более детальную историю изменений умения смотрите здесь.

Патч Изменения
23 октября 2015 Выход Heart of Thorns:
  • Duelist's Preparation has been added to the game.
effect table, fixed width, collapsed, hidetext
{{Version history table header|condition|90%|type=effect|table=collapsed|hidetext=y}}
{{Version history table row|release}}
* Confusion has been added to the game.
|}

Result:

See also