Changes

Jump to navigation Jump to search
402 bytes added ,  00:36, 28 February 2023
no edit summary
<pre>
{{Topic
|Subject= //For first order questions, the subject must be a term registered in the encyclopedia. For higher order questions, the subject can be any lower level non-definitional theory question or theory. |Topic Type= {Descriptive, Normative} |Subfield= {Ontology, Dynamics, etc.} |Heritable= {Yes, No} |Inherited From= //the question that this question is inherited from |Question Text Formula= //For heritable questions only. |Question Title Formula= //For heritable questions only. |Question Title= //Ignored for heritable questions. |Question= //For non heritable questions only. For heritable questions, this is available to the editors only to use in cases when the text produced by the formula should be overridden. |Predicate= //Some text or a term registered in the encyclopedia |Object Type= {Boolean, Class, Enumeration, Regular Expression, Text} |Object Value True= //optional. Used only if Object Type=Boolean |Object Value False= //optional. Used only if Object Type=Boolean |Object Class= //optional. Used only if Object Type=Class |Object Enum Values= //optional. Used only if Object Type=Enumeration |Object Regexp= //optional. Used only if Object Type=Regexp |Single Answer Text Formula= |Multiple Answers Text Formula= |Answer Title Formula= |Description= |Authors List= |Formulated Year= |Academic Events= |Prehistory= |History= |Current View= |Parent Topic= //This will be deprecated. It will be calculated automatically in an agent-relative way following the current inheritance hierarchy of that agent. For now it is allowed as a backdoor so that it can be assigned manually. |Related Topics= //This will be deprecated. It will be calculated automatically in an agent-relative way following the current inheritance hierarchy of that agent. |Page Status= |Editor Notes=|Sorting Order=
}}
</pre>
-->Page Status={{{Page Status|Stub}}}|<!--
-->Editor Notes={{{Editor Notes|}}}|<!--
-->Sorting Order={{{Sorting Order|10000}}}|<!-- default is 10000
-->Parent Topic={{{Parent Topic|}}}|<!-- this allows for a backdoor to assign parent topics manually
-->Authors List={{{Authors List|}}}|<!--
-->|<!--
--><!-- the question is not given: calculate it from the formula
-->{{#vardefine: varQuestion|{{DecodeTextFormula|formula={{{Question Text Formula|}}}|subject={{{Subject|}}}|predicate={{{Predicate|}}}|object={{{Object Class}}}|link=yes}}}}<!--
-->}}<!-- if
--><!--
--><!--
--><!--
--><!-- set parent topic. Currently the parent topic and the ensuing hierarchy of Subsumed/Subsumes etc. is community agnostic. --><!-- TODO: moving forward we need to come up with a more intricate way of storing this such that each community can have its own hierarchy. --><!--
-->{{#if: {{{Inherited From|}}}<!--
-->|<!--
-->{{#vardefine: varTitleFormula| {{#show: {{{Inherited From|}}}|?Question Title Formula|link=none}} }}<!--
-->{{#vardefine: varPredicate| {{#show: {{{Inherited From|}}}|?Predicate|link=none}} }}<!--
-->{{#vardefine: varOnjectvarObject| {{#show: {{{Inherited From|}}}|?Object Class|link=none}} }}<!--
--><!--
--><!-- get the inherited topic's subject
-->{{#arrayprint: arrayIntersectTerms||varTerm<!--
-->|<!--
-->{{#vardefine: varTitle| {{DecodeTitleFormula|formula={{#var: varTitleFormula}}|subject=varTerm|predicate={{#var: varPredicate}}|object={{#var: varOnjectvarObject}}|}} }}<!--
--><!--
-->{{#set: Parent Topic={{#var: varTitle}}|}}<!--
-->}}<!-- arrayprint
--><!--
--><!-- also construct an array with links or red links to be displayed at the bottom
-->{{#arraydefine: arrayParentPageLinks<!--
-->|{{#arrayprint: arrayIntersectTerms||varTerm<!--
-->|<!--
-->{{#vardefine: varTitle| {{DecodeTitleFormula|formula={{#var: varTitleFormula}}|subject=varTerm|predicate={{#var: varPredicate}}|object={{#var: varObject}}|}} }}<!--
--><!--
--><!-- check if the page exists
-->{{#ifexist:{{#var: varTitle}}<!--
-->|<!-- exist: add the link to the page
-->[[{{#var: varTitle}}]]<!--
-->|<!-- doesn't exist: add the formlink
-->{{#formlink:form=Topic|link text={{#var: varTitle}}|target={{#var: varTitle}}|query string=Topic[Subject]=varTerm&Topic[Inherited From]={{{Inherited From|}}}|}}<!--
-->}}<!-- if exists
--><!--
-->}}<!-- arrayprint
-->| , |unique<!--
-->}}<!-- arraydefine
--><!--
-->|<!-- not inherited: still construct an empty array for the use below
-->{{#arraydefine: arrayParentPageLinks}}<!--
--><!--
-->}}<!-- if inherited from
--><!--
--><!--
--><!--
--><!-- set the authors
-->{{#arrayunique:topicsArray}}<!--
-->{{#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 Has Accepted Answer and Has No Accepted Answer
-->{{SetTopicHasAcceptedAnswerSetTopicCurrentAnswer|topic={{FULLPAGENAME}}|subfield={{{Subfield|Dynamics}}}|}}<!--
--><!--
--><!-- Calculate completion rates for each major property
-->{{#set: CR_Total={{#var:varCRtotal}} }}<!--
--><!--
--> <p>{{#var: varQuestion}}</p><!--  
-->{{PrintSectionVideos|page={{FULLPAGENAME}}|section=Description}}<!--
-->{{#if: {{{Description|}}}|<nowiki/>
-->{{#if: {{{Description|}}}|<p>{{{Description|}}} </p>}}<!--
--><p>{{PrintTopicSubtitle|topic={{FULLPAGENAME}}|}}&#32;<!---->{{PrintTopicCurrentlyAcceptedInCommunities|topic={{FULLPAGENAME}}|link=all|pretty=yes}}<!---->{{PrintTopicAcceptedTheoriesListPrintTopicAcceptedTheoriesFormulations<!-- -->|topic={{FULLPAGENAME}}<!-- -->|formulationtextlink=yes |formulationfile=no |bullets=no |linebreak=no |communitiesfirst=no |groupbycommunity=yes}}<!-- -->{{PrintTopicHasNoAcceptedAnswer|topic={{FULLPAGENAME}}|intro=&#32;At the moment, the question has no accepted answer in&#32;|outro=<nowiki>.</nowikip>|link=all|pretty=yes}}<!--
-->{{#if:{{{Prehistory|}}}|<nowiki/>
==Broader History==
-->
==Current View==
<!---->{{#if: {{{Current View|}}}|<p>{{{Current View|}}}<p>|}}<!-- --><!-- --><!-- print the answers--><!-- --><p>{{PrintTopicAcceptedTheoriesList<!-- -->|topic={{FULLPAGENAME}}<!-- -->|default=There is currently no accepted answer to this question.<!-- -->|formulationtext=yes |formulationfile=yes |description=yes |bullets=no |linebreakcommunitiesfirst=yes<!-- -->|communitiesfirstgroupbycommunity=yes}}<!-- -->{{#if: {{{Current View|}}}|<nowiki/p><br/!-- --><!-- --><nowiki/!-- print the answer details: description etc.--><!-- -->{{PrintTopicAcceptedTheoriesDetails|topic={{Current View|}FULLPAGENAME}}|}}<!---->
{{PrintTopicOpenQuestionsList
|topic={{FULLPAGENAME}}
==Related Topics==
<!-- construct the manual array
-->{{#arraydefineif: arrayManual|{{{Parent Topic|}}}| , |}}<!-- -->|<!----><!-- construct add to the array of links or redlinks -->{{#arraydefine: arrayParentPageLinks<!-- -->|{{#arrayprint: arrayIntersectTerms||varTerm<!-- -->|<!-- -->{{#vardefine: varTitle| {{DecodeTitleFormula|formula={{#var: varTitleFormula}}|subject=varTerm|predicate={{#var: varPredicate}}|object={{#var: varOnject}}|}} }}<!-- --><!-- --><!-- check if the page exists -->{{#ifexist:{{#var: varTitle}}<!-- -->arrayManual|<!-- exist: add the link to the page -->[[{{#var: varTitle}}]]<!-- -->|<!-- doesn't exist: add the formlink -->{{#formlink:form=Parent Topic|link text={{#var: varTitle}}|target={{#var: varTitle}}|query string=Topic[Subject]=varTerm&Topic[Inherited From]={{{Inherited From|}}}|}}<!-- -->}}<!-- if exists -->|<!--define an empty array -->{{#arraydefine: arrayManual}}<!-- arrayprint -->| , |unique<!---->}}<!-- arraydefine
--><!--
--><!-- create the union of the two manual and calculated arraysof parent topics-->{{#arrayunion: arrayUnionarrayMerged|arrayManual|arrayIntersectTermsarrayParentPageLinks}}<!--
--><!--
-->{{#switch: {{#arraysize: arrayUnionarrayMerged}}<!--
-->|0=<!-- nothing to do
-->|<!-- print
-->This question is a subquestion of&#32;<!--
-->{{#arrayprint: arrayUnionarrayMerged||varTerm@@@@|varTerm@@@@|print=pretty}}<!--
-->.<!--
-->}}<!--

Navigation menu