Form:Timeline: Difference between revisions
From Indian River Lagoon Project
mNo edit summary |
mNo edit summary |
||
Line 2: | Line 2: | ||
This is the "Timeline" form. | This is the "Timeline" form. | ||
Enter the Event Date | 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 11: | Line 11: | ||
|query string=namespace=Hist | |query string=namespace=Hist | ||
|autocomplete on namespace=Hist | |autocomplete on namespace=Hist | ||
|placeholder=Enter | |placeholder=Enter Event Name_yyyy-mm-dd | ||
}} | }} | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
Line 24: | Line 24: | ||
<span class="irlformrowlabel">*Event Name</span> | <span class="irlformrowlabel">*Event Name</span> | ||
{{{field|Name|size=40|default={{# | {{{field|Name|size=40|default={{#explode:{{PAGENAME}}|_}}|restricted}}} | ||
<!-- {{#titleparts: {{PAGENAME}} | 1 | 2 }} --> | |||
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 35: | ||
<span class="irlformrowlabel">*Event Date</span> | <span class="irlformrowlabel">*Event Date</span> | ||
{{{field|Date|size=24|default={{# | {{{field|Date|size=24|default={{#explode:{{PAGENAME}}|_|-1}}| 1 | 1 }}|restricted}}} | ||
<!-- {{#titleparts: {{PAGENAME}} --> | |||
</div> | </div> | ||
<div class="irlformrow1"> | <div class="irlformrow1"> | ||
Line 70: | Line 71: | ||
<span class="irlformrowlabel">Image</span> | <span class="irlformrowlabel">Image</span> | ||
{{{field|Image|input type=text|uploadable|image preview|default filename= | {{{field|Image|input type=text|uploadable|image preview|default filename=Timeline_{{#replace:{{lc:{{SUBPAGENAME}} }}|<nowiki> </nowiki>|_}}.jpg|size=30|maxlength=256|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]) |
Revision as of 12:55, November 1, 2020
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.