Difference between revisions of "Template:Theory"
Jump to navigation
Jump to search
Line 7: | Line 7: | ||
|Topic= | |Topic= | ||
|Theory Type= {Definition, Descriptive, Normative} | |Theory Type= {Definition, Descriptive, Normative} | ||
− | |||
− | |||
|Title= //ignored for Definitions. Equals to Topic. | |Title= //ignored for Definitions. Equals to Topic. | ||
|Alternative Titles= | |Alternative Titles= | ||
|Title Formula= //Taken from the Topic's Answer Title Formula. If need to be manually modified, it can be done here. | |Title Formula= //Taken from the Topic's Answer Title Formula. If need to be manually modified, it can be done here. | ||
|Text Formula= //Taken from the Topic's Single Answer Text Formula. If need to be manually modified, it can be done here. | |Text Formula= //Taken from the Topic's Single Answer Text Formula. If need to be manually modified, it can be done here. | ||
− | |Object= //Will be used to construct the | + | |Object= //Will be used to construct the formulation text. |
|Formulation Text= //This is left as a backdoor: use this if the formulation needs to be manually tweaked. | |Formulation Text= //This is left as a backdoor: use this if the formulation needs to be manually tweaked. | ||
|Description= | |Description= | ||
Line 81: | Line 79: | ||
-->{{#vardefine: varTheoryType|definition}}<!-- | -->{{#vardefine: varTheoryType|definition}}<!-- | ||
-->|<!-- | -->|<!-- | ||
− | -->{{#set:Title={{DecodeTitleFormula|title={{{Title|}}}|formula={{{Title Formula|}}}|subject={{ | + | -->{{#set:Title={{DecodeTitleFormula|title={{{Title|}}}|formula={{{Title Formula|}}}|subject={{#var: varSubject}}|predicate={{#var: varPredicate}}|object={{{Object|}}}|}}|}}<!-- |
-->{{#vardefine: varTheoryType|theory}}<!-- | -->{{#vardefine: varTheoryType|theory}}<!-- | ||
-->}}<!-- switch | -->}}<!-- switch |
Revision as of 21:50, 27 February 2023
This is the "Theory" template. This template is to be used for all theories (descriptive, normative, and definitions). It is currently used by Form:Theory.
It should be called in the following format:
{{Theory |Topic= |Theory Type= {Definition, Descriptive, Normative} |Title= //ignored for Definitions. Equals to Topic. |Alternative Titles= |Title Formula= //Taken from the Topic's Answer Title Formula. If need to be manually modified, it can be done here. |Text Formula= //Taken from the Topic's Single Answer Text Formula. If need to be manually modified, it can be done here. |Object= //Will be used to construct the formulation text. |Formulation Text= //This is left as a backdoor: use this if the formulation needs to be manually tweaked. |Description= |Formulated Year= |Authors List= |Resource= |Formulation File= |Prehistory= |History= |Page Status= |Editor Notes= }}
Edit the page to see the template text.