Template:Overlay: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 20: Line 20:
|overlay3left=23
|overlay3left=23
}}</pre>
}}</pre>
{{overlay
<span style="float:left;">{{overlay
|image=Players map icon.png
|image=Players map icon.png
|imagehover=Total Players / Human Players
|imagehover=Total Players / Human Players
Line 38: Line 38:
|overlay3top=16
|overlay3top=16
|overlay3left=23
|overlay3left=23
}}
}}</span>
==Differs from the {{extLink|link=https://en.wikipedia.org/wiki/Template:Overlay|title=original}}==
{{clear|both}}
Added the ability to completely hide the legendbox if you set legendbox=none.
{{Module:Overlay/doc}}
[[Category:Help templates]]
[[Category:Help templates]]
</noinclude>
</noinclude>

Latest revision as of 05:57, 15 December 2023

Example[edit]

{{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

wikipedia.org/wiki/Module:Overlay/doc

Differs from the original[edit]

  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=|...)