Open main menu

Changes

no edit summary
<noinclude>
This template is used to print a singular lowercase from form of each term in the termstring. If the respective page doesn't exist, the basic <code><nowiki>{{lc: </nowiki>''stringterm''<nowiki>}}</nowiki></code> is usedfor each term in the string.
'''NOTE:''' As any "printing" template, it doesn't store any values anywhere, but merely prints them on the page.
'''Parameters:'''
* <code><nowiki>''string''</nowikicode> - the term or terms (comma separated).* <code>''link''</code> - if given, links will be printed. Ignored if there is no such page in the termencyclopedia.
</noinclude><includeonly><!--
-->{{#if: {{{1|}}}<!--
-->|<!--
--><!-- convert to an array in case there are multiple values -->{{#arraydefine: arrayTerms|{{{1|}}}|,|unique}}<!-- -->{{#arrayprint: arrayTerms||varTerm<!-- -->|<!-- --><!-- check if the page exists -->{{#if: {{IfObjectExists|object=varTerm|}}<!-- -->|<!-- -->{{#if: {{{12|}}}<!-- -->|[[varTerm|{{#show: varTerm|?Singular Lowercase|link=none}}]]<!-- -->|{{#show: {{{1}}}varTerm|?Singular Lowercase|link=none}}<!-- -->}}<!-- if link --><!-- -->|{{lc: {{{1}varTerm}}<!-- -->}}<!-- if exists --><!-- -->|print=pretty<!-- -->}}<!-- if exists arrayprint
--><!--
-->|<!-- nothing to return
-->}}<!-- if
--></includeonly>