Difference between revisions of "Template:FormatExistenceTopicTitle"

From Encyclopedia of Scientonomy
Jump to navigation Jump to search
Line 16: Line 16:
 
   --><!--  
 
   --><!--  
 
   -->{{#ifexist:{{#var: varTitle}}<!--
 
   -->{{#ifexist:{{#var: varTitle}}<!--
   -->|[[{{#var: varTitle}}|]]<!--
+
   -->|[[{{#var: varTitle}}|{{#var: varDisplay}}]]<!--
 
   -->|<!-- doesn't exist, check if the formlink is expected  
 
   -->|<!-- doesn't exist, check if the formlink is expected  
 
     -->{{#if: {{{formlink|}}}<!--
 
     -->{{#if: {{{formlink|}}}<!--

Revision as of 23:06, 26 December 2022

Use this template to format the title of the topic page for the question concerning the existence of a class.

NOTE: As any "printing" template, it doesn't store any values anywhere, but merely returns a value.

Parameters:

  • |term= - the term.
  • |formlink= - if not empty, a formlink will be added if the page does not exist.
  • |displaytitle= - if empty, the same as the output.