Difference between revisions of "Template:Ontological Topic"

From Encyclopedia of Scientonomy
Jump to navigation Jump to search
Line 8: Line 8:
 
|Ontological Question Type=
 
|Ontological Question Type=
 
|Description=
 
|Description=
|Authors List=
 
|Formulated Year=
 
|Academic Events=
 
 
|Prehistory=
 
|Prehistory=
 
|History=
 
|History=
Line 21: Line 18:
 
Edit the page to see the template text.
 
Edit the page to see the template text.
 
</noinclude><includeonly><!--
 
</noinclude><includeonly><!--
-->{{#set:Term={{{Term|}}}|Ontological Question Type={{{Ontological Question Type|}}}|Formulated Year={{{Formulated Year|}}}|Page Status={{{Page Status|Stub}}}|Editor Notes={{{Editor Notes|}}}|Authors List={{{Authors List|}}}|Topic Type=Descriptive|Order=1|}}<!--
+
-->{{#set:Term={{{Term|}}}|Ontological Question Type={{{Ontological Question Type|}}}|Page Status={{{Page Status|Stub}}}|Editor Notes={{{Editor Notes|}}}|Topic Type=Descriptive|Order=1|}}<!--
 
--><!--
 
--><!--
 
--><!-- construct the question
 
--><!-- construct the question
Line 32: Line 29:
 
--><!-- now save the question
 
--><!-- now save the question
 
-->{{#set:Question={{#var:varQuestion}}|}}<!--
 
-->{{#set:Question={{#var:varQuestion}}|}}<!--
 +
--><!--
 +
--><!-- get the formulated year the authors and from the term page and sync
 +
-->{{#vardefine: varFormulatedYear|{{#show:{{{Term|}}}|?Formulated Year|link=none}}|}}<!--
 +
-->{{#vardefine: varAuthorsList|{{#show:{{{Term|}}}|?Authors List|link=none}}|}}<!--
 +
-->{{#set:Authors List={{#var:varAuthorsList}}|Formulated Year={{#var:varFormulatedYear}}|}}<!--
 
--><!--
 
--><!--
 
--><!-- set the authors
 
--><!-- set the authors
-->{{#arraydefine:authorsArray|{{{Authors List|}}}|,|}}<!--
+
-->{{#arraydefine:authorsArray|{{#var:varAuthorsList}}|,|}}<!--
 
-->{{#arrayunique:authorsArray}}<!--
 
-->{{#arrayunique:authorsArray}}<!--
 
-->{{#arrayprint:authorsArray||@@@@|{{#set:Has Author=@@@@}}|}}<!--
 
-->{{#arrayprint:authorsArray||@@@@|{{#set:Has Author=@@@@}}|}}<!--
Line 60: Line 62:
 
--><!-- set Has Accepted Answer and Has No Accepted Answer  
 
--><!-- set Has Accepted Answer and Has No Accepted Answer  
 
-->{{SetTopicHasAcceptedAnswer|topic={{FULLPAGENAME}}|}}<!--  
 
-->{{SetTopicHasAcceptedAnswer|topic={{FULLPAGENAME}}|}}<!--  
 +
--><!--
 +
--><!-- sync the acceptance records with that of the term
 +
-->{{SyncAcceptanceRecords|source={{{Term|}}}|target={{FULLPAGENAME}}|}}<!--
 +
--><!--
 
--><!--  
 
--><!--  
 
--><!-- Calculate completion rates for each major property
 
--><!-- Calculate completion rates for each major property

Revision as of 16:32, 21 December 2022

This is the template for all types of Topics - Definitional, Descriptive, or Normative. This template is to be used for all topics/questions the answers to which are definitions, descriptions, or prescriptions (it is used by Form:Topic).

It should be called in the following format:

{{Ontological Topic
|Term=
|Ontological Question Type=
|Description=
|Prehistory=
|History=
|Current View=
|Related Topics=
|Page Status=
|Editor Notes=
}}

Edit the page to see the template text.