Difference between revisions of "Template:Definitional Topic"

From Encyclopedia of Scientonomy
Jump to navigation Jump to search
 
(30 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.
 
 
 
In addition, it creates the following multivalued properties (lists):
 
* <code><nowiki>Parent Topic</nowiki></code> - The list of immediate parent terms (no grandparents).
 
* <code><nowiki>Child Topic</nowiki></code> - The list of immediate child terms (no grandchildren).
 
 
 
'''NOTE:''' this inheritance hierarchy is created irrespective of the agent who accepts the class as a subtype/supertype of another class. Such an agent-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 agent-relative ontology of the term, stored in subobjects of <code><nowiki>SubObjectCategory=Topic Current Ontology</nowiki></code> with <code><nowiki>Ontological Question Type={Subtypes, 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 34: 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}}|<!--
 +
-->Question={{{Question|}}}|<!--
 +
-->Order=0|<!--
 +
-->Formulated Year={{{Formulated Year|}}}|<!--
 +
-->Page Status={{{Page Status|Stub}}}|<!--
 +
-->Editor Notes={{{Editor Notes|}}}|<!--
 +
-->Authors List={{{Authors List|}}}|<!--
 +
-->Metaclass={{{Metaclass|Endurant}}}|<!--
 +
-->Sorting Order={{{Sorting Order|10000}}}|<!-- default is 10000
 +
-->Topic Type=Definitional|<!--
 +
-->}}<!--
 
--><!--
 
--><!--
 
--><!-- set word forms
 
--><!-- set word forms
Line 80: 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 97: 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
 
--><!-- set the inheritance hierarchy
--><!--
 
 
-->{{SetTermInheritanceHierarchy|term={{FULLPAGENAME}}}}<!--
 
-->{{SetTermInheritanceHierarchy|term={{FULLPAGENAME}}}}<!--
 
--><!--
 
--><!--
Line 123: 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 192: Line 181:
 
-->
 
-->
 
==Current Definition==
 
==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 214: 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 227: 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 240: 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 253: 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 266: 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 282: 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.