Difference between revisions of "Template:PrintAuthorFirstSentence"

From Encyclopedia of Scientonomy
Jump to navigation Jump to search
(Created page with "<noinclude> 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...")
 
 
(4 intermediate revisions by the same user not shown)
Line 12: Line 12:
 
  --><!--
 
  --><!--
 
  --><!-- add DOB and DOD
 
  --><!-- add DOB and DOD
  -->{{#if: {{#show: {{{author|}}}|?DOB|link=none}}
+
  -->{{#if: {{#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
Line 29: Line 29:
 
  -->{{#if: {{#show: {{{author|}}}|?Brief|link=none}}<!--
 
  -->{{#if: {{#show: {{{author|}}}|?Brief|link=none}}<!--
 
   -->|&#32;<!--
 
   -->|&#32;<!--
   -->{{#if: {{#show: {{{author|}}}|?DOD|link=none}}|was|is}}&#32;{{#show: {{{author|}}}|?Brief|link=none}}.&#32;<!--  
+
   -->{{#if: {{#show: {{{author|}}}|?DOD|link=none}}|was|is}}&#32;<!--
 +
  -->{{#show: {{{author|}}}|?Brief|link=none}}.&#32;<!--  
 
   -->|.&#32;<!--
 
   -->|.&#32;<!--
 
  -->}}<!-- if Brief
 
  -->}}<!-- if Brief
 
-->}}<!-- if
 
-->}}<!-- if
 
--></includeonly>
 
--></includeonly>

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.