Difference between revisions of "Form:Definition"

From Encyclopedia of Scientonomy
Jump to navigation Jump to search
Line 55: Line 55:
 
{{!}} {{{field|Editor Notes|input type=textarea|rows=3}}}<!--
 
{{!}} {{{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}}}
 
{{{end template}}}

Revision as of 21:12, 14 March 2018

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