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

Материал из Guild Wars 2 wiki
Перейти к: навигация, поиск
Строка 1: Строка 1:
<includeonly>{{#if:{{{hidetext|}}}| | ''Более детальную историю изменений {{#switch:{{{type}}}|trait=черты|effect=эффекта|умения}} смотрите [[{{FULLPAGENAME}}/history|здесь]]''.}}
+
<includeonly>{{#if:{{{hidetext|}}}| | ''Более детальную историю изменений {{#switch:{{{type|{{lc:{{#if: {{{type|}}} | {{{type}}} | {{#show: {{BASEPAGENAME}} | ?Has context | default = Skill }}}}}}}}}|trait=черты|effect=эффекта|rune=руны|sigil=сигила|умения}} смотрите [[{{FULLPAGENAME}}/history|здесь]]''.}}
 
{| class = "table {{{1}}} {{#switch: {{{table|}}} | normal =  | collapsed = expandable | collapsible}}"
 
{| class = "table {{{1}}} {{#switch: {{{table|}}} | normal =  | collapsed = expandable | collapsible}}"
 
! width="120px" | Патч
 
! width="120px" | Патч
Строка 19: Строка 19:
  
 
; type
 
; type
: Optional, defaults to skill. Values can be 'trait' or 'effect'.
+
: 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
 
; hidetext

Версия 22:19, 18 декабря 2016

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