Difference between revisions of "Template:PrintTheoryFormulation"

From Encyclopedia of Scientonomy
Jump to navigation Jump to search
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
This template is used to format the sentence that this formulation is an attempt to answers the question such-and-such or that the term is defined as such-and-such.  
+
This template is used to format the sentence that this formulation is an attempt to answers such-and-such questions or that the term is defined as such-and-such.  
  
 
'''NOTE:''' As any "printing" template, it doesn't store any values anywhere, but merely prints them on the page.
 
'''NOTE:''' As any "printing" template, it doesn't store any values anywhere, but merely prints them on the page.
Line 12: Line 12:
 
   --><!-- get the formulation/definition
 
   --><!-- get the formulation/definition
 
   -->{{#vardefine: varText|{{#show: {{{theory|}}}|?Formulation Text}}|}}<!--
 
   -->{{#vardefine: varText|{{#show: {{{theory|}}}|?Formulation Text}}|}}<!--
  --><!--
 
  --><!-- get the topic
 
  -->{{#vardefine: varTopic|{{#show: {{{theory|}}}|?Topic}}|}}<!--
 
 
   --><!--
 
   --><!--
 
   -->{{#ifeq: {{#show: {{{theory|}}}|?Theory Type}}|Definition<!--
 
   -->{{#ifeq: {{#show: {{{theory|}}}|?Theory Type}}|Definition<!--
 
   -->|<!-- definition
 
   -->|<!-- definition
     -->This theory is an attempt to answer the question ''{{#var: varTopic}}'' that states "{{#var: varText}}"<!--
+
    --><!-- get the topic
 +
    -->{{#vardefine: varTopic|{{#show: {{{theory|}}}|?Topic}}|}}<!--
 +
    --><!--
 +
     -->This theory is a definition of {{#var: varTopic}} that states "{{#var: varText}}"<!--
 +
    --><!--
 
   -->|<!-- nondefinition
 
   -->|<!-- nondefinition
 +
    --><!--
 
     -->{{PrintTheoryTopicQuestions|theory={{{theory}}}|intro=This is an answer to questions&#32;|intro one=This is an answer to the question&#32;|link=all|pretty=true}} that states "{{#var: varText}}"<!--
 
     -->{{PrintTheoryTopicQuestions|theory={{{theory}}}|intro=This is an answer to questions&#32;|intro one=This is an answer to the question&#32;|link=all|pretty=true}} that states "{{#var: varText}}"<!--
 +
    --><!--
 
   -->}}<!-- ifeq
 
   -->}}<!-- ifeq
 
   --><!--
 
   --><!--
 
-->}}<!-- if theory
 
-->}}<!-- if theory
 
--></includeonly>
 
--></includeonly>

Revision as of 15:03, 27 December 2022

This template is used to format the sentence that this formulation is an attempt to answers such-and-such questions or that the term is defined as such-and-such.

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

Parameters:

  • |theory= - the fullpagename of the theory.