Difference between revisions of "Template:PrintTheoryDetails"

From Encyclopedia of Scientonomy
Jump to navigation Jump to search
Line 14: Line 14:
 
* <code><nowiki>|history=</nowiki></code> - if ''yes'', then the scientonomic history will also be printed. Default is ''no''.
 
* <code><nowiki>|history=</nowiki></code> - if ''yes'', then the scientonomic history will also be printed. Default is ''no''.
 
* <code><nowiki>|prehistory=</nowiki></code> - if ''yes'', then the broader history will also be printed. Default is ''no''.
 
* <code><nowiki>|prehistory=</nowiki></code> - if ''yes'', then the broader history will also be printed. Default is ''no''.
 
+
* <code><nowiki>|link=</nowiki></code> - if ''yes'', then the link to the theory page will be printed.
  
 
</noinclude><includeonly><!--
 
</noinclude><includeonly><!--
Line 23: Line 23:
 
   --><!--  
 
   --><!--  
 
   -->{{#ifeq: {{{formulationtext|no}}}|yes|<!--
 
   -->{{#ifeq: {{{formulationtext|no}}}|yes|<!--
     --><p>{{{theory|}}} states: "{{#show: {{{theory|}}}|?Formulation Text|link=none}}"</p><!--  
+
     --><p>{{ifeq: {{{link|no}}}|yes|[[{{{theory|}}}]]|{{{theory|}}}|}} states: "{{#show: {{{theory|}}}|?Formulation Text|link=none}}"</p><!--  
 
   -->}}<!-- if formulation text
 
   -->}}<!-- if formulation text
 
   --><!--
 
   --><!--

Revision as of 17:23, 26 February 2023

This template is used to print the details of the given theory. This includes the description as well as other optional details.


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


Parameters:

  • |theory= - the theory.
  • |formulationtext= - if one, then the formulation of the theory is also printed. Default is no.
  • |formulationfile= - if yes, then the file with the formulation diagram is also printed. Default is no.
  • |description= - if yes (default), then the description is also printed.
  • |reasons= - if yes, then the currently accepted reasons for the theory will also be printed. Default is no.
  • |history= - if yes, then the scientonomic history will also be printed. Default is no.
  • |prehistory= - if yes, then the broader history will also be printed. Default is no.
  • |link= - if yes, then the link to the theory page will be printed.