Difference between revisions of "Template:PrintTheoryCurrentlyAcceptedInCommunities"

From Encyclopedia of Scientonomy
Jump to navigation Jump to search
(Created page with "<noinclude> 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 value...")
 
Line 24: Line 24:
 
-->}}<!--
 
-->}}<!--
 
--><!--
 
--><!--
-->{{#if: {{{pretty|}}}<!--
+
-->{{#if: {{#arraysize: values}}<!--
-->|{{#arrayprint: values||@@@@|@@@@|print=pretty}}<!--
+
-->|{{{theory|}}} is currently accepted by the following community(ies):<!--
-->|{{#arrayprint: values|,&#32;|@@@@|@@@@}}<!--
+
  -->{{#if: {{{pretty|}}}<!--
 +
  -->|{{#arrayprint: values||@@@@|@@@@|print=pretty}}<!--
 +
  -->|{{#arrayprint: values|,&#32;|@@@@|@@@@}}<!--
 +
  -->}}<!--
 
-->}}<!--
 
-->}}<!--
 
--></includeonly>
 
--></includeonly>

Revision as of 21:53, 18 August 2016

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.
  • |link= - determines whether the values are to be printer as links to the respective pages (where available); possible values are none, subject, all. If not given all is the default.
  • |pretty= - if non empty, a pretty list is produced where the last two elements are chained with an and (or the local languages equivalent).