Difference between revisions of "Form:Definition"
Jump to navigation
Jump to search
Line 7: | Line 7: | ||
{{{for template|Theory}}} | {{{for template|Theory}}} | ||
<!-- get the topic name from the URL | <!-- get the topic name from the URL | ||
− | -->{{#vardefine: varTopic|{{#urldecode:{{#urlget: | + | -->{{#vardefine: varTopic|{{#urldecode:{{#urlget:Topic|}}}}|}}<!-- |
-->{{#if: {{IfObjectExists|category=Topic|object={{#var: varTopic}}|}}<!-- | -->{{#if: {{IfObjectExists|category=Topic|object={{#var: varTopic}}|}}<!-- | ||
− | -->| | + | -->|<!-- topic is given: set the flag |
− | -->|{{#vardefine: | + | -->|{{#vardefine: varTopic|{{#show:{{FULLPAGENAME}}|?Topic|link=none}}|}}<!-- topic is not given: get the current value |
-->}}<!-- | -->}}<!-- | ||
--><!-- | --><!-- | ||
Line 21: | Line 21: | ||
{| class="formtable" | {| class="formtable" | ||
!width="30%"| Term Defined: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">What term is this a definition of? If the term is not in the list, please first add it in the Definitional Topic category.</p> | !width="30%"| Term Defined: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">What term is this a definition of? If the term is not in the list, please first add it in the Definitional Topic category.</p> | ||
− | |width="70%" | + | |width="70%"| {{#var:varTopic|}} {{{field|Topic|hidden|default={{#var:varTopic|}}|}}} {{{field|Theory Type|hidden|default=Definition|}}}<!-- |
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
! Author(s): <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">Who are the authors of this definition? If the author is not in the list, please first add the author in Author category.</p> | ! Author(s): <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">Who are the authors of this definition? If the author is not in the list, please first add the author in Author category.</p> |
Revision as of 22:37, 22 December 2022
This is the "Definition" form. It is used to create new entries for individual definitions of terms.