Difference between revisions of "Template:Definitional Topic"

From Encyclopedia of Scientonomy
Jump to navigation Jump to search
 
(37 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
This is the template for Definitional topics. This template is to be used for all terms (topics, the answers to which are definitions). It incorporates an ontology section where the ontology related to the term is summarized.  
 
This is the template for Definitional topics. This template is to be used for all terms (topics, the answers to which are definitions). It incorporates an ontology section where the ontology related to the term is summarized.  
  
Among other things, the template creates a hierarchy of classes and adds the following properties for ease of access:  
+
Among other things, the template creates a hierarchy of classes and adds several lists by means of [[Template:SetTermInheritanceHierarchy]].
* <code><nowiki>Subsumed items</nowiki></code> - includes the page itself as well as all of its subclasses, the subclasses of subclasses etc. This is similar to MediWiki's notion of Category where a category includes all of its subcategories as well as itself.
 
* <code><nowiki>Descendant items</nowiki></code> - includes the page's subclasses, the subclasses of subclasses etc., but not itself. This data can be used to check if a given class is a subtype (sub, subtype, etc.) of another class but not itself.
 
* <code><nowiki>Ancestor items</nowiki></code> - includes the page's superclasses, the superclasses of superclasses etc., but not itself.
 
 
 
NOTE: this inheritance hierarchy is created irrespective of the community where a class is accepted as a subtype/supertype of another class. Such a community-agnostic hierarchy is required when adding new theories that select their answer from a list of subtypes, or adding inherited questions.
 
 
 
'''IMPORTANT:''' It is not to be conflated with the actual ontology of the term, stored in subobjects of <code><nowiki>SubObjectCategory=Topic Current Ontology</nowiki></code> with <code><nowiki>Ontological Question Type={Supertypes, Supertypes}</nowiki></code>.
 
  
 
It should be called in the following format:
 
It should be called in the following format:
 
<pre>
 
<pre>
 
{{Definitional Topic
 
{{Definitional Topic
 +
|Metaclass= {Association, Endurant, Perdurant (State/Interval or Event/Time Point), Property/Attribute/Quality} - the list will be clarified. Endurant is the default.
 +
|Association Theory= //the association that this term captures (e.g. Authority Delegation is a term that captures an association between two communities). Used only when Metaclass=Association
 
|Singular Capitalized=
 
|Singular Capitalized=
 
|Singular Lowercase=
 
|Singular Lowercase=
Line 30: Line 25:
 
|Page Status=
 
|Page Status=
 
|Editor Notes=
 
|Editor Notes=
 +
|Sorting Order=
 
}}
 
}}
 
</pre>
 
</pre>
 
Edit the page to see the template text.
 
Edit the page to see the template text.
 
</noinclude><includeonly><!--
 
</noinclude><includeonly><!--
-->{{#set:Title={{PAGENAME}}|Question={{{Question|}}}|Order=1|Formulated Year={{{Formulated Year|}}}|Page Status={{{Page Status|Stub}}}|Editor Notes={{{Editor Notes|}}}|Authors List={{{Authors List|}}}|Topic Type=Definitional|}}<!--
+
-->{{#set:<!--
--><!--
+
  -->Title={{PAGENAME}}|<!--
--><!-- set the parents  
+
  -->Question={{{Question|}}}|<!--
-->{{#arraydefine:varParentsArray<!--
+
-->Order=0|<!--
  -->|{{#ask:<!--
+
-->Formulated Year={{{Formulated Year|}}}|<!--
  -->[[SubObjectCategory::Topic Current Ontology]]<!--
+
  -->Page Status={{{Page Status|Stub}}}|<!--
  -->[[Ontological Question Type::Supertypes]]<!--
+
-->Editor Notes={{{Editor Notes|}}}|<!--
  -->[[Term::{{FULLPAGENAME}}]]<!--
+
-->Authors List={{{Authors List|}}}|<!--
  -->|?Supertypes<!--
+
-->Metaclass={{{Metaclass|Endurant}}}|<!--
  -->|format=list<!--
+
-->Sorting Order={{{Sorting Order|10000}}}|<!-- default is 10000
  -->|mainlabel=-<!--
+
-->Topic Type=Definitional|<!--
  -->|headers=hide<!--
+
-->}}<!--
  -->|link=none<!--
 
  -->}}<!-- ask
 
  -->| , |unique<!--
 
-->}}<!-- arraydefine
 
-->{{#arrayunique:varParentsArray}}<!--
 
-->{{#arrayprint:varParentsArray||@@@@|{{#set:Parent Topic={{FULLPAGENAME:@@@@}}|}}|}}<!--  
 
--><!--
 
--><!-- set the inheritance hierarchy
 
-->{{#set:Subsumes items={{FULLPAGENAME}}}}<!--
 
-->{{#arraydefine:varChildrenArray|{{#ask: [[-Subsumes items::<q>[[Parent Topic::{{FULLPAGENAME}}]]</q>]]|headers=hide|link=none}}|,|}}<!--
 
-->{{#arrayunique:varChildrenArray}}<!--
 
-->{{#arrayprint:varChildrenArray||@@@@|{{#set:Subsumes items=@@@@|Descendant items=@@@@}}|}}<!--  
 
--><!--
 
--><!-- have to do it again to include the subsumed elements of the subsumed elements
 
-->{{#arraydefine:varSubsumeArray|{{#ask: [[-Subsumes items::<q>[[Parent Topic::{{FULLPAGENAME}}]]</q>]]|headers=hide|link=none}}|,|}}<!--
 
-->{{#arrayunique:varSubsumeArray}}<!--
 
-->{{#arrayprint:varSubsumeArray||@@@@|{{#set:Subsumes items=@@@@|Descendant items=@@@@}}|}}<!--  
 
 
--><!--
 
--><!--
 
--><!-- set word forms
 
--><!-- set word forms
Line 104: Line 83:
 
-->{{#arrayunique:topicsArray}}<!--
 
-->{{#arrayunique:topicsArray}}<!--
 
-->{{#arrayprint:topicsArray||@@@@|{{#set:Has Related Topic=@@@@}}|}}<!--  
 
-->{{#arrayprint:topicsArray||@@@@|{{#set:Has Related Topic=@@@@}}|}}<!--  
--><!--
 
--><!-- set the related theories
 
-->{{#arraydefine:theoriesArray|{{{Related Theories|}}}|,|}}<!--
 
-->{{#arrayunique:theoriesArray}}<!--
 
-->{{#arrayprint:theoriesArray||@@@@|{{#set:Has Related Theory=@@@@}}|}}<!--
 
 
--><!--  
 
--><!--  
 
--><!-- set the academic events  
 
--><!-- set the academic events  
Line 121: Line 95:
 
--><!--  
 
--><!--  
 
--><!-- set Has Accepted Answer and Has No Accepted Answer  
 
--><!-- set Has Accepted Answer and Has No Accepted Answer  
-->{{SetTopicHasAcceptedAnswer|topic={{FULLPAGENAME}}|subfield=Taxonomy}}<!--  
+
-->{{SetTopicCurrentAnswer|topic={{FULLPAGENAME}}|subfield=Taxonomy|}}<!--  
 
--><!--  
 
--><!--  
 +
--><!-- set the inheritance hierarchy
 +
-->{{SetTermInheritanceHierarchy|term={{FULLPAGENAME}}}}<!--
 +
--><!--
 
--><!-- Calculate completion rates for each major property
 
--><!-- Calculate completion rates for each major property
 
--><!--  
 
--><!--  
Line 143: Line 120:
 
-->{{#set: CR_Total={{#var:varCRtotal}} }}<!--  
 
-->{{#set: CR_Total={{#var:varCRtotal}} }}<!--  
 
--><!--
 
--><!--
-->  
+
--><p>{{{Question|}}}</p><!--  
{{{Question|}}}<!--  
+
 
 
-->{{PrintSectionVideos|page={{FULLPAGENAME}}|section=Description}}<!--
 
-->{{PrintSectionVideos|page={{FULLPAGENAME}}|section=Description}}<!--
-->{{#if: {{{Description|}}}|<nowiki/>
 
  
{{{Description|}}}  
+
-->{{#if: {{{Description|}}}|<p>{{{Description|}}}</p>}}<!-- if
}}<!-- if
+
 
-->
+
--><p>{{PrintTopicSubtitle|topic={{FULLPAGENAME}}|}}&#32;<!--
 +
-->{{PrintTopicCurrentlyAcceptedInCommunities|topic={{FULLPAGENAME}}|link=all|pretty=yes}}</p><!--
 +
-->{{PrintTopicAcceptedTheoriesFormulations<!--
 +
-->|topic={{FULLPAGENAME}}<!--
 +
-->|link=yes<!--   
 +
-->}}</p><!--
  
{{PrintTopicSubtitle|topic={{FULLPAGENAME}}|}}
 
{{PrintTopicCurrentlyAcceptedInCommunities|topic={{FULLPAGENAME}}|link=all|pretty=yes}}<!--
 
-->{{PrintTopicAcceptedTheoriesList
 
|topic={{FULLPAGENAME}}
 
|formulationtext=yes
 
|formulationfile=no
 
|bullets=no
 
|linebreak=no
 
|communitiesfirst=no
 
|groupbycommunity=yes
 
}}<!--
 
-->{{PrintTopicHasNoAcceptedAnswer|topic={{FULLPAGENAME}}|intro=&#32;At the moment, the term has no accepted definition in&#32;|outro=<nowiki>.</nowiki>|link=all|pretty=yes}}<!--
 
 
-->{{#if:{{{Prehistory|}}}|<nowiki/>
 
-->{{#if:{{{Prehistory|}}}|<nowiki/>
 
==Broader History==
 
==Broader History==
Line 211: Line 180:
 
--></div><!--
 
--></div><!--
 
-->
 
-->
==Current View==
+
==Current Definition==
+
<!--
{{PrintTopicAcceptedTheoriesList
+
-->{{#if: {{{Current View|}}}|<p>{{{Current View|}}}<p>|}}<!--
  |topic={{FULLPAGENAME}}
+
--><!--
  |default=There is currently no accepted definition of the term.
+
--><!-- print the answers
  |formulationtext=yes
+
--><!--
|formulationfile=yes
+
--><p>{{PrintTopicAcceptedTheoriesList<!--
|description=yes
+
  -->|topic={{FULLPAGENAME}}<!--
|bullets=no
+
  -->|default=There is currently no accepted answer to this question.<!--
|linebreak=yes
+
  -->|communitiesfirst=yes<!--
  |communitiesfirst=yes
+
  -->|groupbycommunity=yes<!--
}}<!--  
+
-->}}</p>
-->{{#if: {{{Current View|}}}|<nowiki/><br/>
+
<!--
<nowiki/>
+
--><!--
{{{Current View|}}}|}}
+
--><!-- print the answer details: description etc.
 +
--><!--
 +
-->{{PrintTopicAcceptedTheoriesDetails|topic={{FULLPAGENAME}}|}}<!--
 +
-->
 
==Ontology==  
 
==Ontology==  
  
Line 234: Line 206:
 
{{PrintTermAcceptedExistenceList
 
{{PrintTermAcceptedExistenceList
 
  |term={{FULLPAGENAME}}
 
  |term={{FULLPAGENAME}}
  |default=There is currently no accepted view concerning the existence of {{FULLPAGENAME}}.
+
  |default=There is currently no accepted view concerning the existence of {{PrintTermPluralLowercase|{{FULLPAGENAME}}|}}.
 
  |bullets=no
 
  |bullets=no
 
  |linebreak=yes
 
  |linebreak=yes
Line 247: Line 219:
 
{{PrintTermAcceptedDisjointnessList
 
{{PrintTermAcceptedDisjointnessList
 
  |term={{FULLPAGENAME}}
 
  |term={{FULLPAGENAME}}
  |default=No classes are currently accepted as being disjoint with {{FULLPAGENAME}}.
+
  |default=No classes are currently accepted as being disjoint with this class.
 
  |bullets=yes
 
  |bullets=yes
 
  |linebreak=yes
 
  |linebreak=yes
Line 260: Line 232:
 
{{PrintTermAcceptedSubtypesList
 
{{PrintTermAcceptedSubtypesList
 
  |term={{FULLPAGENAME}}
 
  |term={{FULLPAGENAME}}
  |default=No classes are currently accepted as subtypes of {{FULLPAGENAME}}.
+
  |default=No classes are currently accepted as subtypes of {{PrintTermAnASingularLowercase|{{FULLPAGENAME}}|}}.
 
  |bullets=yes
 
  |bullets=yes
 
  |linebreak=yes
 
  |linebreak=yes
Line 273: Line 245:
 
{{PrintTermAcceptedSupertypesList
 
{{PrintTermAcceptedSupertypesList
 
  |term={{FULLPAGENAME}}
 
  |term={{FULLPAGENAME}}
  |default=No classes are currently accepted as supertypes of {{FULLPAGENAME}}.
+
  |default=No classes are currently accepted as supertypes of {{PrintTermAnASingularLowercase|{{FULLPAGENAME}}|}}.
 
  |bullets=yes
 
  |bullets=yes
 
  |linebreak=yes
 
  |linebreak=yes
Line 286: Line 258:
 
{{PrintTermAcceptedAssociationsList
 
{{PrintTermAcceptedAssociationsList
 
  |term={{FULLPAGENAME}}
 
  |term={{FULLPAGENAME}}
  |default=No associations of {{FULLPAGENAME}} are currently accepted.
+
  |default=No associations of {{PrintTermAnASingularLowercase|{{FULLPAGENAME}}|}} are currently accepted.
 
  |bullets=yes
 
  |bullets=yes
 
  |linebreak=yes
 
  |linebreak=yes
 
  |communitiesfirst=yes
 
  |communitiesfirst=yes
 
}}
 
}}
 +
<!--
 +
--><!-- Print the Inherited questions first
 +
--><!--
 +
-->{{PrintTermInheritedQuestionsHeaders|term={{FULLPAGENAME}}|subfield=Ontology|link=all}}<!--
 +
--><!--
 +
--><!-- Other ontological questions
 +
-->{{PrintTermCustomQuestionsHeaders|term={{FULLPAGENAME}}|subfield=Ontology}}<!--
 +
-->
 +
 +
 +
If a question concerning the ontology of {{PrintTermAnASingularLowercase|{{FULLPAGENAME}}|}} is missing, please {{#formlink:form=Topic|link text=add it here|query string=Topic[Subject]={{FULLPAGENAME}}&Topic[Subfield]=Ontology&Topic[Topic Type]=Descriptive|}}.
 +
 +
==Dynamics==
 +
<!--
 +
--><!-- Print the Inherited questions first
 +
--><!--
 +
-->{{PrintTermInheritedQuestionsHeaders|term={{FULLPAGENAME}}|subfield=Dynamics|link=all}}<!--
 +
--><!--
 +
--><!-- Now print the custom question
 +
--><!--
 +
-->{{PrintTermCustomQuestionsHeaders|term={{FULLPAGENAME}}|subfield=Dynamics}}<!--
 +
-->
  
 +
 +
If a question concerning the dynamics of {{PrintTermAnASingularLowercase|{{FULLPAGENAME}}|}} is missing, please {{#formlink:form=Topic|link text=add it here|query string=Topic[Subject]={{FULLPAGENAME}}&Topic[Subfield]=Dynamics&Topic[Topic Type]=Descriptive|}}.
 
<!--  
 
<!--  
 
--><!-- Open Questions
 
--><!-- Open Questions
Line 302: Line 298:
 
  |bullets=yes
 
  |bullets=yes
 
}}
 
}}
==Related Topics==
+
 
 
{{PrintRelatedTopics
 
{{PrintRelatedTopics
 
  |object={{FULLPAGENAME}}  
 
  |object={{FULLPAGENAME}}  
  |intro= This term is also related to the following topic(s):<br/>
+
  |intro===Related Topics==
 +
This term is also related to the following topic(s):<br/>
 
  |link=all
 
  |link=all
 
  |bullets=yes
 
  |bullets=yes

Latest revision as of 00:36, 28 February 2023

This is the template for Definitional topics. This template is to be used for all terms (topics, the answers to which are definitions). It incorporates an ontology section where the ontology related to the term is summarized.

Among other things, the template creates a hierarchy of classes and adds several lists by means of Template:SetTermInheritanceHierarchy.

It should be called in the following format:

{{Definitional Topic
|Metaclass= {Association, Endurant, Perdurant (State/Interval or Event/Time Point), Property/Attribute/Quality} - the list will be clarified. Endurant is the default.
|Association Theory= //the association that this term captures (e.g. Authority Delegation is a term that captures an association between two communities). Used only when Metaclass=Association
|Singular Capitalized=
|Singular Lowercase=
|Plural Capitalized=
|Plural Lowercase=
|Indefinite Article=
|Question=
|Description=
|Authors List=
|Formulated Year=
|Academic Events=
|Prehistory=
|History=
|Current View=
|Related Topics=
|Page Status=
|Editor Notes=
|Sorting Order=
}}

Edit the page to see the template text.