Difference between revisions of "Template:Theory"
Jump to navigation
Jump to search
Line 33: | Line 33: | ||
-->}}<!-- switch | -->}}<!-- switch | ||
--><!-- | --><!-- | ||
− | --><!-- | + | --><!-- retrieve the order from the topic |
-->{{#vardefine: varOrder|{{#show: {{{Topic}}}|?Order}}|}}<!-- | -->{{#vardefine: varOrder|{{#show: {{{Topic}}}|?Order}}|}}<!-- | ||
+ | --><!-- if empty, assign 1 by default | ||
+ | -->{{#if: {{#var:varOrder}}||{{#vardefine: varOrder|1}}}}<!-- | ||
+ | --><!-- save the order | ||
-->{{#set:Order={{#var:varOrder}}|}}<!-- | -->{{#set:Order={{#var:varOrder}}|}}<!-- | ||
--><!-- | --><!-- | ||
− | |||
− | |||
--><!-- set the authors | --><!-- set the authors | ||
-->{{#arraydefine:authorsArray|{{{Authors List|}}}|,|}}<!-- | -->{{#arraydefine:authorsArray|{{{Authors List|}}}|,|}}<!-- |
Revision as of 15:13, 21 October 2022
This is the "Theory" template. This template is to be used for all individual theories, including definitions, descriptive propositions, and normative propositions. It is currently used by Form:Definition, Form:Descriptive Theory, and Form:Normative Theory.
It should be called in the following format:
{{Theory |Theory Type= |Topic= |Title= //omitted for definitions; equals to Topic |Alternative Titles= |Formulation Text= |Description= |Formulated Year= |Authors List= |Resource= |Formulation File= |Prehistory= |History= |Page Status= |Editor Notes= }}
Edit the page to see the template text.