Difference between revisions of "Template:PrintTheoryCurrentlyAcceptedInCommunities"

From Encyclopedia of Scientonomy
Jump to navigation Jump to search
Line 6: Line 6:
 
'''Parameters:'''
 
'''Parameters:'''
 
* <code><nowiki>|theory=</nowiki></code> - the theory.
 
* <code><nowiki>|theory=</nowiki></code> - the theory.
 +
* <code><nowiki>|intro=</nowiki></code> - if the results need to have a preceding text, write it here.
 
* <code><nowiki>|link=</nowiki></code> - 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.
 
* <code><nowiki>|link=</nowiki></code> - 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.
 
* <code><nowiki>|pretty=</nowiki></code> - if non empty, a ''pretty'' list is produced where the last two elements are chained with an ''and'' (or the local languages equivalent).
 
* <code><nowiki>|pretty=</nowiki></code> - if non empty, a ''pretty'' list is produced where the last two elements are chained with an ''and'' (or the local languages equivalent).
Line 25: Line 26:
 
--><!--
 
--><!--
 
-->{{#if: {{#arraysize: values}}<!--
 
-->{{#if: {{#arraysize: values}}<!--
  -->|{{{theory|}}} is currently accepted by the following community(ies):<!--
+
  -->|{{intro|}}<!--
 
   -->{{#if: {{{pretty|}}}<!--
 
   -->{{#if: {{{pretty|}}}<!--
 
   -->|{{#arrayprint: values||@@@@|@@@@|print=pretty}}<!--
 
   -->|{{#arrayprint: values||@@@@|@@@@|print=pretty}}<!--

Revision as of 21:56, 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.
  • |intro= - if the results need to have a preceding text, write it here.
  • |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).