Difference between revisions of "Template:PrintTheoryCurrentlyAcceptedInCommunities"
Jump to navigation
Jump to search
Line 15: | Line 15: | ||
-->[[SubObjectCategory::Acceptance Record]]<!-- | -->[[SubObjectCategory::Acceptance Record]]<!-- | ||
-->[[Theory::{{{theory|}}}]]<!-- | -->[[Theory::{{{theory|}}}]]<!-- | ||
− | -->[[Accepted Until:: | + | -->[[Accepted Until::]]<!-- |
-->|?Accepted by Community<!-- | -->|?Accepted by Community<!-- | ||
-->|mainlabel=-<!-- | -->|mainlabel=-<!-- | ||
Line 24: | Line 24: | ||
-->| , |unique<!-- | -->| , |unique<!-- | ||
-->}}<!-- | -->}}<!-- | ||
+ | -->{{#arrayunique: values}}<!-- remove duplicates and empty values | ||
-->{{#arraysize: values}}<!-- | -->{{#arraysize: values}}<!-- | ||
-->{{#if: {{{pretty|}}}<!-- | -->{{#if: {{{pretty|}}}<!-- |
Revision as of 22:10, 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).