Difference between revisions of "Template:PrintTheoryCurrentlyAcceptedInCommunities"

From Encyclopedia of Scientonomy
Jump to navigation Jump to search
Line 60: Line 60:
 
   --><!--
 
   --><!--
 
   --><!-- add description if necessary
 
   --><!-- add description if necessary
   -->{{#ifeq: {{{description|no}}}|yes|{{#show: {{{theory|}}}|?Description First Paragraph|link=none}} [[{{{theory|}}}|Read More]]<nowiki/>
+
   -->{{#ifeq: {{{description|no}}}|yes|{{#show: {{{theory|}}}|?Description First Paragraph|link=none}} [[{{{theory|}}}|Read More]]<nowiki>
  
|}}<!--
+
</nowiki>|}}<!--
 
   --><!--
 
   --><!--
 
   -->{{{outro|}}}<!--
 
   -->{{{outro|}}}<!--
Line 88: Line 88:
 
   --><!--
 
   --><!--
 
   --><!-- add description if necessary
 
   --><!-- add description if necessary
   -->{{#ifeq: {{{description|no}}}|yes|{{#show: {{{theory|}}}|?Description First Paragraph|link=none}} [[{{{theory|}}}|Read More]]<nowiki/>
+
   -->{{#ifeq: {{{description|no}}}|yes|{{#show: {{{theory|}}}|?Description First Paragraph|link=none}} [[{{{theory|}}}|Read More]]<nowiki>
  
|}}<!--
+
</nowiki>|}}<!--
 
   --><!--
 
   --><!--
 
   -->{{{outro|}}}<!--
 
   -->{{{outro|}}}<!--
 
-->}}<!-- switch
 
-->}}<!-- switch
 
--></includeonly>
 
--></includeonly>

Revision as of 01:32, 15 March 2018

This template is used to print the list of communities where the theory is currently accepted.

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

Parameters:

  • |theory= - the theory.
  • |intro= - initial text that precedes the output, if at least some results exist.
  • |outro= - text that is appended to the output, if at least some results exist.
  • |default= - if, for any reason, the query returns no results, this will be printed instead.
  • |link= - determines whether the values are to be printed as links to the respective pages (where available); possible values are none, subject, all. If not given all is the default.
  • |linktheory= - if yes the theory name will also be a link to the theory's page, if no (default) it will be a plain text. The yes option is useful when calling this template from a non-theory page to get a link to the theory page.
  • |communitiesfirst= - if yes, the communities will be mentioned first in the sentence. If no (default) the name of the theory will appear first.
  • |skiptheorytitle= - if yes the theory's title will be replaced by "It ", if no (default) the full pagename of the theory will be used. The yes option is useful when calling this template from a theory page to avoid mentioning the theory's title several times in a row. NOTE: This parameter is ignored if communitiesfirst=yes.
  • |formulationtext= - if yes, then the formulation of the theory is added to each record.
  • |formulationfile= - if yes, then the file with the formulaiton diagram is added to each record.
  • |description= - if yes, then the first paragraph of the description is added to each record.