Template:Scenario player count: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
(Undo revision 71709 by Imahero (talk))
Tag: Undo
No edit summary
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{overlay
<includeonly>{{overlay
|image=Players map icon.png
|image=Players map icon.png
|imagehover={{{total}}} Total Players / {{{human}}} Human Players
|imagehover={{{total}}} Total {{#invoke:scenario|players|{{{total|}}}}} / {{{human}}} Human {{#invoke:scenario|players|{{{human|}}}}}
|imagelink=Map Attributes
|imagelink=Map Attributes
|width=32
|width=32
Line 10: Line 10:
|overlay{{{total}}}form=text
|overlay{{{total}}}form=text
|overlay{{{total}}}color=white
|overlay{{{total}}}color=white
|overlay{{{total}}}top=0
|overlay{{{total}}}top=-3
|overlay{{{total}}}left=23
|overlay{{{total}}}left=25
|overlay{{{human}}}=human
|overlay{{#ifeq:{{{total}}}|{{{human}}}||{{{human}}}}}=human
|overlay{{{human}}}form=text
|overlay{{#ifeq:{{{total}}}|{{{human}}}||{{{human}}}}}form=text
|overlay{{{human}}}color=white
|overlay{{#ifeq:{{{total}}}|{{{human}}}||{{{human}}}}}color=white
|overlay{{{human}}}top=16
|overlay{{#ifeq:{{{total}}}|{{{human}}}|{{{human}}}top2|{{{human}}}top}}=13
|overlay{{{human}}}left=23
|overlay{{#ifeq:{{{total}}}|{{{human}}}|{{{human}}}left2|{{{human}}}left}}=25
}}</includeonly><noinclude>
}}</includeonly><noinclude>
 
==Usage==
==Example==
* <nowiki>{{scenario player count|total=5|human=3}}</nowiki>
{{scenario player count|total=5|human=3}}
* <span style="float:left;">{{scenario player count|total=5|human=3}}</span>


[[Category: Map templates]]</noinclude>
[[Category: Map templates]]</noinclude>

Latest revision as of 21:00, 5 February 2024

Usage[edit | hide | hide all]

  • {{scenario player count|total=5|human=3}}
  • 5 Total Players / 3 Human Players
    3
    5