Open main menu
Home
Random
Log in
Settings
Legacy Roblox Wiki
Search
Template
:
Or
Language
Watch
Edit
[
purge
]
Template documentation
Behaves like the or lua operator. Useful for parameters. Example:
{{or|{{{1|}}}|{{{2|}}}}}
{{or|a|b}} -> a
{{or||b}} -> b
{{or|a|}} -> a
{{or||}} ->
Will take 1 if it is non-blank, else it will take 2.