{{DisplayName | base | secondary | default= default }}

Output:

  • base (secondary) if both base and secondary is not empty
  • base if base is available but secondary is empty
  • default if base is empty
Code Output
{{DisplayName|}}
{{DisplayName|foo}} foo
{{DisplayName|foo|bar}} foo (bar)
{{DisplayName||default=no data}} no data
Community content is available under CC-BY-SA unless otherwise noted.