Template:BAM-Icon/doc

BAM-Icon is used to insert image icons from Yu-Gi-Oh! BAM. It is only compatible with images, whose filename begin with "BAM-".

Usage

 * The first unnamed parameter is for the image name. It is the only mandatory parameter. The filename without the "BAM-" prefix or the extension is to be entered here. Whatever is set here will also be used as the hover and alt text, with the following exceptions.
 * CP sets them to "Card Pieces".
 * DP sets them to "Duel Points".
 * o-ween sets them "BAM-o-ween".
 * Giving sets them to "BAM-Giving Event"
 * Xmas sets them to "13 Days of Xmas".
 * The second unnamed parameter is for the size of the image. Either the number of pixels wide or x followed by the number of pixels high is to be used here. e.g.  or  . If unused, the default size is 25 pixels wide.
 * ext is for the file extension. By default, this is svg.
 * alt sets the image alt text. By default, this is the same as the first unnamed parameter. If  is used, without a value being entered, the alt text will be blank.
 * link is used to specify a page for the image to link to. By default, the image will link to its corresponding file page.