Template:MapCardSmall

From comp.tf
Revision as of 00:11, 13 September 2022 by Achoo (talk | contribs) (Small version of map cards)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

(view - edit) Documentation

Template:MapCardSmall displays a smaller version of a MapCard, a rectangular card containing a map image. The image size is 100x56. Usage is the same except for the name:

Usage

{{MapCardSmall |map|filename|image|superscript}}

  • 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.
  • superscript - optional, adds a superscript after the map name. To use, you must also include the image parameter.

Examples

{{MapCardSmall |Mojave|cp_mojave_b2}}

Mojave
Mojave.jpg

{{MapCardSmall |Mojave|cp_mojave_b2|Reckoner.jpg|2}}

Mojave2
Reckoner.jpg