Шаблон:Popup

Материал из TwentyOneWiki
Версия от 00:47, 14 февраля 2024; Buburka Rinderbuy (обсуждение | вклад) (Created page with "<noinclude> == Usage == <pre> {{Popup |1 = The text that is displayed on the page |2 = The information to be displayed inside the tool-tip. |long=yes (Optional) The width of the tool-tip (default is short) |left=yes (Optional) Change text alignment to left-aligned (default is centered) |icon = (Optional) If you do not want the link=|super|10px icon to appear, set this to no }} </pre> * All text within the tool-tip is selectable. * You may create...")
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)
Перейти к навигации Перейти к поиску

Usage

{{Popup
|1 = The text that is displayed on the page
|2 = The information to be displayed inside the tool-tip.
|long=yes (Optional) The width of the tool-tip (default is short)
|left=yes (Optional) Change text alignment to left-aligned (default is centered)
|icon = (Optional) If you do not want the [[File:Icon tooltip.png|link=|super|10px]] icon to appear, set this to no
}}
  • All text within the tool-tip is selectable.
  • You may create links using [[ ]].

Examples

Standard popup

Left justify popup text

Popup with a link

Standard popup on a link

Popup on a link with a link in the popup (long)

Hiding the Файл:Icon tooltip.png icon

Images

Images and text

  • {{Popup|Add some text to your image to make it more interesting and worthwhile.|[[File:M_snitch.png|450px|center]]You can even add some text along with your image if you desire!  Write an interesting caption for the image, or link it to something like [[The Snitch|the quest it belongs to]]!|long=yes}}
  • Add some text to your image to make it more interesting and worthwhile.Файл:Icon tooltip.png
    Файл:M snitch.png
    You can even add some text along with your image if you desire! Write an interesting caption for the image, or link it to something like the quest it belongs to!

CODING

{{{1}}}Файл:Icon tooltip.pngPlease enter information for this popup

See Also