Editing Template:MapCard/doc
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
This page is not enabled for semantic in-text annotations due to namespace restrictions. Details about how to enable the namespace can be found on the configuration help page.
Latest revision | Your text | ||
Line 4: | Line 4: | ||
<code><nowiki>{{MapCard |</nowiki>'''<nowiki>map</nowiki>'''<nowiki>|</nowiki>'''<nowiki>filename</nowiki>'''<nowiki>|</nowiki>'''<nowiki>image</nowiki>'''<nowiki>|</nowiki>'''<nowiki>superscript</nowiki>'''<nowiki>}}</nowiki></code> | <code><nowiki>{{MapCard |</nowiki>'''<nowiki>map</nowiki>'''<nowiki>|</nowiki>'''<nowiki>filename</nowiki>'''<nowiki>|</nowiki>'''<nowiki>image</nowiki>'''<nowiki>|</nowiki>'''<nowiki>superscript</nowiki>'''<nowiki>}}</nowiki></code> | ||
*'''map''' - name of the map. Displayed as the card's title/caption and image if no '''image''' parameter is entered. Is case-sensitive. | *'''map''' - name of the map. Displayed as the card's title/caption and image if no '''image''' parameter is entered. Is case-sensitive. | ||
− | *'''filename''' - | + | *'''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. | *'''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. | *'''superscript''' - optional, adds a superscript after the map name. To use, you must also include the '''image''' parameter. |