Difference between revisions of "Template:PrintTermSingularCapitalized"

From Encyclopedia of Scientonomy
Jump to navigation Jump to search
(Created page with "<noinclude> 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....")
 
Line 11: Line 11:
 
  -->|<!--  
 
  -->|<!--  
 
   --><!-- check if the page exists
 
   --><!-- check if the page exists
   -->{{#ifexist: {{{1}}}<!--
+
   -->{{#if: {{IfObjectExists|object={{{1}}}|}}<!--
 
   -->|{{#show: {{{1}}}|?Singular Capitalized}}<!--
 
   -->|{{#show: {{{1}}}|?Singular Capitalized}}<!--
 
   -->|{{ucfirst: {{{1}}}}}<!--
 
   -->|{{ucfirst: {{{1}}}}}<!--

Revision as of 19:54, 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.