Difference between revisions of "Template:PrintAuthorFirstSentence"

From Encyclopedia of Scientonomy
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 13: Line 13:
 
  --><!-- add DOB and DOD
 
  --><!-- add DOB and DOD
 
  -->{{#if: {{#show: {{{author|}}}|?DOB|link=none}}<!--
 
  -->{{#if: {{#show: {{{author|}}}|?DOB|link=none}}<!--
   -->|{{#show: {{{author|}}}|?DOB|link=none}}<!--if DOB is given
+
   -->|<!--if DOB is given
   -->{{#if: {{#show: {{{author|}}}|?DOD|link=none}}|<!--
+
   -->{{#if: {{#show: {{{author|}}}|?DOD|link=none}}<!--
 
     -->|({{#show: {{{author|}}}|?DOB|link=none}} – {{#show: {{{author|}}}|?DOD|link=none}})<!-- print DOB and DOD
 
     -->|({{#show: {{{author|}}}|?DOB|link=none}} – {{#show: {{{author|}}}|?DOD|link=none}})<!-- print DOB and DOD
 
     -->|(born {{#show: {{{author|}}}|?DOB|link=none}})<!-- print DOB only
 
     -->|(born {{#show: {{{author|}}}|?DOB|link=none}})<!-- print DOB only

Latest revision as of 16:05, 14 April 2017

Use this template to print the first sentence of the author's page. This includes the full name of the author, dates of birth and death of the author, followed by the brief.

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

Parameters:

  • |author= - the author's full name.