Difference between revisions of "Form:Definition"

From Encyclopedia of Scientonomy
Jump to navigation Jump to search
Line 12: Line 12:
 
  -->|{{#vardefine: varTopicGiven|no}}<!-- topic is not given: set the flag
 
  -->|{{#vardefine: varTopicGiven|no}}<!-- topic is not given: set the flag
 
-->}}<!--
 
-->}}<!--
 +
--><!--
 +
--><!-- get the readonly properties
 +
--><!--
 +
-->{{#vardefine: varFormulatedYear|{{#show:{{FULLPAGENAME}}|?Formulated Year|link=none}}|}}<!--
 +
-->{{#vardefine: varAuthorsList|{{#show:{{FULLPAGENAME}}|?Authors List|link=none}}|}}<!--
 +
--><!--
 
-->
 
-->
 
{| class="formtable"
 
{| class="formtable"
Line 21: Line 27:
 
  -->|{{{field|Topic|input type=combobox|existing values only|values from category=Definitional Topic|mandatory}}} <!--
 
  -->|{{{field|Topic|input type=combobox|existing values only|values from category=Definitional Topic|mandatory}}} <!--
 
-->}}
 
-->}}
 +
|-
 +
! 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>
 +
|<!--
 +
-->{{#if: {{#var: varAuthorsList}}<!--
 +
-->|{{PrintArray|printarray={{#var:varAuthorsList|}}|pretty=yes}}<!--
 +
  -->{{{field|Authors List|hidden|default={{#var:varAuthorsList|}}|}}}<!--
 +
-->|{{{field|Authors List|input type=tokens|existing values only|values from category=Author|mandatory}}}  {{#formlink:form=Author|link text=Add a New Author|popup}}<!--
 +
-->}}<!-- if
 +
-->
 +
|-
 +
! Year of Formulation: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">When was this definition first given?</p>
 +
|<!--
 +
-->{{#if: {{#var: varFormulatedYear}}<!--
 +
-->|{{#var: varFormulatedYear}}<!--
 +
  -->{{{field|Formulated Year|hidden|default={{#var:varFormulatedYear|}}|}}}<!--
 +
-->|{{{field|Formulated Year|input type=regexp|regexp=/^\d{4}$/|size=4|message=The year field can accept only integers and must be 4 digits in length!|mandatory|default={{CURRENTYEAR}}|}}}<!--
 +
-->}}<!-- if
 +
-->
 
|-
 
|-
 
! Definition Text: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">Give the exact definition of the term here. IMPORTANT: Please avoid any wiki markup here, such as references, or wiki links.</p>
 
! Definition Text: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">Give the exact definition of the term here. IMPORTANT: Please avoid any wiki markup here, such as references, or wiki links.</p>
Line 27: Line 51:
 
! Definition File: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">Often definitions need to appear in a standard box with a title and text. Select or upload the image for this definition.</p>
 
! Definition File: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">Often definitions need to appear in a standard box with a title and text. Select or upload the image for this definition.</p>
 
| {{{field|Formulation File|input type=text with autocomplete|existing values only|values from namespace=File|uploadable|property=Formulation File}}}
 
| {{{field|Formulation File|input type=text with autocomplete|existing values only|values from namespace=File|uploadable|property=Formulation File}}}
|-
+
 
! 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>
 
| {{{field|Authors List|input type=tokens|existing values only|values from category=Author|mandatory}}}  {{#formlink:form=Author|link text=Add a New Author|popup}}
 
|-
 
! Year of Formulation: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">When was this definition first given?</p>
 
| {{{field|Formulated Year|input type=regexp|regexp=/^\d{4}$/|size=4|message=The year field can accept only integers and must be 4 digits in length!|mandatory|default={{CURRENTYEAR}}|}}}
 
 
|-
 
|-
 
! Description: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">Provide a detailed description of this definition here. NOTE: The '''first paragraph''' of this description will also appear on any other page that cites this theory, so please ensure that the first paragraph contains a succinct exposition of the definition.</p>
 
! Description: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">Provide a detailed description of this definition here. NOTE: The '''first paragraph''' of this description will also appear on any other page that cites this theory, so please ensure that the first paragraph contains a succinct exposition of the definition.</p>

Revision as of 22:29, 22 December 2022

This is the "Definition" form. It is used to create new entries for individual definitions of terms.