Marvel: Альянс Мстителей вики
Регистрация
Advertisement

[[{{{1|}}}|<span class="ajaxttlink" style="border-bottom: 1px dotted; cursor: help;">{{{2|{{{1|}}}}}}</span>]]

Документация шаблона (для шаблона выше, иногда скрытая или невидимая)

Этот шаблон используется для получения информации, хранящейся на других страницах и отображения их в виде всплывающей подсказки.

Синтаксис

{{Tooltip|source page|caption (optional)}}

will retrieve data wrapped in <div class="tooltip-content"></div> tags, stored on source page. The above syntax can be used on any page and will work, provided the there is any content on source page wrapped in the beforementioned tags.

Основные операции

{{Tooltip|"Barking Dog" Shotgun}}

даёт...

"Barking Dog" Shotgun <- (наведите курсор на название, чтобы увидеть подсказку)

Дополнительное название

alternatively an optional link title can be added:

{{Tooltip|"Barking Dog" Shotgun|"Barking Dog" Shotgun (weapon)}}

даёт...

"Barking Dog" Shotgun (weapon)

Дополнительный цвет

the link color can be also changed:

{{Tooltip|"Barking Dog" Shotgun|color=green}}

даёт...

"Barking Dog" Shotgun

alternately, a color class can be used:

{{Tooltip|Stealthy|class=buff}}

даёт...

Stealthy


Дополнительная иконка

an icon can also be added:

{{Tooltip|Stealthy|icon=024 Blue}}

даёт...

Файл:Effect Icon 024 Blue.png Stealthy

alternately, the icon template can be used:

{{Tooltip|Catch-22|iconT=Catch-22}}

даёт...

Шаблон:EI-Catch-22 Catch-22



Перейдите на Template:Tooltip/doc, чтобы править этот текст! (Как это работает?)
Advertisement