Редактирование: Шаблон: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=сигила|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 {{lc:{{{1}}}}} history {{#switch: {{{table|}}} | normal = | collapsed = expandable | collapsible}}" style="max-width: {{{2|80%}}};"
+
{| class = "table {{lc:{{{1}}}}} history {{#switch: {{{table|}}} | normal = | collapsed = expandable | collapsible}}"
! style="width:10em;" | Патч
+
! style="width:10em" | Патч
! Изменения
+
! {{#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]].
  
== Usage ==
+
===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 [[Property: Has context]] if it has been set.
+
; 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.
  
=== Examples ===
+
==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|40%|type=effect|table=collapsed|hidetext=y}}
+
<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|40%|type=effect|table=collapsed|hidetext=y}}
+
 
 +
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}}
 
  
 
[[Category:Table formatting templates]]</noinclude>
 
[[Category:Table formatting templates]]</noinclude>

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

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

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