Difference between revisions of "Template:PrintTermSingularCapitalized"

From Encyclopedia of Scientonomy
Jump to navigation Jump to search
Line 5: Line 5:
  
 
'''Parameters:'''
 
'''Parameters:'''
* <code><nowiki>''string''</nowiki></code> - the term.
+
* <code>''string''</code> - the term.
  
 
</noinclude><includeonly><!--
 
</noinclude><includeonly><!--
Line 12: Line 12:
 
   --><!-- check if the page exists
 
   --><!-- check if the page exists
 
   -->{{#if: {{IfObjectExists|object={{{1}}}|}}<!--
 
   -->{{#if: {{IfObjectExists|object={{{1}}}|}}<!--
   -->|{{#show: {{{1}}}|?Singular Capitalized}}<!--
+
   -->|{{#show: {{{1}}}|?Singular Capitalized|link=none}}<!--
 
   -->|{{ucfirst: {{{1}}}}}<!--
 
   -->|{{ucfirst: {{{1}}}}}<!--
 
   -->}}<!-- if exists  
 
   -->}}<!-- if exists  

Revision as of 20:00, 9 January 2023

This template is used to print a singular capitalized from of the term. If the respective page doesn't exist, the first letter of the string will be capitalized.

NOTE: As any "printing" template, it doesn't store any values anywhere, but merely prints them on the page.

Parameters:

  • string - the term.