Difference between revisions of "Template:PrintTopicSubtitle"
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 | + | -->This question was first formulated<!-- |
--><!-- add the author if given | --><!-- add the author if given | ||
-->{{#if:{{{authors|}}}|<!-- | -->{{#if:{{{authors|}}}|<!-- | ||
− | --> | + | --> by <!-- |
-->{{#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|}}}| | + | -->{{#if:{{{year formulated|}}}| in {{{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.