Template:Scenario player count: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 20: Line 20:


==Examples==
==Examples==
Shows both if different:
# Shows both if different:
* {{scenario player count|total=5|human=3}}
#* <nowiki>{{scenario player count|total=5|human=3}}</nowiki>
Shows only one if the same:
#* <span style="float:left;">{{scenario player count|total=5|human=3}}</span>
* {{scenario player count|total=5|human=5}}
{{clear|both}}
# Shows only one if the same:
#* <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>

Revision as of 23:56, 14 December 2023


Examples

  1. Shows both if different:
    • {{scenario player count|total=5|human=3}}
    • 5 Total Players / 3 Human Players
      3
      5
  1. Shows only one if the same:
    • {{scenario player count|total=5|human=5}}
    • 5 Total Players / 5 Human Players
      5