Difference between revisions of "Template:Topic"
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
<pre> | <pre> | ||
{{Topic | {{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. | + | |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} | + | |Topic Type= {Descriptive, Normative} |
− | |Subfield= {Ontology, Dynamics, etc.} | + | |Subfield= {Ontology, Dynamics, etc.} |
− | |Question Text Formula= //For heritable questions only. | + | |Heritable= {Yes, No} |
− | |Question Title Formula= //For heritable questions only. | + | |Question Text Formula= //For heritable questions only. |
− | |Question Title= //Ignored for heritable questions. | + | |Question Title Formula= //For heritable questions only. |
− | |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. | + | |Question Title= //Ignored for heritable questions. |
− | |Predicate Type= {Text, Term} | + | |Question= //For non heritable questions only. For heritable questions, this is available to the editors only to use in cases when the |
− | |Predicate= | + | text produced by the formula should be overridden. |
− | |Object Type= {Boolean, Class, Enumeration, Regular Expression, Text} | + | |Predicate Type= {Text, Term} |
− | |Object Value True= //optional. Used only if Object Type=Boolean | + | |Predicate= |
− | |Object Value False= //optional. Used only if Object Type=Boolean | + | |Object Type= {Boolean, Class, Enumeration, Regular Expression, Text} |
− | |Object Class= //optional. Used only if Object Type=Class | + | |Object Value True= //optional. Used only if Object Type=Boolean |
− | |Object Enum Values= //optional. Used only if Object Type=Enumeration | + | |Object Value False= //optional. Used only if Object Type=Boolean |
− | |Object Regexp= //optional. Used only if Object Type=Regexp | + | |Object Class= //optional. Used only if Object Type=Class |
− | |Single Answer Text Formula= | + | |Object Enum Values= //optional. Used only if Object Type=Enumeration |
− | |Multiple Answers Text Formula= | + | |Object Regexp= //optional. Used only if Object Type=Regexp |
− | |Answer Title Formula= | + | |Single Answer Text Formula= |
− | |Order= //This will be deprecated. The question's order will be calculated from the Subject. If the subject is a term registered in the encyclopedia, then the question is first order. Otherwise, the question's order will be equal to subject's order + 1. | + | |Multiple Answers Text Formula= |
− | |Lower Order Elements= //This will be deprecated. It will be calculated automatically from the subject, object, and predicate. | + | |Answer Title Formula= |
− | |Parent Topic= //This will be deprecated. It will be calculated automatically in an agent-relative way following the current inheritance hierarchy of that agent. | + | |Order= //This will be deprecated. The question's order will be calculated from the Subject. If the subject is a term registered in the encyclopedia, then the question is first order. Otherwise, the question's order will be equal to subject's order + 1. |
− | |Description= | + | |Lower Order Elements= //This will be deprecated. It will be calculated automatically from the subject, object, and predicate. |
− | |Authors List= | + | |Parent Topic= //This will be deprecated. It will be calculated automatically in an agent-relative way following the current inheritance hierarchy of that agent. |
− | |Formulated Year= | + | |Description= |
− | |Academic Events= | + | |Authors List= |
− | |Prehistory= | + | |Formulated Year= |
− | |History= | + | |Academic Events= |
− | |Current View= | + | |Prehistory= |
− | |Related Topics= | + | |History= |
− | |Page Status= | + | |Current View= |
− | |Editor Notes= | + | |Related Topics= |
+ | |Page Status= | ||
+ | |Editor Notes= | ||
}} | }} | ||
</pre> | </pre> | ||
Line 76: | Line 78: | ||
-->|<!-- | -->|<!-- | ||
--><!-- the question is not given: calculate it from the formula | --><!-- the question is not given: calculate it from the formula | ||
− | -->{{#vardefine: varQuestion|{{DecodeTextFormula|formula={{{Question Text Formula|}}}|subject={{{Subject|}}}|predicate={{{Predicate|}}}|}}}}<!-- | + | -->{{#vardefine: varQuestion|{{DecodeTextFormula|formula={{{Question Text Formula|}}}|subject={{{Subject|}}}|predicate={{{Predicate|}}}|object={{{Object Class}}}|}}}}<!-- |
-->}}<!-- if | -->}}<!-- if | ||
--><!-- | --><!-- |
Revision as of 19:58, 14 January 2023
This is the template for all types of Non-Definitional Topics (Descriptive, Normative). This template is to be used for all topics/questions the answers to which are descriptions or prescriptions (it is used by Form:Topic).
It should be called in the following format:
{{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} |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 Type= {Text, Term} |Predicate= |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= |Order= //This will be deprecated. The question's order will be calculated from the Subject. If the subject is a term registered in the encyclopedia, then the question is first order. Otherwise, the question's order will be equal to subject's order + 1. |Lower Order Elements= //This will be deprecated. It will be calculated automatically from the subject, object, and predicate. |Parent Topic= //This will be deprecated. It will be calculated automatically in an agent-relative way following the current inheritance hierarchy of that agent. |Description= |Authors List= |Formulated Year= |Academic Events= |Prehistory= |History= |Current View= |Related Topics= |Page Status= |Editor Notes= }}
Edit the page to see the template text.