Template:Overlay: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 40: Line 40:
}}
}}
==Differs from the {{extLink|link=https://en.wikipedia.org/wiki/Template:Overlay|title=original}}==
==Differs from the {{extLink|link=https://en.wikipedia.org/wiki/Template:Overlay|title=original}}==
# The ability to completely hide the legendbox if you set legendbox=none.
# Added the ability to completely hide the legendbox if you set legendbox=none.
# New variables (don't know why the original):
# New variables (don't know why the original):
#* imagehover (probably need to set to blank if not using, e.g. |imagehover=|...)
#* imagehover (probably need to set to blank if not using, e.g. |imagehover=|...)

Revision as of 05:52, 15 December 2023

Example

{{overlay
|image=Players map icon.png
|imagehover=Total Players / Human Players
|imagelink=Map Attributes
|width=32
|height=28
|legendbox=none
|border=no
|overlay5=total
|overlay5form=text
|overlay5color=white
|overlay5top=0
|overlay5left=23
|overlay3=human
|overlay3form=text
|overlay3color=white
|overlay3top=16
|overlay3left=23
}}
Total Players / Human Players
3
5

Differs from the original

  1. Added the ability to completely hide the legendbox if you set legendbox=none.
  2. New variables (don't know why the original):
    • imagehover (probably need to set to blank if not using, e.g. |imagehover=|...)
    • imagelink (probably need to set to blank if not using, e.g. |imagelink=|...)