Template:Scenario player count: Difference between revisions

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


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

Revision as of 05:57, 15 December 2023

Examples

  • Shows both if different:
    • {{scenario player count|total=5|human=3}}
    • 5 Total Players / 3 Human Players
      3
      5
  • Shows only one if the same: (just kidding i fixed it)
    • {{scenario player count|total=5|human=5}}
    • 5 Total Players / 5 Human Players
      5
      5