Form:Timeline: Difference between revisions
From Indian River Lagoon Project
(Created page with "<noinclude> This is the "Timeline" form. To create add an event to the Timeline with this form, enter the Event Date and Name (format: yyyy-mm-dd/Event Name) below; if an even...") |
mNo edit summary |
||
(48 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
__NOINDEX__ | |||
<noinclude> | <noinclude> | ||
This is the "Timeline" form. | This is the "Timeline" form. | ||
Enter the Event Name and Date in this format: '''Event Name yyyy-mm-dd'''. | |||
If an event with that name already exists, you will be sent to a form to edit that event. | |||
{{#forminput:form=Timeline | |||
|size=30 | |||
|button text=Enter | |||
|query string=namespace=History | |||
|autocomplete on namespace=History | |||
|placeholder=Enter Event Name yyyy-mm-dd | |||
}} | |||
</noinclude><includeonly> | </noinclude><includeonly> | ||
<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|Timeline}}} | {{{for template|Timeline}}} | ||
<div class="irlbody irlformpage"> | |||
<div class="irlformheader"> | |||
<div class="irlformheadertitle">Historical Timeline Form</div> | |||
<div class="irlformheadertext">*Fields are required.</div> | |||
</div> | |||
<div class="irlformrow1"> | |||
<span class="irlformrowlabel">*Event Name</span> | |||
{{{field|Name|size=40|default={{#sub:{{PAGENAME}}|0|-10}}|restricted}}} | |||
Event Name is preset at the form start. Admin edit only. | |||
If this is a new timeline entry and you need to change the Event Name, return to the start of the form. | |||
If this is an existing entry and you need to change the name, create a new listing with the correct title and then delete the improperly titled listing. | |||
| | </div> | ||
<div class="irlformrow2"> | |||
<span class="irlformrowlabel">*Event Date</span> | |||
{{{field|Date|size=24|default={{#sub:{{PAGENAME}}|-10}}|restricted}}} | |||
</div> | |||
| | <div class="irlformrow1"> | ||
<span class="irlformrowlabel">Location</span> | |||
<span class="irlformrowlabel">*Region: </span>{{{field|Region|input type=dropdown|values={{Form Values Region}}|default= |mandatory}}} | |||
<span class="irlformrowlabel">Water: </span>{{{field|Water|input type=dropdown|values={{Form Values Water}}|default= }}} | |||
</div> | |||
<div class="irlformrow2"> | |||
<span class="irlformrowlabel">*Description</span> | |||
Enter a short description about the event. | |||
{{{field|Description|input type=textarea|rows=10|maxlength=512|editor=wikieditor|placeholder=Enter a short description|mandatory}}} | |||
This description is used in a timeline display, it is not intended to be a full text area. Consider creating a new article, in addition to this timeline entry, if you have more than 256 characters of text. | |||
</div> | |||
<div class="irlformrow1"> | |||
<span class="irlformrowlabel">Page: </span>{{{field|Article|input=text|size=38|maxlength=300|values from namespace=Main}}} | |||
Optional: Select a related Page Title from this site. | |||
</div> | |||
<div class="irlformrow2"> | |||
<span class="irlformrowlabel">Reference Source</span> | |||
Optional: Enter a reference source. | |||
<span class="irlformrowlabel">Name: </span>{{{field|Source|input type=text|size=21|maxlength=300|placeholder=Enter Reference Name}}} | |||
<span class="irlformrowlabel">URL: </span>{{{field|SourceURL|input type=text|size=23|maxlength=300|placeholder=Enter Full URL https://...}}} | |||
</div> | |||
<div class="irlformrow1"> | |||
<span class="irlformrowlabel">Image</span> | |||
{{{field|Image|input type=text with autocomplete|values from namespace=File|size=30|maxlength=300|uploadable|image preview|default filename=Timeline_{{#replace:{{lc:{{SUBPAGENAME}} }}|<nowiki> </nowiki>|_}}|placeholder=Enter file name or upload image}}} | |||
If the image already exists on the server, enter the file name. ([{{canonicalurl: Special:ListFiles}} view server images]) | |||
If the image is not on this server, upload an image from your device. | |||
</div> | |||
<div class="irlformrow2"> | |||
<span class="irlformrowlabel">Admin Only Fields</span> | |||
<span class="irlformrowlabel">Poster: </span>{{{field|Poster|size=20|maxlength=300|default=current user|restricted}}} | |||
<span class="irlformrowlabel">Posted: </span>{{{field|Posted|size=10|maxlength=16|default={{LOCALTIMESTAMP}}|restricted}}} | |||
</div> | |||
</div> | |||
{{{end template}}} | {{{end template}}} | ||
{{{standard input|summary}}} | '''Free Text Area''' | ||
--> | {{{standard input|free text|rows=10|editor=visualeditor|autogrow|restricted }}} | ||
<!-- {{{standard input|summary}}} --> | |||
{{{standard input|minor edit}}} {{{standard input|watch}}} | {{{standard input|minor edit}}} {{{standard input|watch}}} | ||
{{{standard input|save}}} {{{standard input|preview}}} {{{standard input|changes}}} {{{standard input|cancel}}} | {{{standard input|save}}} {{{standard input|preview}}} {{{standard input|changes}}} {{{standard input|cancel}}} | ||
</includeonly> | </includeonly> |
Latest revision as of 08:24, January 5, 2022
This is the "Timeline" form.
Enter the Event Name and Date in this format: Event Name yyyy-mm-dd.
If an event with that name already exists, you will be sent to a form to edit that event.