Difference between revisions of "Template:PrintTopicSubtitle"

From Encyclopedia of Scientonomy
Jump to navigation Jump to search
Line 10: Line 10:
 
</noinclude><includeonly><!--
 
</noinclude><includeonly><!--
 
-->{{#if:{{{authors|}}}{{{year formulated|}}}|<!--
 
-->{{#if:{{{authors|}}}{{{year formulated|}}}|<!--
  -->This question was first formulated in the scientonomic context<!--
+
  -->This question was first formulated<!--
 
  --><!-- add the author if given
 
  --><!-- add the author if given
 
  -->{{#if:{{{authors|}}}|<!--
 
  -->{{#if:{{{authors|}}}|<!--
   --><nowiki> </nowiki>by<nowiki> </nowiki><!--
+
   -->&#32;by&#32;<!--
 
   -->{{#arraydefine:authorsArray|{{{authors|}}} }}<!--
 
   -->{{#arraydefine:authorsArray|{{{authors|}}} }}<!--
 
   -->{{#arrayunique:authorsArray}}<!--
 
   -->{{#arrayunique:authorsArray}}<!--
Line 19: Line 19:
 
  -->}}<!--
 
  -->}}<!--
 
  --><!--add year formulated if given
 
  --><!--add year formulated if given
  -->{{#if:{{{year formulated|}}}|<nowiki> </nowiki>in {{{year formulated|}}}.|.}}<!--
+
  -->{{#if:{{{year formulated|}}}|&#32;in&#32;{{{year formulated|}}}.|.}}<!--
 
-->|}}</includeonly>
 
-->|}}</includeonly>

Revision as of 23:47, 29 August 2016

This template is used to print the sentence indicating the authors of a question and the year it was first formulated.

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

Parameters:

  • |authors= - a comma separated list of the authors of the modification .
  • |year formulated= - the year when the question was formulated.