Difference between revisions of "Template:Author"

From Encyclopedia of Scientonomy
Jump to navigation Jump to search
(5 intermediate revisions by the same user not shown)
Line 61: Line 61:
 
| lastname  = {{{Last Name|}}}
 
| lastname  = {{{Last Name|}}}
 
}}--><!--
 
}}--><!--
 +
--><!--
 +
--><!-- get the name which will be used to address the author
 +
-->{{#if: {{{Last Name|}}}<!--
 +
-->|{{#vardefine: varName|{{{Last Name|}}}|}}<!-- if the last name is given, the name is last name
 +
-->|{{#vardefine: varName|{{{First Name|}}}|}}<!-- if it's not given, sort by first name
 +
-->}}<!--if
 +
--><!--
 
-->
 
-->
 
{{PrintAuthorFirstSentence|author={{FULLPAGENAME}}|}}{{{Summary|}}}
 
{{PrintAuthorFirstSentence|author={{FULLPAGENAME}}|}}{{{Summary|}}}
 
{{#if: {{{Historical Context|}}}|== Historical Context ==
 
{{#if: {{{Historical Context|}}}|== Historical Context ==
 +
{{PrintSectionVideos|page={{FULLPAGENAME}}|section=Historical Context}}
 
{{{Historical Context|}}} }}
 
{{{Historical Context|}}} }}
 
{{#if: {{{Major Contributions|}}}|== Major Contributions ==
 
{{#if: {{{Major Contributions|}}}|== Major Contributions ==
 +
{{PrintSectionVideos|page={{FULLPAGENAME}}|section=Major Contributions}}
 
{{{Major Contributions|}}} }}
 
{{{Major Contributions|}}} }}
 
{{#if: {{{Criticism|}}}|== Criticism ==
 
{{#if: {{{Criticism|}}}|== Criticism ==
 +
{{PrintSectionVideos|page={{FULLPAGENAME}}|section=Criticism}}
 
{{{Criticism|}}} }}<!--
 
{{{Criticism|}}} }}<!--
 
-->{{PrintAuthorModifications
 
-->{{PrintAuthorModifications
Line 73: Line 83:
 
|intro=<nowiki/>
 
|intro=<nowiki/>
 
==Suggested Modifications==
 
==Suggested Modifications==
Here are all the modifications suggested by {{{Last Name|}}}:  
+
Here are all the modifications suggested by {{#var:varName}}:  
 
}}{{PrintAuthorTheories
 
}}{{PrintAuthorTheories
 
  |author={{FULLPAGENAME}}  
 
  |author={{FULLPAGENAME}}  
 
  |intro=<nowiki/>
 
  |intro=<nowiki/>
 
==Theories==
 
==Theories==
The following table contains all the theories formulated by {{{Last Name|}}}:
+
The following table contains all the theories formulated by {{#var:varName}}:
 
  |link=all
 
  |link=all
 
}}{{PrintAuthorQuestions
 
}}{{PrintAuthorQuestions
Line 84: Line 94:
 
  |intro=<nowiki/>
 
  |intro=<nowiki/>
 
==Questions==
 
==Questions==
Here are all the questions formulated by {{{Last Name|}}}:
+
Here are all the questions formulated by {{#var:varName}}:
 
  |link=all
 
  |link=all
 
}}
 
}}
Line 90: Line 100:
 
{{PrintAuthorBibliographyList
 
{{PrintAuthorBibliographyList
 
  |author={{FULLPAGENAME}}
 
  |author={{FULLPAGENAME}}
  |intro=Here are the works of {{{Last Name|}}} included in the [[Bibliography|bibliographic records]] of this encyclopedia:
+
  |intro=Here are the works of {{#var:varName}} included in the [[Bibliography|bibliographic records]] of this encyclopedia:
 
  |default=There are no bibliographic records for this author.
 
  |default=There are no bibliographic records for this author.
 
}}
 
}}
<div class="mw-collapsible mw-collapsed">
+
<div class="mw-collapsible mw-collapsed" data-expandtext="Add" data-collapsetext="Cancel">
 
To add a bibliographic record by this author, enter the citation key below:
 
To add a bibliographic record by this author, enter the citation key below:
  
{{#forminput:form=Bibliographic Record|autocomplete on category=Bibliographic Record|returnto={{FULLPAGENAME}}|query string=Bibliographic_Record[Author]={{FULLPAGENAME}}|}}
+
{{#forminput:form=Bibliographic Record|default value={{#var:varName}} (YEAR)|autocomplete on category=Bibliographic Record|returnto={{FULLPAGENAME}}|query string=Bibliographic_Record[Author]={{FULLPAGENAME}}|}}
<p class="sfFieldDescription" style="font-size:0.8em; color:gray;">Citation keys normally include author names followed by the publication year in brackets. E.g. Lakatos (1970), Einstein, Podolsky, Rosen (1935), Musgrave and Pigden (2016), Kuhn (1970a), Lakatos and Musgrave (Eds.) (1970). If a record with that citation key already exists, you will be sent to a form to edit that page.</p></div><!--
+
<p class="sfFieldDescription" style="font-size:0.8em; color:gray;">Citation keys normally include author names followed by the publication year in brackets. E.g. Aristotle (1984), Einstein, Podolsky, Rosen (1935), Musgrave and Pigden (2016), Kuhn (1970a), Lakatos and Musgrave (Eds.) (1970). If a record with that citation key already exists, you will be sent to a form to edit that page.</p></div><!--
 
-->{{PrintRelatedTopics
 
-->{{PrintRelatedTopics
 
  |object={{FULLPAGENAME}}  
 
  |object={{FULLPAGENAME}}  
Line 111: Line 121:
 
  |Stub=[[Category:Stub Author Pages]]
 
  |Stub=[[Category:Stub Author Pages]]
 
}}
 
}}
{{DEFAULTSORT: {{{Last Name|}}}, {{{First Name|}}} }}
+
{{#if: {{{Last Name|}}}<!--
 +
-->|{{DEFAULTSORT: {{{Last Name|}}}, {{{First Name|}}} }}<!-- if the last name is given, sort by last name
 +
-->|{{DEFAULTSORT: {{{First Name|}}} }}<!-- if it's not given, sort by first name
 +
-->}}<!--if
 +
-->
 
[[Category:Author]]
 
[[Category:Author]]
 
__NOEDITSECTION__
 
__NOEDITSECTION__
 
__NOCACHE__
 
__NOCACHE__
 
</includeonly>
 
</includeonly>

Revision as of 02:02, 15 March 2018

This is the "Author" template. It should be called in the following format:

{{Author
|First Name=
|Last Name=
|DOB=
|DOD=
|Brief=
|Summary=
|Historical Context=
|Major Contributions=
|Criticism=
|Related Topics=
|Page Status=
}}

Edit the page to see the template text.