Difference between revisions of "Form:Definition"

From Encyclopedia of Scientonomy
Jump to navigation Jump to search
 
(18 intermediate revisions by the same user not shown)
Line 6: Line 6:
 
<div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div>
 
<div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div>
 
{{{for template|Theory}}}
 
{{{for template|Theory}}}
 +
<!-- get the topic name from the URL
 +
-->{{#vardefine: varTopic|{{#urldecode:{{#urlget:Topic|}}}}|}}<!--
 +
-->{{#if: {{IfObjectExists|category=Topic|object={{#var: varTopic}}|}}<!--
 +
-->|<!-- topic is 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|Topic|input type=combobox|existing values only|values from category=Definitional Topic|mandatory}}} {{{field|Topic Type|hidden|default=Definitional|}}}
+
|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>
 +
|<!--
 +
-->{{#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 16: Line 47:
 
| {{{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>
+
! 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>
| {{{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.</p>
 
 
| {{{field|Description|input type=textarea|rows=15|editor=wikieditor|mandatory}}}
 
| {{{field|Description|input type=textarea|rows=15|editor=wikieditor|mandatory}}}
 
|-
 
|-
 
! Source: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">Where was this definition first formulated?</p>
 
! Source: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">Where was this definition first formulated?</p>
| {{{field|Resource|input type=combobox|values from property=Citation key|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|}}}
 +
<!--
 +
--><!-- only editors can see or modify the page status
 +
-->{{#ifingroup: editor|
 +
{{!}}-
 +
! Page Status: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">Indicate whether the article is approved by an editor, whether it requires further editing, or whether it is a stub.</p>
 +
{{!}} {{{field|Page Status|input type=dropdown|mandatory|values=Editor Approved, Needs Editing, Stub|default=Stub}}}
 +
{{!}}-
 +
! Editor Notes: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">Please indicate what sort of information is missing from the page, what needs to be added, edited, changed, improved, etc.</p>
 +
{{!}} {{{field|Editor Notes|input type=textarea|rows=3}}}<!--
 +
-->}}
 +
|}
 +
{{{end template}}}
 +
 +
{{{for template|YouTube Video|label=YouTube Video|multiple}}}
 +
{| class="formtable"
 +
!width="30%"|Video ID: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">The ID of the YouTube video. E.g. if the video URL is https://www.youtube.com/watch?v=A22oy8dFjqc, then the video ID is '''A22oy8dFjqc'''.</p>
 +
|width="70%"| {{{field|VideoID|input type=text|size=20|maxlength=20|mandatory}}}
 +
|-
 +
! Start at: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">If the video should not start at the beginning, indicate the start time of the video in ''seconds''. If empty, the video will start at the beginning.</p>
 +
| {{{field|VideoStartAt|input type=regexp|size=10|regexp=/^\d*$/|message=Please enter integers only!}}}
 +
|-
 +
! Video Description: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">this description will appear under the embedded video.</p>
 +
| {{{field|VideoDescription|input type=textarea|rows=2}}}
 +
|-
 +
! 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}}}
 +
|}
 +
{{{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}}}
Line 42: Line 106:
 
|-
 
|-
 
! Accepted From: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">NOTE: If this is an approximate date, please indicate so.</p>
 
! Accepted From: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">NOTE: If this is an approximate date, please indicate so.</p>
| {{FormDateField|property=Accepted From|mandatory=yes|dataprecision=Day|showera=yes|showapproximate=yes|showmonthdayfields=yes}}
+
| {{FormDateField|property=Accepted From|mandatory=yes|dataprecision=Day|showera=yes|showapproximate=yes|showmonthdayfields=yes|adddefault=yes}}
 
|-
 
|-
 
! Indicators of Acceptance: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">What kind of historical data makes us believe that the definition was in fact accepted by the community at that time? Please list all the relevant indicators together with the appropriate citations here.</p>
 
! Indicators of Acceptance: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">What kind of historical data makes us believe that the definition was in fact accepted by the community at that time? Please list all the relevant indicators together with the appropriate citations here.</p>
Line 53: Line 117:
 
{| class="formtable"
 
{| class="formtable"
 
!width="30%"| Accepted Until: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">NOTE: If this is an approximate date, please indicate so.</p>
 
!width="30%"| Accepted Until: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">NOTE: If this is an approximate date, please indicate so.</p>
|width="70%"| {{FormDateField|property=Accepted Until|mandatory=yes|dataprecision=Day|showera=yes|showapproximate=yes|showmonthdayfields=yes}}
+
|width="70%"| {{FormDateField|property=Accepted Until|mandatory=yes|dataprecision=Day|showera=yes|showapproximate=yes|showmonthdayfields=yes|adddefault=yes}}
 
|-
 
|-
 
! Indicators of Rejection: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">What kind of historical data shows that the definition was rejected by the community around that time? Please list all the relevant indicators together with the appropriate citations here.</p>
 
! Indicators of Rejection: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">What kind of historical data shows that the definition was rejected by the community around that time? Please list all the relevant indicators together with the appropriate citations here.</p>

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.