Template:Badge

From Mario Fan Games Galaxy Wiki
Revision as of 11:04, 3 February 2010 by Kyori (talk | contribs)

Happyheart.png

Usage and Notes

This template's not done!

{{badge|name|count}}

Example:

{{badge|mod}}
  • Can't read the stupid overlap text because Draco's retard Opera won't display moz and webkit shadows.
  • Need to upload the actual images to test that it works properly.

Draco is working on this template to resolve the problem of badges now being allowed arbitrary numbers. Feedback and stuff is appreciated before we finalize anything like this.

All images used by this template are in *.png format, as they are on the forums.

Will link to the given badge name in Image:Badge_name.png (ie. "mod" will link to Badge mod.png .)

{{badge|mod|}}

Categorizing

After completing this initial template, and with approval, Draco will be adding specific shorthand templates to call specific badges that also categorize their owners (such as MFGG Awards winners.)

How it works

This template generates a div with some floating divs in it.

An article cannot link to any Mediawiki image page or external (even on the same host) URL with an HTML / CSS style declaration, so the first subdiv contains a typical Image: namespace inclusion, while the second floats on top of it and displays the given number.