Difference between revisions of "Template:Max/doc"

From RimWorld Wiki
Jump to navigation Jump to search
m
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
Returns the larger value from its 2 positional parameter.
+
Returns the larger value from its 2 positional parameters.
  
{{{{{|safesubst:}}}Documentation/Example Table|{{Max|1|2}}|{{Max|4.5|3.5}}}}
+
<!--The following line is generated by substitution: {{subst:Template:Documentation/Example Table|{{Max|1|2}}|{{Max|4.5|3.5}}}}-->
 +
<table class="wikitable"><tr><th>Code</th><th>Result</th></tr><tr><td><code><nowiki>{{Max|1|2}}</nowiki></code></td><td>{{Max|1|2}}</td></tr><tr><td><code><nowiki>{{Max|4.5|3.5}}</nowiki></code></td><td>{{Max|4.5|3.5}}</td></tr></table>
 +
<includeonly>[[Category:Math templates]]</includeonly>
 +
<noinclude>[[Category:Template documentation]]</noinclude>

Latest revision as of 18:54, 4 March 2025

Returns the larger value from its 2 positional parameters.

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