Template:Str min

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:Str min/doc.

Function template to compare two values and return the one that comes first if they are alphabetically sorted

Usage

{{Str min |1= |2= }}

Template parameters

ParameterDescriptionDefaultStatus
1first argumentstring of textemptyrequired
2second argumentstring of textemptyrequired

Additional information

The template is intended to be used in the following namespaces: no namespace specified

The template is intended to be used by the following user groups: no user group specified

Example

{{Str min|Zoo|Apple}}

renders as:

Apple