Difference between revisions of "Template:PrintTheoryTitleAuthorYearResource"

From Encyclopedia of Scientonomy
Jump to navigation Jump to search
(Created page with "<noinclude> This template is used to format the sentence that this formulation was suggested by such-and-such author in year such-and-such. It also adds a link to the bibliogr...")
 
Line 17: Line 17:
 
--><!--
 
--><!--
 
-->{{#switch: {{#var: varCount}}<!--
 
-->{{#switch: {{#var: varCount}}<!--
  -->|1={{#var: varTitle}} was formulated by <!--
+
  -->|1={{#var: varTitle}} was formulated by&#32;<!--
  -->|This version of {{#var: varTitle}} was formulated by <!--
+
  -->|This version of {{#var: varTitle}} was formulated by&#32;<!--
 
-->}}<!-- switch varCount
 
-->}}<!-- switch varCount
 
--><!--
 
--><!--
 
-->{{PrintTheoryAuthors|theory={{{theory|}}}|links=yes|pretty=yes}}<!--
 
-->{{PrintTheoryAuthors|theory={{{theory|}}}|links=yes|pretty=yes}}<!--
 
--> in {{#show: {{{theory|}}}|?Year Formulated|link=none}}.{{#if: {{#show: {{{theory|}}}|?Resource|link=none}}|[[CiteRef::{{#show: {{{theory|}}}|?Resource|link=none}}]]|}}</includeonly>
 
--> in {{#show: {{{theory|}}}|?Year Formulated|link=none}}.{{#if: {{#show: {{{theory|}}}|?Resource|link=none}}|[[CiteRef::{{#show: {{{theory|}}}|?Resource|link=none}}]]|}}</includeonly>

Revision as of 19:23, 17 August 2016

This template is used to format the sentence that this formulation was suggested by such-and-such author in year such-and-such. It also adds a link to the bibliographic resource, if any. It also checks to see if there are any other theories with the same title; if there are several theories with the same title, the text will say "This version of the theory was formulated by...".

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

Parameters:

  • |theory= - the fullpagename of the theory.