Template:Overlay: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 41: Line 41:
==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}}==
# Added 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 didn't have these):
#* 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=|...)
#* imagelink (probably need to set to blank if not using, e.g. |imagelink=|...)
#* imagelink (probably need to set to blank if not using, e.g. |imagelink=|...)
[[Category:Help templates]]
[[Category:Help templates]]
</noinclude>
</noinclude>

Revision as of 05:53, 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 didn't have these):
    • 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=|...)