Шаблон:Game update icon

Материал из Guild Wars 2 wiki
Версия от 21:09, 2 апреля 2018; Blood (обсуждение | вклад) (Новая страница: «<includeonly>{{#show: {{{1|}}} | ?Has context | ?Has game icon | ? | ?Has canonical name | link = none | format = template | template = Game update icon result fo…»)
(разн.) ← Предыдущая | Текущая версия (разн.) | Следующая → (разн.)
Перейти к: навигация, поиск

A template that provides skill and trait icons for game update pages.

Содержание

Usage

{{Game update icon|<type>|<page name>}}

Parameters

1 (unnamed parameter)
skill or trait page name.

Example

{{Game update icon|Retribution (trait)}}
Retribution (trait).png
 Retribution

Notes

// Scripts to use when viewing game updates
if (mw.config.get('wgPageName').substring(0, 12) == 'Game_updates') {
    $('li .skillicon, li .traiticon').each(function(){
      $(this).parent('li').addClass('patchnote');
    });
}
.patchnote { line-height: 2.7em; }
.patchnote .skillicon img, .patchnote .traiticon img { background-color: black; }