Шаблон:Version history table header — различия между версиями
Материал из Guild Wars 2 wiki
Blood (обсуждение | вклад) |
Blood (обсуждение | вклад) |
||
Строка 1: | Строка 1: | ||
− | <includeonly>{{#if:{{{hidetext|}}}| | ''Более детальную историю изменений {{#switch:{{{type|{{lc:{{#if: {{{type|}}} | {{{type}}} | {{#show: {{BASEPAGENAME}} | ?Has context | default = Skill }}}}}}}}}|trait=черты|effect=эффекта|rune=руны|sigil=сигила|умения}} смотрите [[{{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=сигила|умения}} смотрите [[{{FULLPAGENAME}}/history|здесь]]''.}} |
{| class = "table {{{1}}} {{#switch: {{{table|}}} | normal = | collapsed = expandable | collapsible}}" | {| class = "table {{{1}}} {{#switch: {{{table|}}} | normal = | collapsed = expandable | collapsible}}" | ||
! width="120px" | Патч | ! width="120px" | Патч | ||
Строка 44: | Строка 44: | ||
|}</pre> | |}</pre> | ||
− | Result: | + | Result: <br/> |
− | |||
{{Version history table header|condition|90%|type=effect|table=collapsed|hidetext=y}} | {{Version history table header|condition|90%|type=effect|table=collapsed|hidetext=y}} | ||
{{Version history table row|release}} | {{Version history table row|release}} | ||
Строка 52: | Строка 51: | ||
==See also== | ==See also== | ||
*{{tl|Version history table row}} | *{{tl|Version history table row}} | ||
− | |||
</noinclude> | </noinclude> |
Версия 04:19, 20 августа 2017
Содержание
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:
|
- 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:
Патч | Изменения |
---|---|
28 августа 2012 | Выход Guild Wars 2:
|