User:Neithan Diniem/Template/Minipet Collection

{{ #switch: {{{collapsible|}}} | yes = {{{!}} class="expandable" width="100%" style="background: transparent;" | no = {{{!}} width=”{{{width|100%}}}” style=”background: transparent;” | #default = {{{!}} width=”{{{width|100%}}}” style=”background: transparent;” }} ! style="background: {{{tabbackground|#bbbbbb}}}; border: 1px {{{bordertype|solid}}} {{{bordercolor|#777777}}}; {{ #ifeq: {{{firefox|}}} | yes | -moz-border-radius: 5px; | }}} width: 100%;" | {{ #if: {{{text|}}} | {{{text}}} | Collected Minipets }} {{ #switch: {{{collapsible|}}} | yes = {{!}}} | no = | #default = }} Preview

Usage Notes
 * For Centering
 * yes – centers text
 * no - aligns left (standard)
 * default = no


 * For Minipets
 * yes - acquired
 * no - not acquired
 * default = no
 * default = not shown

Collapsible allows you to turn off the collapsible tab feature and simply have the list always visible.

Tabackground is where you put your preferred background color for the tab. Bordertype sets the line style for the border of the tab, and bordercolor sets the line color of the tab. You NEED to set these, there are no defaults set. Listbackground is where you set the background for the Year | Name | Type row. Not setting this will result in the background for that row to be white.

Center simply centers the text in the columns. Default is not centered, but aligned to the left (as standard for text).

Text allows you to change the title text for the tab. The default is "Collected Minipets." If you want the default, leave the |text variable out of the template.

Year simply states if the minipet is either a birthday release or special minipet. Its categorized by 1st, 2nd, ...., ig, and sp. Ig means the pet can be gotten in-game, as through a chest drop or quest. Sp means the mini is a special release requiring certain conditions to be met.

Type is the rarity of the mini, with 1 being white, 2 purple, 3 gold, and 4 green.

This template is intended for listing which minipets you have acquired and allow you to sort them according to year, name, and type. When you've acquired a minipet, simply add its variable within the template barriers and set it as = yes. Setting a variable as no or leaving it blank will make it not show in the template.

Possible Updates Planned. Notes.
 * New Minipets will be added when they are released. If you see one missing, Post it on my Talk page.
 * yes/no option for collapsible tab Yes
 * color and text options for collapsible tab Yes
 * Does not include Gail's 3 Frog minipets. You do not have them, so there is no need to put them in.
 * If any errors are found, please post them to my Talk page.