Template:DeckListEditor/doc

Implements an editor for a page containing a deck list. i.e a page containing a table generated using the   template. Presents a user friendly interface that lists the decks not already in the target which the user can select a deck to add to the list from, then prompts for the parameters to a   and then inserts a new    into the target page.

target
The target page containg the deck list to add the new   to.

insertmarker
This specifies where to insert the new. The new row will be inserted just above where this text is found in the target, followed by a blank line. Normally a comment is used as the insertion marker. The characters should be represented by &amp;lt; and &amp;gt; respectively.

allowchars
This specifies how characters that could break the   template are handled. If any of the characters  are used in one of the input fields that could result in the    being broken, i.e. using   in one of the fields will result in the    being prematurely terminated.

Should be one of never, always or trusted. Defaults to never if omited.


 * never - no user will be able to use the characters.
 * always - all users will be able to use the characters, including anonymous users.
 * trusted - only users listed in MediaWiki:Custom-TrustedEditors will be allowed to use the characters.

filter
Specifies a regular expression pattern that will exclude decks that match that pattern from the dropdown that lists decks not present in the target.

If the pattern contains special wikitext characters you can specify the by using URI encoding, e.g you can represent a space with %20 or a pipe character ( | ) with %7C.

For example  will exclude all decks that end with a space followed by WotC.

Limitations
There can be only one of this templates on a page, and it should be at the top of the page or very close to the top of the page, otherwise there can be problems with the images it uses not appearing because of lazy loading of the images.