Template:TNNCustomPopup

< class="refpopups-custom-element" >

__NOWYSIWYG__

Description
This is a template for using custom Reference Popups in your pages. The template is somewhat complicated but should be easy enough to use. This template also has a sibling that you'll probably need as well: Template:custompopupcontentDA.

Simple inline popups
Blah blah ... ... blah blah

Complex inline popup
... ...

This second form is useful because it allows you to avoid confusing MediaWiki and causing it to merge all your paragraphs together into a single colossal, unreadable wall of text. If you put  or   inline with the   template then the result can be very bad so you should use the detached form to display popups that contain anything more complicated than plain text, spans and images.

The  and   parameters are CSS selectors, like you would use in MediaWiki:Wikia.css to style your wiki. Generally you will only use  with this, so the only thing to remember is that   must be the same as the   parameter on   with a hash  at the start.

Block popup
Block popups are basically identical to simple inline popups; only combining inline and block content at the same time is difficult.

Note
Unless you want to create your own custom template. You should copy this entire page onto your wiki as a template. ("Template:Popup" is recommended)