Difference between revisions of "Template:Max"

From RimWorld Wiki
Jump to navigation Jump to search
(Created page with "{{#ifexpr:{{{1}}}>{{{2}}}|{{{1}}}|{{{2}}}}}")
 
 
Line 1: Line 1:
{{#ifexpr:{{{1}}}>{{{2}}}|{{{1}}}|{{{2}}}}}
+
<includeonly>{{#ifexpr:{{{1}}}>{{{2}}}|{{{1}}}|{{{2}}}}}</includeonly><noinclude>
 +
{{Documentation}}
 +
</noinclude>

Latest revision as of 10:08, 26 December 2024

Documentation icon Template documentation[view] [edit] [history] [purge]

Returns the larger value from its 2 positional parameters.

CodeResult
{{Max|1|2}}2
{{Max|4.5|3.5}}4.5