Template:Popup

From TwentyOneWiki
Jump to navigation Jump to search

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 File: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.File:Icon tooltip.png
    File: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}}}File:Icon tooltip.pngPlease enter information for this popup

See Also