Difference between revisions of "Template:PrintModificationDetails"

From Encyclopedia of Scientonomy
Jump to navigation Jump to search
Line 9: Line 9:
 
</noinclude>
 
</noinclude>
 
<includeonly>The modification was suggested by <!--
 
<includeonly>The modification was suggested by <!--
-->{{#arraydefine:authorsArray |{{#show: {{{modification|}}}|?Authors}}|}}<!--
+
-->{{#arraydefine:authorsArray |{{#ask: {{{modification|}}}|?Authors|mainlabel=-}}|}}<!--
 
-->{{#arrayunique:authorsArray}}<!-- remove duplicates and empty values
 
-->{{#arrayunique:authorsArray}}<!-- remove duplicates and empty values
 
-->{{#arrayprint:authorsArray |,&#32;|@@@@|[[@@@@]]|print=pretty}}<!--
 
-->{{#arrayprint:authorsArray |,&#32;|@@@@|[[@@@@]]|print=pretty}}<!--
 
--> in {{#show: {{{modification|}}}|?Year Suggested}}.[[CiteRef::{{#show: {{{modification|}}}|?Resource}}]]</includeonly>
 
--> in {{#show: {{{modification|}}}|?Year Suggested}}.[[CiteRef::{{#show: {{{modification|}}}|?Resource}}]]</includeonly>

Revision as of 14:58, 16 August 2016

This template is used to format the sentence that the modification was suggested by such-and-such author in year such-and-such.

NOTE: As any "printing" template, it doesn't store any values anywhere, but merely prints them on the page.

Parameters:

  • |modification= - the fullpagename of the modification to be printed.