Difference between revisions of "Template:PrintTheoryCurrentlyAcceptedInCommunities"
Jump to navigation
Jump to search
Line 24: | Line 24: | ||
-->| , |unique<!-- | -->| , |unique<!-- | ||
-->}}<!-- | -->}}<!-- | ||
− | -->{{# | + | -->{{#switch: {{#arraysize: values}}<!-- |
+ | -->|0=<!-- empty string if no values were found | ||
-->|{{{intro|}}}<!-- | -->|{{{intro|}}}<!-- | ||
-->{{#if: {{{pretty|}}}<!-- | -->{{#if: {{{pretty|}}}<!-- | ||
-->|{{#arrayprint: values||@@@@|@@@@|print=pretty}}<!-- | -->|{{#arrayprint: values||@@@@|@@@@|print=pretty}}<!-- | ||
-->|{{#arrayprint: values|, |@@@@|@@@@}}<!-- | -->|{{#arrayprint: values|, |@@@@|@@@@}}<!-- | ||
− | -->}}<!-- | + | -->}}.<!-- |
-->}}<!-- | -->}}<!-- | ||
--></includeonly> | --></includeonly> |
Revision as of 22:35, 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).