Form:Timeline: Difference between revisions

From Indian River Lagoon Project
mNo edit summary
mNo edit summary
 
(24 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 Date and Name in this format: '''yyyy-mm-dd/Event Name'''.
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.
If an event with that name already exists, you will be sent to a form to edit that event.
Line 9: Line 10:
|size=30
|size=30
|button text=Enter
|button text=Enter
|query string=namespace=Hist
|query string=namespace=History
|autocomplete on namespace=Hist
|autocomplete on namespace=History
|placeholder=Enter yyyy-mm-dd/Event Name
|placeholder=Enter Event Name yyyy-mm-dd
}}
}}
</noinclude><includeonly>
</noinclude><includeonly>
Line 24: Line 25:
<span class="irlformrowlabel">*Event Name</span>
<span class="irlformrowlabel">*Event Name</span>


{{{field|Name|size=40|default={{#titleparts: {{PAGENAME}} | 1 | 2 }}|restricted}}}
{{{field|Name|size=40|default={{#sub:{{PAGENAME}}|0|-10}}|restricted}}}


Event Name is preset at the form start. Admin edit only.
Event Name is preset at the form start. Admin edit only.
Line 35: Line 36:
<span class="irlformrowlabel">*Event Date</span>
<span class="irlformrowlabel">*Event Date</span>


{{{field|Date|size=24|default={{#titleparts: {{PAGENAME}} | 1 | 1 }}|restricted}}}
{{{field|Date|size=24|default={{#sub:{{PAGENAME}}|-10}}|restricted}}}
</div>
</div>
<div class="irlformrow1">
<div class="irlformrow1">
Line 49: Line 50:
Enter a short description about the event.
Enter a short description about the event.


{{{field|Description|input type=textarea|rows=10|maxlength=512|autogrow|placeholder=Enter a short description|mandatory}}}
{{{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.
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>
<div class="irlformrow1">
<div class="irlformrow1">
<span class="irlformrowlabel">Page: </span>{{{field|Article|input=text|size=21|maxlength=256|placeholder=Enter a Related Page}}}
<span class="irlformrowlabel">Page: </span>{{{field|Article|input=text|size=38|maxlength=300|values from namespace=Main}}}


Optional: Enter a related page title from this site.
Optional: Select a related Page Title from this site.
</div>
</div>
<div class="irlformrow2">
<div class="irlformrow2">
Line 63: Line 64:
Optional: Enter a reference source.
Optional: Enter a reference source.


<span class="irlformrowlabel">Name: </span>{{{field|Source|input type=text|size=21|maxlength=256|placeholder=Enter Reference Name}}}
<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=22|maxlength=256|placeholder=Enter Full URL https://...}}}
<span class="irlformrowlabel">URL: </span>{{{field|SourceURL|input type=text|size=23|maxlength=300|placeholder=Enter Full URL https://...}}}
</div>
</div>
<div class="irlformrow1">
<div class="irlformrow1">
<span class="irlformrowlabel">Image</span>
<span class="irlformrowlabel">Image</span>


{{{field|Image|input type=text|uploadable|image preview|default filename=Timeline-{{#replace:{{lc:{{SUBPAGENAME}} }}.jpg |<nowiki> </nowiki>|-}}|size=30|maxlength=256|placeholder=Enter file name or upload image}}}
{{{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 already exists on the server, enter the file name. ([{{canonicalurl: Special:ListFiles}} view server images])


If the image is not on this server, upload a '''.jpg''' image (maximum: 800px 500KB) from your device.
If the image is not on this server, upload an image from your device.
</div>
</div>
<div class="irlformrow2">
<div class="irlformrow2">
<span class="irlformrowlabel">Admin Only Fields</span>
<span class="irlformrowlabel">Admin Only Fields</span>


<span class="irlformrowlabel">Poster: </span>{{{field|Poster|size=17|default=current user|restricted}}}
<span class="irlformrowlabel">Poster: </span>{{{field|Poster|size=20|maxlength=300|default=current user|restricted}}}


<span class="irlformrowlabel">Posted: </span>{{{field|Posted|size=14|default={{LOCALTIMESTAMP}}|restricted}}}
<span class="irlformrowlabel">Posted: </span>{{{field|Posted|size=10|maxlength=16|default={{LOCALTIMESTAMP}}|restricted}}}
</div>
</div>
</div>
</div>
{{{end template}}}
{{{end template}}}
<!--
 
'''Free Text Area'''
'''Free Text Area'''
{{{standard input|free text|rows=10}}}
{{{standard input|free text|rows=10|editor=visualeditor|autogrow|restricted }}}
-->


<!-- {{{standard input|summary}}} -->
<!-- {{{standard input|summary}}} -->
Line 95: Line 95:
{{{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>
<!--
{| class="formtable"
! Event Name:
| {{{field|Name|size=40|default={{#titleparts: {{PAGENAME}} | 1 | 2 }}|restricted}}}
|-
! Event Date:
| {{{field|Date|size=40|default={{#titleparts: {{PAGENAME}} | 1 | 1 }}|restricted}}}
|-
! Region:
| {{{field|Region|input type=radiobutton|values=Banana River,Indian River,Mosquito Lagoon,Estuary|mandatory}}}
|-
! Description:
| {{{field|Description|input type=textarea|rows=10|cols=43|editor=tinymce|placeholder=Enter a short description|mandatory}}}
|-
! Source:
| {{{field|Source|input type=text|size=40|placeholder=Enter Source Name|mandatory}}}
|-
! Source URL:
| {{{field|Source URL|input type=text|size=40|placeholder=Enter Source URL}}}
|-
! Poster:
| {{{field|Poster|size=16|default=current user|restricted}}}
|-
! Postdate:
| {{{field|Postdate|size=14|default={{LOCALTIMESTAMP}}|restricted }}}
|}
-->

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.