Difference between revisions of "Template:PrintTheoryCurrentlyAcceptedInCommunities"

From Encyclopedia of Scientonomy
Jump to navigation Jump to search
Line 15: Line 15:
 
   -->[[SubObjectCategory::Acceptance Record]]<!--  
 
   -->[[SubObjectCategory::Acceptance Record]]<!--  
 
   -->[[Theory::{{{theory|}}}]]<!--  
 
   -->[[Theory::{{{theory|}}}]]<!--  
   -->[[Accepted Until::2015]]<!--  
+
   -->[[Accepted Until::present]]<!--  
 
   -->|?Accepted by Community<!--
 
   -->|?Accepted by Community<!--
 
   -->|mainlabel=-<!--
 
   -->|mainlabel=-<!--
 
   -->|headers=hide<!--
 
   -->|headers=hide<!--
   -->|link=none<!--
+
   -->|link={{link|}}<!--
 
   -->|limit=10000<!--
 
   -->|limit=10000<!--
 
   -->}}<!--
 
   -->}}<!--
  -->|, |unique<!--
+
  -->| , |unique<!--
 
-->}}<!--
 
-->}}<!--
-->{{#arrayunique: values}}<!-- remove duplicates and empty values
+
-->{{#if: {{#arraysize: values}}<!--
-->{{#arraysize: values}}<!--
+
-->|{{{intro|}}}<!--
 
   -->{{#if: {{{pretty|}}}<!--
 
   -->{{#if: {{{pretty|}}}<!--
 
   -->|{{#arrayprint: values||@@@@|@@@@|print=pretty}}<!--
 
   -->|{{#arrayprint: values||@@@@|@@@@|print=pretty}}<!--
 
   -->|{{#arrayprint: values|,&#32;|@@@@|@@@@}}<!--
 
   -->|{{#arrayprint: values|,&#32;|@@@@|@@@@}}<!--
 
   -->}}<!--
 
   -->}}<!--
 +
-->}}<!--
 
--></includeonly>
 
--></includeonly>

Revision as of 22:29, 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).