Template:Scenario player count: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision 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 18: Line 18:
|overlay{{#ifeq:{{{total}}}|{{{human}}}|{{{human}}}left2|{{{human}}}left}}=25
|overlay{{#ifeq:{{{total}}}|{{{human}}}|{{{human}}}left2|{{{human}}}left}}=25
}}</includeonly><noinclude>
}}</includeonly><noinclude>
==Examples==
==Usage==
* Shows both if different:
* <nowiki>{{scenario player count|total=5|human=3}}</nowiki>
** <nowiki>{{scenario player count|total=5|human=3}}</nowiki>
* <span style="float:left;">{{scenario player count|total=5|human=3}}</span>
** <span style="float:left;">{{scenario player count|total=5|human=3}}</span>
{{clear|both}}
* <s>Shows only one if the same:</s> (just kidding i fixed it)
** <nowiki>{{scenario player count|total=5|human=5}}</nowiki>
** <span style="float:left;">{{scenario player count|total=5|human=5}}</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