Редактирование: Шаблон:Version history table header
Материал из Guild Wars 2 wiki
Внимание! Вы не авторизовались на сайте. Ваш IP-адрес будет публично видимым, если вы будете вносить любые правки. Если вы войдёте или создадите учётную запись, правки вместо этого будут связаны с вашим именем пользователя, а также у вас появятся другие преимущества.
Правка может быть отменена. Пожалуйста, просмотрите сравнение версий, чтобы убедиться, что это именно те изменения, которые вас интересуют, и нажмите «Записать страницу», чтобы изменения вступили в силу.
На этой странице невозможны семантические аннотации в тексте из-за ограничений пространства имён. Детали относительно того, как разрешить пространство имен, находятся в справочной странице конфигурации.
Текущая версия | Ваш текст | ||
Строка 1: | Строка 1: | ||
− | <includeonly>{{#if:{{{hidetext|}}}| | ''Более детальную историю изменений {{#switch:{{lc:{{{type|{{#show: {{BASEPAGENAME}} | ?Has context | default = Skill}}}}}}}|trait=черты|effect=эффекта|rune=руны|sigil=сигила | + | <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 | + | {| class = "table {{{1}}} {{#switch: {{{table|}}} | normal = | collapsed = expandable | collapsible}}" |
− | + | ! width="120px" | Патч | |
− | ! Изменения | + | ! {{#if:{{{2}}}| width="{{{2}}}"{{!}}}} Изменения |
|- | |- | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
− | == Description == | + | ==Description== |
This is a template created for the [[Guild Wars 2 Wiki:Projects/Skill Version History|Skill Version History project]]. | This is a template created for the [[Guild Wars 2 Wiki:Projects/Skill Version History|Skill Version History project]]. | ||
− | + | ===Parameters=== | |
− | === Parameters === | + | ; unnamed parameter 1 |
− | ;unnamed parameter 1 | ||
: Optional. Adds the parameter as a class to the table. | : Optional. Adds the parameter as a class to the table. | ||
− | ;unnamed parameter 2 | + | |
+ | ; unnamed parameter 2 | ||
: Optional. Sets the width of the table. | : Optional. Sets the width of the table. | ||
− | ;table | + | |
+ | ; table | ||
: Optional. Values can be "normal" for a non-collapsible table or "collapsed" for a collapsed table. | : Optional. Values can be "normal" for a non-collapsible table or "collapsed" for a collapsed table. | ||
− | ;type | + | |
− | : Optional, defaults to skill or | + | ; type |
− | ;hidetext | + | : 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. | : Optional, hides the link to /history. | ||
− | == | + | ==Example usage== |
;skill table, no fixed width: | ;skill table, no fixed width: | ||
<pre>{{Version history table header|revenant}} | <pre>{{Version history table header|revenant}} | ||
Строка 27: | Строка 30: | ||
* Duelist's Preparation has been added to the game. | * Duelist's Preparation has been added to the game. | ||
|}</pre> | |}</pre> | ||
+ | |||
+ | Result: | ||
+ | |||
{{Version history table header|revenant}} | {{Version history table header|revenant}} | ||
{{Version history table row|2015-10-23|Revenant}} | {{Version history table row|2015-10-23|Revenant}} | ||
Строка 33: | Строка 39: | ||
;effect table, fixed width, collapsed, hidetext: | ;effect table, fixed width, collapsed, hidetext: | ||
− | <pre>{{Version history table header|condition| | + | <pre>{{Version history table header|condition|90%|type=effect|table=collapsed|hidetext=y}} |
{{Version history table row|release}} | {{Version history table row|release}} | ||
* Confusion has been added to the game. | * Confusion has been added to the game. | ||
|}</pre> | |}</pre> | ||
− | {{Version history table header|condition| | + | |
+ | Result: <br/> | ||
+ | {{Version history table header|condition|90%|type=effect|table=collapsed|hidetext=y}} | ||
{{Version history table row|release}} | {{Version history table row|release}} | ||
* Confusion has been added to the game. | * Confusion has been added to the game. | ||
|} | |} | ||
− | + | ==See also== | |
− | == See also == | + | *{{tl|Version history table row}} |
− | * {{tl|Version history table row}} | + | </noinclude> |
− | |||
− |