Difference between revisions of "Form:Definition"

From Encyclopedia of Scientonomy
Jump to navigation Jump to search
 
(7 intermediate revisions by the same user not shown)
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:Theory[Topic]|}}}}|}}<!--
+
-->{{#vardefine: varTopic|{{#urldecode:{{#urlget:Topic|}}}}|}}<!--
 
-->{{#if: {{IfObjectExists|category=Topic|object={{#var: varTopic}}|}}<!--
 
-->{{#if: {{IfObjectExists|category=Topic|object={{#var: varTopic}}|}}<!--
  -->|{{#vardefine: varTopicGiven|yes}}<!-- topic is given: set the flag
+
  -->|<!-- topic is given: set the flag
  -->|{{#vardefine: varTopicGiven|no}}<!-- topic is not given: set the flag
+
  -->|{{#vardefine: varTopic|{{#show:{{FULLPAGENAME}}|?Topic|link=none}}|}}<!-- topic is not given: get the current value
 
-->}}<!--
 
-->}}<!--
 +
--><!--
 +
--><!-- get the readonly properties
 +
--><!--
 +
-->{{#vardefine: varFormulatedYear|{{#show:{{FULLPAGENAME}}|?Formulated Year|link=none}}|}}<!--
 +
-->{{#vardefine: varAuthorsList|{{#show:{{FULLPAGENAME}}|?Authors List|link=none}}|}}<!--
 +
--><!--
 
-->
 
-->
 
{| class="formtable"
 
{| class="formtable"
! 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>
| {{{field|Theory Type|hidden|default=Definition|}}}<!--
+
|width="70%"| {{#var:varTopic|}} {{{field|Topic|hidden|default={{#var:varTopic|}}|}}} {{{field|Theory Type|hidden|default=Definition|}}}
-->{{#ifeq: {{#var: varTopicGiven}}|yes<!--
+
|-
  -->|{{#var:varTopic|}}<!--
+
! 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|Topic|hidden|default={{#var:varTopic|}}|}}}<!--
+
|<!--
  -->|{{{field|Topic|input type=combobox|existing values only|values from category=Definitional Topic|mandatory}}} <!--
+
-->{{#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 46:
 
! 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}}}
 
|-
 
! Formulated Year: <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>
Line 40: Line 53:
 
| {{{field|Resource|input type=combobox|existing values only|values from category=Bibliographic Record|mandatory}}}
 
| {{{field|Resource|input type=combobox|existing values only|values from category=Bibliographic Record|mandatory}}}
 
|-
 
|-
! Prehistory: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">Optional. Use only if this definition somehow owes to the classic philosophy of science. Otherwise leave empty.</p>
+
! Broader History: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">Optional. Use only if this definition somehow owes to discussions outside of the scientonomic tradition. Otherwise leave empty.</p>
| {{{field|Prehistory|input type=textarea|rows=15|editor=wikieditor|}}}
+
| {{{field|Prehistory|input type=textarea|rows=8|editor=wikieditor|}}}
 
|-
 
|-
! History: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">Optional. Use only if this definition is strongly related to previous scientonomic definitions. NOTE: Do not list what definitions this definition came to replace as that will be done automatically by the system.</p>
+
! Scientonomic History: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">Optional. Use only if this definition is strongly related to previous scientonomic definitions. NOTE: Do not list what definitions this definition came to replace as that will be done automatically by the encyclopedia.</p>
 
| {{{field|History|input type=textarea|rows=10|editor=wikieditor|}}}
 
| {{{field|History|input type=textarea|rows=10|editor=wikieditor|}}}
 
<!--
 
<!--
Line 71: Line 84:
 
! Section to Embed: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">The section of the page where the video should be embedded.</p>
 
! Section to Embed: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">The section of the page where the video should be embedded.</p>
 
| {{{field|VideoEmbedSection|input type=dropdown|mandatory|values=Description,History,Prehistory|default=Description}}}
 
| {{{field|VideoEmbedSection|input type=dropdown|mandatory|values=Description,History,Prehistory|default=Description}}}
 +
|}
 +
{{{end template}}}
 +
 +
{{{for template|Theory Example|label=Example|multiple}}}
 +
{| class="formtable"
 +
!width="30%"| Title: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">Enter a short title for this example. The title will be used as a sub-header when presenting the historical examples.</p>
 +
|width="70%"| {{{field|Title|input type=text|mandatory}}}
 +
|-
 +
! Description: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">Provide a detailed description of the example here.</p>
 +
| {{{field|Description|input type=textarea|rows=15|editor=wikieditor|mandatory}}}
 +
|-
 +
! Example Type: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">Is this an actual historical example, a hypothetical example, or a hybrid example?</p>
 +
| {{{field|Example Type|input type=dropdown|mandatory|values=Historical,Hypothetical,Hybrid|default=Historical}}}
 
|}
 
|}
 
{{{end template}}}
 
{{{end template}}}

Latest revision as of 18:55, 3 February 2023

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