Difference between revisions of "Template:MapCard/doc"

From comp.tf
Jump to navigation Jump to search
(Created page with "'''Template:MapCard''' displays a 250x137px rectangular card containing a map image. == Usage == <code><nowiki>{{MapCard |</nowiki>'''<nowiki>map</nowiki>'''<nowiki>|</nowiki...")
(No difference)

Revision as of 05:19, 4 June 2016

Template:MapCard displays a 250x137px rectangular card containing a map image.

Usage

{{MapCard |map|filename|image}}

  • map - name of the map. Displayed as the card's title/caption and image if no image parameter is entered. Is case-sensitive.
  • filename - file name of the map. Displayed upon hovering. All letters should be lowercase.
  • image - optional, image of the map. Will override the image that is automatically shown by the map parameter. Should only be used if the image shown by the map parameter is not appropriate (e.g. shows an error, bad dimensions). Is not case-sensitive.

Examples

{{MapCard |Mojave|cp_mojave_b2}}

Mojave
Mojave.jpg

{{MapCard |Mojave|cp_mojave_b2|Reckoner.jpg}}

Mojave
Reckoner.jpg