Difference between revisions of "Template:FormatSupertypesTopicTitle"

From Encyclopedia of Scientonomy
Jump to navigation Jump to search
Line 20: Line 20:
 
     -->{{#if: {{{link|}}}<!--
 
     -->{{#if: {{{link|}}}<!--
 
     -->|<!-- return the formlink
 
     -->|<!-- return the formlink
       -->{{#formlink:form=Ontological Topic|link text={{#var: varDisplay}}|target={{#var: varTitle}}|query string=Term={{{term|}}}&QuestionType=Existence}}<!--
+
       -->{{#formlink:form=Ontological Topic|link text={{#var: varDisplay}}|target={{#var: varTitle}}|query string=Term={{{term|}}}&QuestionType=Supertypes}}<!--
     -->|<!-- form link is not needed; nothing to return  
+
     -->|<!-- form link is not needed; return the name only
 +
      -->{{#var: varTitle}}<!--
 
     -->}}<!-- if   
 
     -->}}<!-- if   
 
   -->}}<!-- if exists
 
   -->}}<!-- if exists

Revision as of 23:39, 26 December 2022

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

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

Parameters:

  • |term= - the term.
  • |link= - if not empty, a link to the respective page or a formlink (if the page doesn't exist) will be added.
  • |displaytitle= - if empty, the same as the output.