Form:Web Link: Difference between revisions

From Indian River Lagoon Project
mNo edit summary
mNo edit summary
 
(45 intermediate revisions by the same user not shown)
Line 1: Line 1:
__NOINDEX__
<noinclude>
<noinclude>
This is the "Web Link Directory" submit form.
This is the "Web Link" entry form.


If you have arrived at an edit page, then the Link Name you entered is already in the directory.  
Enter the name of your web link and press enter. If an edit form opens, then the Link Name you entered is already in the directory. You can edit the existing link or press your browser's back button and enter a new Web Link Name.
 
You can edit the existing link information or Press your browser's back button and enter a New Link Name.
 
{{#forminput:form=Web Link}}


{{#forminput:form=Web Link
|size=30
|button text=Enter
|query string=namespace=Link
|autocomplete on namespace=Link
|placeholder=Enter a Web Link 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|Web Link}}}
{{{for template|Web Link}}}
{| class="wikitable"
<div class="irlbody">
! Name:
<div class="irlformpage">
| {{{field|Name|size=36|default={{SUBPAGENAME}}|restricted}}}
<div class="irlformheader">
|-
<div class="irlformheadertitle">Indian River Lagoon Web Link Form</div>
! *Link Url:
<div class="irlformheadertext">&#42;Fields are required.</div>
| {{{field|Link Url|input=text|size=36|manatory}}}
</div>
|-
<div class="irlformrow1">
! Description:
<span class="irlformrowlabel">Web Link Name</span>
| {{{field|Description|input=textarea|rows=12|cols=44|placeholder:Enter a short description.}}}
 
|-
{{{field|Name|size=36|default={{SUBPAGENAME}}|restricted}}}
! Rate:  
 
| {{{field|Rate}}}
The Web Link Name is preset at the form start. Admin edit only.
|-
 
! Logo Image (.gif):  
If this a new link and you need to change the name, press your browser's back button to return to the start of the form. If this is an existing link and you need to change the name, create a new entry with the correct name and then delete the improperly named page.
| {{{field|Site Logo|input type=text|uploadable|image preview|default filename=link-logo-{{#replace:{{lc: {{SUBPAGENAME}} }}|<nowiki> </nowiki>|-}}.gif|size=36|placeholder=Upload a 160px max .gif image. Enter File Name.}}}
</div>
|-
<div class="irlformrow2">
! Screenshot Image (.jpg):
<span class="irlformrowlabel">*Link URL</span>
| {{{field|Screenshot|input type=text|uploadable|image preview|default filename=link-screenshot-{{#replace:{{lc: {{SUBPAGENAME}} }}|<nowiki> </nowiki>|-}}.jpg
 
|size=36|placeholder=Upload a 640px max .jpg image. Enter File Name.}}}
{{{field|Link Url|input=text|size=50|maxlength=256|placeholder=Enter full URL path ex: https://...|mandatory}}}
|-
 
! *Topic:
Enter the link's full URL (https://...)
|{{{field|Topic|input type=radiobutton|values={{#section:Template:Topic List|topic}} |show on select=Place=>place|mandatory}}}
</div>
<div id="place">
 
Coordinates: {{{field|Coordinates|input type=googlemaps}}}
<div class="irlformrow1">
<span class="irlformrowlabel">*Description</span>
 
{{{field|Description|input=textarea|rows=5|maxlength=640|placeholder=Enter a brief description of the web link.|mandatory}}}
</div>
 
<div class="irlformrow2">
<span class="irlformrowlabel">Text Body</span>
 
Optional: Enter a full text body for the link's page.
 
{{{field|Text_Body|input type=textarea|rows=14|editor=visualeditor|class=toolbarOnTop|placeholder=Enter additional page content here.}}}
</div>
 
<div class="irlformrow1">
<span class="irlformrowlabel">Region: </span>{{{field|Region|input type=dropdown|values={{Form Values Region}}}}}
<p>Select a region if applicable.</p>
</div>
 
<div class="irlformrow2">
<span class="irlformrowlabel">Logo Image</span>
 
{{{field|Site Logo|input type=text with autocomplete|values from namespace=File|size=36|maxlength=300|uploadable|image preview|default filename=Link_logo_{{#replace:{{lc: {{SUBPAGENAME}} }}|<nowiki> </nowiki>|_}}.jpg|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 a .jpg image from your device.
</div>
</div>
|-
<div class="irlformrow1">
! *Sub Topics:
<span class="irlformrowlabel">Screenshot Image</span>
| {{{field|Subtopic|input type=tree|width=240px|height=600px|top category=Directory|hideroot|mandatory}}}
 
|-
{{{field|Screenshot|input type=text with autocomplete|values from namespace=File|size=36|maxlength=300|uploadable|image preview|default filename=Link_screenshot_{{#replace:{{lc: {{SUBPAGENAME}} }}|<nowiki> </nowiki>|_}}.jpg|placeholder=Enter file name or upload image}}}
! Free Field
 
| {{{field|Extra|input type=text|size=40|restricted|}}}
If the image already exists on the server, enter the file name. ([{{canonicalurl: Special:ListFiles}} view server images])
|-
 
! Poster:  
If the image is not on this server, upload a .jpg image from your device.
| {{{field|Poster|size=15|default=current user|restricted}}}
</div>
|-
 
! Postdate:  
<div class="irlformrow2">
| {{{field|Postdate|size=15|default={{LOCALTIMESTAMP}}|restricted}}}
<span class="irlformrowlabel">*Link Type</span>
|}
 
{{{end template}}}
Select an object type for this entry.
{{{field|Type|input type=tree|width=320px|height=400px|top category=Resource_Directory_Type|hideroot|depth=2|mandatory}}}
</div>
 
<div class="irlformrow1">
<span class="irlformrowlabel">*Topic</span>
 
Select a main topic.
{{{field|Topic|input type=tree|width=320px|height=400px|top category=Form Values Topic|hideroot|depth=2|mandatory}}}
</div>
 
<div class="irlformrow2">
<span class="irlformrowlabel">Sub Topics</span>
 
Optional: Select a subtopic.
{{{field|Subtopic|input type=tree|width=320px|height=400px|top category=Form Values Topic|hideroot|depth=2}}}
</div>
 
<div class="irlformrow1">
<span class="irlformrowlabel">Location</span>
 
<p>Optional: Show a map if the web link is a place or location.</p>
 
Show a Map: {{{field|ShowMap|input type=radiobutton|values=Show Map|show on select=Show Map=>showmap}}}
<div id="showmap">
To set the coordinates: Zoom in and click on the location. The Address Location method isn't working.
{{{field|Coordinates|input type=googlemaps|starting bounds=26.70,-82.63;29.36,-78.55}}}
</div>
</div>
 
<div class="irlformrow2">
<span class="irlformrowlabel">Admin Only Fields</span>
 
<span class="irlformrowlabel">Poster: </span>{{{field|Poster|input type=text|size=15|default=current user|restricted}}}
 
<span class="irlformrowlabel">Posted: </span>{{{field|Posted|input type=text|size=15|default={{LOCALTIMESTAMP}}|restricted}}}


<span class="irlformrowlabel">Extra Field</span>


'''Free text:'''
{{{field|Extra|input type=textarea|rows=5|autogrow|placeholder=Admin Only.|restricted}}}
{{{standard input|free text|rows=10|restricted}}}


<span class="irlformrowlabel">Admin Field</span>


<!-- {{{standard input|summary}}} -->
{{{standard input|free text|rows=5|autogrow|placeholder=Admin Only|restricted}}}
</div>
</div></div>
{{{end template}}}


{{{standard input|minor edit}}} {{{standard input|watch}}}
{{{standard input|minor edit}}} {{{standard input|watch}}}

Latest revision as of 08:24, January 5, 2022


This is the "Web Link" entry form.

Enter the name of your web link and press enter. If an edit form opens, then the Link Name you entered is already in the directory. You can edit the existing link or press your browser's back button and enter a new Web Link Name.