Form:Timeline: Difference between revisions
From Indian River Lagoon Project
mNo edit summary |
mNo edit summary |
||
Line 4: | Line 4: | ||
if an event with that name already exists, you will be sent to a form to edit that event. | if an event with that name already exists, you will be sent to a form to edit that event. | ||
{{#forminput:form=Timeline | |||
{{#forminput:form=Timeline|size= | |size=30 | ||
|button text=Enter | |||
|query string=namespace=Info | |||
|autocomplete on namespace=Info | |||
|placeholder=Enter yyyy-mm-dd/Event Name | |||
}} | |||
</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">Bridge Info Box Form</div> | |||
<div class="irlformheadertext">*Fields are required.</div> | |||
</div> | |||
<div class="irlformrow1"> | |||
<span class="irlformrowlabel">Event Name</span> | |||
{{{field|Name|size=40|default={{#titleparts: {{PAGENAME}} | 1 | 2 }}|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=30|default={{#titleparts: {{PAGENAME}} | 1 | 1 }}|restricted}}} | |||
</div> | |||
<div class="irlformrow1"> | |||
<span class="irlformrowlabel">Region</span> | |||
{{{field|Region|input type=dropdown|values=Banana River,Indian River,Mosquito Lagoon,St. Lucie River,Estuary,Other|default=|mandatory}}} | |||
</div> | |||
<div class="irlformrow2"> | |||
<span class="irlformrowlabel">Description</span> | |||
{{{field|Description|input type=textarea|rows=10|maxlength=256|autogrow|placeholder=Enter a short description|mandatory}}} | |||
Enter a short description (max 256 chrs) about the event. | |||
This description is used in a timeline display, it is not a full body 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">Source Name</span> | |||
{{{field|Source|input type=text|size=50|maxlength=256|placeholder=Enter Source Name|mandatory}}} | |||
<span class="irlformrowlabel">Source URL</span> | |||
Enter the source site's full URL <nowiki>(ex: https://example.com)</nowiki>. | |||
{{{field|Source URL|input type=text|size=50|maxlength=256|placeholder=Enter Full URL https://...}}} | |||
</div> | |||
<div class="irlformrow2"> | |||
<span class="irlformrowlabel">Poster: </span>{{{field|Poster|size=12|default=current user|restricted}}} | |||
<span class="irlformrowlabel">Post Date: </span>{{{field|Postdate|size=12|default={{LOCALTIMESTAMP}}|restricted}}} | |||
</div> | |||
</div> | |||
{{{end template}}} | |||
<!-- | |||
'''Free Text Area''' | |||
{{{standard input|free text|rows=10}}} | |||
--> | |||
<!-- {{{standard input|summary}}} --> | |||
{{{standard input|minor edit}}} {{{standard input|watch}}} | |||
{{{standard input|save}}} {{{standard input|preview}}} {{{standard input|changes}}} {{{standard input|cancel}}} | |||
</includeonly> | |||
<!-- | |||
{| class="formtable" | {| class="formtable" | ||
! Event Name: | ! Event Name: | ||
Line 35: | Line 103: | ||
| {{{field|Postdate|size=14|default={{LOCALTIMESTAMP}}|restricted }}} | | {{{field|Postdate|size=14|default={{LOCALTIMESTAMP}}|restricted }}} | ||
|} | |} | ||
--> | --> | ||
Revision as of 16:55, October 23, 2020
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 event with that name already exists, you will be sent to a form to edit that event.