Difference between revisions of "Form:Definition"

From Encyclopedia of Scientonomy
Jump to navigation Jump to search
(Created page with "<noinclude> This is the "Defintion" form. It is used to create new entries for individual definitions of terms. To create a page with this form, enter the page name below; i...")
 
 
(38 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
This is the "Defintion" form. It is used to create new entries for individual definitions of terms.  
+
This is the "Definition" form. It is used to create new entries for individual definitions of terms.  
 
 
To create a page with this form, enter the page name below; if a page with that name already exists, you will be sent to a form to edit that page.
 
 
 
{{#formlink:form=Definition|link text=Add a New Definition|link type=button}}
 
  
 
</noinclude><includeonly>
 
</noinclude><includeonly>
{{{info|page name=<Definition[Term Defined]> (<Definition[Year Formulated])|create title=Add a New Definition|edit title=Edit}}}
+
{{{info|page name=<Theory[Topic]>&#32;({{PrintAuthorsArrayLastName|authors=<Theory[Authors List]>|delimiter=-}}-<Theory[Formulated Year]>)|create title=Add a New Definition|edit title=Edit}}}
 
<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|Definition}}}
+
{{{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|Term Defined|input type=combobox|existing values only|values from category=Definitional Topic|mandatory}}}
+
|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>
| {{{field|Author|input type=tokens|existing values only|values from category=Author|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
 +
-->
 
|-
 
|-
! Formulated Year: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">When was this definition first given?</p>
+
! Year of Formulation: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">When was this definition first given?</p>
| {{{field|Year Formulated|input type=year|default={{CURRENTYEAR}}|mandatory}}}
+
|<!--
 +
-->{{#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>
| {{{field|Definition Text|input type=textarea|mandatory}}}
+
| {{{field|Formulation Text|input type=textarea|mandatory}}}
 +
|-
 +
! 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}}}
 +
|-
 +
! 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|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>
 +
| {{{field|Resource|input type=combobox|existing values only|values from category=Bibliographic Record|mandatory}}}
 +
|-
 +
! 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=8|editor=wikieditor|}}}
 +
|-
 +
! 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|}}}
 +
<!--
 +
--><!-- 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}}}
 +
 
 +
{{{for template|Acceptance Record|label=Acceptance Record|multiple}}}
 +
{| class="formtable"
 +
!width="30%"|Accepted by Community: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">Indicate the community where this definition was accepted.</p>
 +
|width="70%"| {{{field|Community|input type=combobox|existing values only|values from category=Community|mandatory}}}
 +
|-
 +
! 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|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>
 +
| {{{field|Acceptance Indicators|input type=textarea|rows=8}}}
 +
|-
 +
! Still Accepted: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">Is the definition still accepted?</p>
 +
| {{{field|Still Accepted|input type=dropdown|mandatory|values=No,Yes|default=Yes|show on select=No=>stillaccepted}}}
 +
|}
 +
<div id="stillaccepted">
 +
{| 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="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>
 +
| {{{field|Rejection Indicators|input type=textarea|rows=8}}}
 
|}
 
|}
 +
</div>
 
{{{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.