m (Bot: removed unnecessary category. Index can be found at Special:Allpages)
 
Line 34: Line 34:
 
</table>
 
</table>
 
</noinclude>
 
</noinclude>
<noinclude>[[Category:Templates]]</noinclude>
 

Latest revision as of 01:40, 3 February 2020


{{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.